amazonka-workmail 1.6.1 → 2.0
raw patch · 267 files changed
+27300/−7266 lines, 267 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.WorkMail: Deleted :: EntityState
- Network.AWS.WorkMail: Disabled :: EntityState
- Network.AWS.WorkMail: Enabled :: EntityState
- Network.AWS.WorkMail: Equipment :: ResourceType
- Network.AWS.WorkMail: FullAccess :: PermissionType
- Network.AWS.WorkMail: Group :: MemberType
- Network.AWS.WorkMail: Room :: ResourceType
- Network.AWS.WorkMail: SendAs :: PermissionType
- Network.AWS.WorkMail: SendOnBehalf :: PermissionType
- Network.AWS.WorkMail: URResource :: UserRole
- Network.AWS.WorkMail: URSystemUser :: UserRole
- Network.AWS.WorkMail: URUser :: UserRole
- Network.AWS.WorkMail: User :: MemberType
- Network.AWS.WorkMail: _DirectoryServiceAuthenticationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _DirectoryUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _EmailAddressInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _EntityAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _EntityNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _EntityStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _InvalidConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _InvalidPasswordException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _MailDomainNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _MailDomainStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _NameAvailabilityException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _OrganizationNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _OrganizationStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _ReservedNameException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: _UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail: boAutoAcceptRequests :: Lens' BookingOptions (Maybe Bool)
- Network.AWS.WorkMail: boAutoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool)
- Network.AWS.WorkMail: boAutoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool)
- Network.AWS.WorkMail: bookingOptions :: BookingOptions
- Network.AWS.WorkMail: dId :: Lens' Delegate Text
- Network.AWS.WorkMail: dType :: Lens' Delegate MemberType
- Network.AWS.WorkMail: data BookingOptions
- Network.AWS.WorkMail: data Delegate
- Network.AWS.WorkMail: data EntityState
- Network.AWS.WorkMail: data Group
- Network.AWS.WorkMail: data Member
- Network.AWS.WorkMail: data MemberType
- Network.AWS.WorkMail: data OrganizationSummary
- Network.AWS.WorkMail: data Permission
- Network.AWS.WorkMail: data PermissionType
- Network.AWS.WorkMail: data Resource
- Network.AWS.WorkMail: data ResourceType
- Network.AWS.WorkMail: data User
- Network.AWS.WorkMail: data UserRole
- Network.AWS.WorkMail: delegate :: Text -> MemberType -> Delegate
- Network.AWS.WorkMail: gDisabledDate :: Lens' Group (Maybe UTCTime)
- Network.AWS.WorkMail: gEmail :: Lens' Group (Maybe Text)
- Network.AWS.WorkMail: gEnabledDate :: Lens' Group (Maybe UTCTime)
- Network.AWS.WorkMail: gId :: Lens' Group (Maybe Text)
- Network.AWS.WorkMail: gName :: Lens' Group (Maybe Text)
- Network.AWS.WorkMail: gState :: Lens' Group (Maybe EntityState)
- Network.AWS.WorkMail: group' :: Group
- Network.AWS.WorkMail: mDisabledDate :: Lens' Member (Maybe UTCTime)
- Network.AWS.WorkMail: mEnabledDate :: Lens' Member (Maybe UTCTime)
- Network.AWS.WorkMail: mId :: Lens' Member (Maybe Text)
- Network.AWS.WorkMail: mName :: Lens' Member (Maybe Text)
- Network.AWS.WorkMail: mState :: Lens' Member (Maybe EntityState)
- Network.AWS.WorkMail: mType :: Lens' Member (Maybe MemberType)
- Network.AWS.WorkMail: member :: Member
- Network.AWS.WorkMail: organizationSummary :: OrganizationSummary
- Network.AWS.WorkMail: osAlias :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail: osErrorMessage :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail: osOrganizationId :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail: osState :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail: pGranteeId :: Lens' Permission Text
- Network.AWS.WorkMail: pGranteeType :: Lens' Permission MemberType
- Network.AWS.WorkMail: pPermissionValues :: Lens' Permission [PermissionType]
- Network.AWS.WorkMail: permission :: Text -> MemberType -> Permission
- Network.AWS.WorkMail: rDisabledDate :: Lens' Resource (Maybe UTCTime)
- Network.AWS.WorkMail: rEmail :: Lens' Resource (Maybe Text)
- Network.AWS.WorkMail: rEnabledDate :: Lens' Resource (Maybe UTCTime)
- Network.AWS.WorkMail: rId :: Lens' Resource (Maybe Text)
- Network.AWS.WorkMail: rName :: Lens' Resource (Maybe Text)
- Network.AWS.WorkMail: rState :: Lens' Resource (Maybe EntityState)
- Network.AWS.WorkMail: rType :: Lens' Resource (Maybe ResourceType)
- Network.AWS.WorkMail: resource :: Resource
- Network.AWS.WorkMail: uDisabledDate :: Lens' User (Maybe UTCTime)
- Network.AWS.WorkMail: uDisplayName :: Lens' User (Maybe Text)
- Network.AWS.WorkMail: uEmail :: Lens' User (Maybe Text)
- Network.AWS.WorkMail: uEnabledDate :: Lens' User (Maybe UTCTime)
- Network.AWS.WorkMail: uId :: Lens' User (Maybe Text)
- Network.AWS.WorkMail: uName :: Lens' User (Maybe Text)
- Network.AWS.WorkMail: uState :: Lens' User (Maybe EntityState)
- Network.AWS.WorkMail: uUserRole :: Lens' User (Maybe UserRole)
- Network.AWS.WorkMail: user :: User
- Network.AWS.WorkMail: workMail :: Service
- Network.AWS.WorkMail.AssociateDelegateToResource: adtrEntityId :: Lens' AssociateDelegateToResource Text
- Network.AWS.WorkMail.AssociateDelegateToResource: adtrOrganizationId :: Lens' AssociateDelegateToResource Text
- Network.AWS.WorkMail.AssociateDelegateToResource: adtrResourceId :: Lens' AssociateDelegateToResource Text
- Network.AWS.WorkMail.AssociateDelegateToResource: adtrrsResponseStatus :: Lens' AssociateDelegateToResourceResponse Int
- Network.AWS.WorkMail.AssociateDelegateToResource: associateDelegateToResource :: Text -> Text -> Text -> AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: associateDelegateToResourceResponse :: Int -> AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: data AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: data AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Data.Data.Data Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Data.Data.Data Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Classes.Eq Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Classes.Eq Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Generics.Generic Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Generics.Generic Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Read.Read Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Read.Read Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Show.Show Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance GHC.Show.Show Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateDelegateToResource: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
- Network.AWS.WorkMail.AssociateMemberToGroup: amtgGroupId :: Lens' AssociateMemberToGroup Text
- Network.AWS.WorkMail.AssociateMemberToGroup: amtgMemberId :: Lens' AssociateMemberToGroup Text
- Network.AWS.WorkMail.AssociateMemberToGroup: amtgOrganizationId :: Lens' AssociateMemberToGroup Text
- Network.AWS.WorkMail.AssociateMemberToGroup: amtgrsResponseStatus :: Lens' AssociateMemberToGroupResponse Int
- Network.AWS.WorkMail.AssociateMemberToGroup: associateMemberToGroup :: Text -> Text -> Text -> AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: associateMemberToGroupResponse :: Int -> AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: data AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: data AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Data.Data.Data Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Data.Data.Data Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Read.Read Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Read.Read Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Show.Show Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance GHC.Show.Show Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.AssociateMemberToGroup: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
- Network.AWS.WorkMail.CreateAlias: caAlias :: Lens' CreateAlias Text
- Network.AWS.WorkMail.CreateAlias: caEntityId :: Lens' CreateAlias Text
- Network.AWS.WorkMail.CreateAlias: caOrganizationId :: Lens' CreateAlias Text
- Network.AWS.WorkMail.CreateAlias: carsResponseStatus :: Lens' CreateAliasResponse Int
- Network.AWS.WorkMail.CreateAlias: createAlias :: Text -> Text -> Text -> CreateAlias
- Network.AWS.WorkMail.CreateAlias: createAliasResponse :: Int -> CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: data CreateAlias
- Network.AWS.WorkMail.CreateAlias: data CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateAlias.CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance Data.Data.Data Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance Data.Data.Data Network.AWS.WorkMail.CreateAlias.CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateAlias.CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateAlias.CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: instance GHC.Read.Read Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance GHC.Read.Read Network.AWS.WorkMail.CreateAlias.CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: instance GHC.Show.Show Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance GHC.Show.Show Network.AWS.WorkMail.CreateAlias.CreateAliasResponse
- Network.AWS.WorkMail.CreateAlias: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateAlias: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.CreateAlias.CreateAlias
- Network.AWS.WorkMail.CreateGroup: cgName :: Lens' CreateGroup Text
- Network.AWS.WorkMail.CreateGroup: cgOrganizationId :: Lens' CreateGroup Text
- Network.AWS.WorkMail.CreateGroup: cgrsGroupId :: Lens' CreateGroupResponse (Maybe Text)
- Network.AWS.WorkMail.CreateGroup: cgrsResponseStatus :: Lens' CreateGroupResponse Int
- Network.AWS.WorkMail.CreateGroup: createGroup :: Text -> Text -> CreateGroup
- Network.AWS.WorkMail.CreateGroup: createGroupResponse :: Int -> CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: data CreateGroup
- Network.AWS.WorkMail.CreateGroup: data CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateGroup.CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance Data.Data.Data Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance Data.Data.Data Network.AWS.WorkMail.CreateGroup.CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateGroup.CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateGroup.CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: instance GHC.Read.Read Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance GHC.Read.Read Network.AWS.WorkMail.CreateGroup.CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: instance GHC.Show.Show Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance GHC.Show.Show Network.AWS.WorkMail.CreateGroup.CreateGroupResponse
- Network.AWS.WorkMail.CreateGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateGroup: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.CreateGroup.CreateGroup
- Network.AWS.WorkMail.CreateResource: crName :: Lens' CreateResource Text
- Network.AWS.WorkMail.CreateResource: crOrganizationId :: Lens' CreateResource Text
- Network.AWS.WorkMail.CreateResource: crType :: Lens' CreateResource ResourceType
- Network.AWS.WorkMail.CreateResource: createResource :: Text -> Text -> ResourceType -> CreateResource
- Network.AWS.WorkMail.CreateResource: createResourceResponse :: Int -> CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: crrsResourceId :: Lens' CreateResourceResponse (Maybe Text)
- Network.AWS.WorkMail.CreateResource: crrsResponseStatus :: Lens' CreateResourceResponse Int
- Network.AWS.WorkMail.CreateResource: data CreateResource
- Network.AWS.WorkMail.CreateResource: data CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateResource.CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance Data.Data.Data Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance Data.Data.Data Network.AWS.WorkMail.CreateResource.CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateResource.CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateResource.CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: instance GHC.Read.Read Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance GHC.Read.Read Network.AWS.WorkMail.CreateResource.CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: instance GHC.Show.Show Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance GHC.Show.Show Network.AWS.WorkMail.CreateResource.CreateResourceResponse
- Network.AWS.WorkMail.CreateResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateResource: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.CreateResource.CreateResource
- Network.AWS.WorkMail.CreateUser: createUser :: Text -> Text -> Text -> Text -> CreateUser
- Network.AWS.WorkMail.CreateUser: createUserResponse :: Int -> CreateUserResponse
- Network.AWS.WorkMail.CreateUser: cuDisplayName :: Lens' CreateUser Text
- Network.AWS.WorkMail.CreateUser: cuName :: Lens' CreateUser Text
- Network.AWS.WorkMail.CreateUser: cuOrganizationId :: Lens' CreateUser Text
- Network.AWS.WorkMail.CreateUser: cuPassword :: Lens' CreateUser Text
- Network.AWS.WorkMail.CreateUser: cursResponseStatus :: Lens' CreateUserResponse Int
- Network.AWS.WorkMail.CreateUser: cursUserId :: Lens' CreateUserResponse (Maybe Text)
- Network.AWS.WorkMail.CreateUser: data CreateUser
- Network.AWS.WorkMail.CreateUser: data CreateUserResponse
- Network.AWS.WorkMail.CreateUser: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance Control.DeepSeq.NFData Network.AWS.WorkMail.CreateUser.CreateUserResponse
- Network.AWS.WorkMail.CreateUser: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance Data.Data.Data Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance Data.Data.Data Network.AWS.WorkMail.CreateUser.CreateUserResponse
- Network.AWS.WorkMail.CreateUser: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance GHC.Classes.Eq Network.AWS.WorkMail.CreateUser.CreateUserResponse
- Network.AWS.WorkMail.CreateUser: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance GHC.Generics.Generic Network.AWS.WorkMail.CreateUser.CreateUserResponse
- Network.AWS.WorkMail.CreateUser: instance GHC.Read.Read Network.AWS.WorkMail.CreateUser.CreateUserResponse
- Network.AWS.WorkMail.CreateUser: instance GHC.Show.Show Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance GHC.Show.Show Network.AWS.WorkMail.CreateUser.CreateUserResponse
- Network.AWS.WorkMail.CreateUser: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.CreateUser: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.CreateUser.CreateUser
- Network.AWS.WorkMail.DeleteAlias: daAlias :: Lens' DeleteAlias Text
- Network.AWS.WorkMail.DeleteAlias: daEntityId :: Lens' DeleteAlias Text
- Network.AWS.WorkMail.DeleteAlias: daOrganizationId :: Lens' DeleteAlias Text
- Network.AWS.WorkMail.DeleteAlias: darsResponseStatus :: Lens' DeleteAliasResponse Int
- Network.AWS.WorkMail.DeleteAlias: data DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: data DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: deleteAlias :: Text -> Text -> Text -> DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: deleteAliasResponse :: Int -> DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteAlias.DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance Data.Data.Data Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance Data.Data.Data Network.AWS.WorkMail.DeleteAlias.DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteAlias.DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteAlias.DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Read.Read Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Read.Read Network.AWS.WorkMail.DeleteAlias.DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Show.Show Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance GHC.Show.Show Network.AWS.WorkMail.DeleteAlias.DeleteAliasResponse
- Network.AWS.WorkMail.DeleteAlias: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteAlias: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DeleteAlias.DeleteAlias
- Network.AWS.WorkMail.DeleteGroup: data DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: data DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: deleteGroup :: Text -> Text -> DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: deleteGroupResponse :: Int -> DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: dggGroupId :: Lens' DeleteGroup Text
- Network.AWS.WorkMail.DeleteGroup: dggOrganizationId :: Lens' DeleteGroup Text
- Network.AWS.WorkMail.DeleteGroup: dgrsResponseStatus :: Lens' DeleteGroupResponse Int
- Network.AWS.WorkMail.DeleteGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteGroup.DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance Data.Data.Data Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance Data.Data.Data Network.AWS.WorkMail.DeleteGroup.DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteGroup.DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteGroup.DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Read.Read Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Read.Read Network.AWS.WorkMail.DeleteGroup.DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Show.Show Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance GHC.Show.Show Network.AWS.WorkMail.DeleteGroup.DeleteGroupResponse
- Network.AWS.WorkMail.DeleteGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteGroup: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DeleteGroup.DeleteGroup
- Network.AWS.WorkMail.DeleteMailboxPermissions: data DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: data DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: deleteMailboxPermissions :: Text -> Text -> Text -> DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: deleteMailboxPermissionsResponse :: Int -> DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: dmpEntityId :: Lens' DeleteMailboxPermissions Text
- Network.AWS.WorkMail.DeleteMailboxPermissions: dmpGranteeId :: Lens' DeleteMailboxPermissions Text
- Network.AWS.WorkMail.DeleteMailboxPermissions: dmpOrganizationId :: Lens' DeleteMailboxPermissions Text
- Network.AWS.WorkMail.DeleteMailboxPermissions: dmprsResponseStatus :: Lens' DeleteMailboxPermissionsResponse Int
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Data.Data.Data Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Data.Data.Data Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Read.Read Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Read.Read Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Show.Show Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance GHC.Show.Show Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteMailboxPermissions: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
- Network.AWS.WorkMail.DeleteResource: dOrganizationId :: Lens' DeleteResource Text
- Network.AWS.WorkMail.DeleteResource: dResourceId :: Lens' DeleteResource Text
- Network.AWS.WorkMail.DeleteResource: data DeleteResource
- Network.AWS.WorkMail.DeleteResource: data DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: deleteResource :: Text -> Text -> DeleteResource
- Network.AWS.WorkMail.DeleteResource: deleteResourceResponse :: Int -> DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: drsResponseStatus :: Lens' DeleteResourceResponse Int
- Network.AWS.WorkMail.DeleteResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteResource.DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance Data.Data.Data Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance Data.Data.Data Network.AWS.WorkMail.DeleteResource.DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteResource.DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteResource.DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: instance GHC.Read.Read Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance GHC.Read.Read Network.AWS.WorkMail.DeleteResource.DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: instance GHC.Show.Show Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance GHC.Show.Show Network.AWS.WorkMail.DeleteResource.DeleteResourceResponse
- Network.AWS.WorkMail.DeleteResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteResource: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DeleteResource.DeleteResource
- Network.AWS.WorkMail.DeleteUser: data DeleteUser
- Network.AWS.WorkMail.DeleteUser: data DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: delOrganizationId :: Lens' DeleteUser Text
- Network.AWS.WorkMail.DeleteUser: delUserId :: Lens' DeleteUser Text
- Network.AWS.WorkMail.DeleteUser: deleteUser :: Text -> Text -> DeleteUser
- Network.AWS.WorkMail.DeleteUser: deleteUserResponse :: Int -> DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: delrsResponseStatus :: Lens' DeleteUserResponse Int
- Network.AWS.WorkMail.DeleteUser: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeleteUser.DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance Data.Data.Data Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance Data.Data.Data Network.AWS.WorkMail.DeleteUser.DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance GHC.Classes.Eq Network.AWS.WorkMail.DeleteUser.DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance GHC.Generics.Generic Network.AWS.WorkMail.DeleteUser.DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: instance GHC.Read.Read Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance GHC.Read.Read Network.AWS.WorkMail.DeleteUser.DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: instance GHC.Show.Show Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance GHC.Show.Show Network.AWS.WorkMail.DeleteUser.DeleteUserResponse
- Network.AWS.WorkMail.DeleteUser: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeleteUser: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DeleteUser.DeleteUser
- Network.AWS.WorkMail.DeregisterFromWorkMail: data DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: data DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: deregisterFromWorkMail :: Text -> Text -> DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: deregisterFromWorkMailResponse :: Int -> DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: dfwmEntityId :: Lens' DeregisterFromWorkMail Text
- Network.AWS.WorkMail.DeregisterFromWorkMail: dfwmOrganizationId :: Lens' DeregisterFromWorkMail Text
- Network.AWS.WorkMail.DeregisterFromWorkMail: dfwmrsResponseStatus :: Lens' DeregisterFromWorkMailResponse Int
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Data.Data.Data Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Data.Data.Data Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Classes.Eq Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Classes.Eq Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Generics.Generic Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Generics.Generic Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Read.Read Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Read.Read Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Show.Show Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance GHC.Show.Show Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DeregisterFromWorkMail: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
- Network.AWS.WorkMail.DescribeGroup: data DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: data DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: describeGroup :: Text -> Text -> DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: describeGroupResponse :: Int -> DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: desrsDisabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
- Network.AWS.WorkMail.DescribeGroup: desrsEmail :: Lens' DescribeGroupResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeGroup: desrsEnabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
- Network.AWS.WorkMail.DescribeGroup: desrsGroupId :: Lens' DescribeGroupResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeGroup: desrsName :: Lens' DescribeGroupResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeGroup: desrsResponseStatus :: Lens' DescribeGroupResponse Int
- Network.AWS.WorkMail.DescribeGroup: desrsState :: Lens' DescribeGroupResponse (Maybe EntityState)
- Network.AWS.WorkMail.DescribeGroup: dgGroupId :: Lens' DescribeGroup Text
- Network.AWS.WorkMail.DescribeGroup: dgOrganizationId :: Lens' DescribeGroup Text
- Network.AWS.WorkMail.DescribeGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeGroup.DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance Data.Data.Data Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance Data.Data.Data Network.AWS.WorkMail.DescribeGroup.DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeGroup.DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeGroup.DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Read.Read Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Read.Read Network.AWS.WorkMail.DescribeGroup.DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Show.Show Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance GHC.Show.Show Network.AWS.WorkMail.DescribeGroup.DescribeGroupResponse
- Network.AWS.WorkMail.DescribeGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeGroup: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DescribeGroup.DescribeGroup
- Network.AWS.WorkMail.DescribeOrganization: data DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: data DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: describeOrganization :: Text -> DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: describeOrganizationResponse :: Int -> DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: doOrganizationId :: Lens' DescribeOrganization Text
- Network.AWS.WorkMail.DescribeOrganization: dorsAlias :: Lens' DescribeOrganizationResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeOrganization: dorsCompletedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime)
- Network.AWS.WorkMail.DescribeOrganization: dorsDefaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeOrganization: dorsDirectoryId :: Lens' DescribeOrganizationResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeOrganization: dorsDirectoryType :: Lens' DescribeOrganizationResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeOrganization: dorsErrorMessage :: Lens' DescribeOrganizationResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeOrganization: dorsOrganizationId :: Lens' DescribeOrganizationResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeOrganization: dorsResponseStatus :: Lens' DescribeOrganizationResponse Int
- Network.AWS.WorkMail.DescribeOrganization: dorsState :: Lens' DescribeOrganizationResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeOrganization: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance Data.Data.Data Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance Data.Data.Data Network.AWS.WorkMail.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Read.Read Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Read.Read Network.AWS.WorkMail.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Show.Show Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance GHC.Show.Show Network.AWS.WorkMail.DescribeOrganization.DescribeOrganizationResponse
- Network.AWS.WorkMail.DescribeOrganization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeOrganization: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DescribeOrganization.DescribeOrganization
- Network.AWS.WorkMail.DescribeResource: data DescribeResource
- Network.AWS.WorkMail.DescribeResource: data DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: describeResource :: Text -> Text -> DescribeResource
- Network.AWS.WorkMail.DescribeResource: describeResourceResponse :: Int -> DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: drOrganizationId :: Lens' DescribeResource Text
- Network.AWS.WorkMail.DescribeResource: drResourceId :: Lens' DescribeResource Text
- Network.AWS.WorkMail.DescribeResource: drrsBookingOptions :: Lens' DescribeResourceResponse (Maybe BookingOptions)
- Network.AWS.WorkMail.DescribeResource: drrsDisabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)
- Network.AWS.WorkMail.DescribeResource: drrsEmail :: Lens' DescribeResourceResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeResource: drrsEnabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)
- Network.AWS.WorkMail.DescribeResource: drrsName :: Lens' DescribeResourceResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeResource: drrsResourceId :: Lens' DescribeResourceResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeResource: drrsResponseStatus :: Lens' DescribeResourceResponse Int
- Network.AWS.WorkMail.DescribeResource: drrsState :: Lens' DescribeResourceResponse (Maybe EntityState)
- Network.AWS.WorkMail.DescribeResource: drrsType :: Lens' DescribeResourceResponse (Maybe ResourceType)
- Network.AWS.WorkMail.DescribeResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeResource.DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance Data.Data.Data Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance Data.Data.Data Network.AWS.WorkMail.DescribeResource.DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeResource.DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeResource.DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: instance GHC.Read.Read Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance GHC.Read.Read Network.AWS.WorkMail.DescribeResource.DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: instance GHC.Show.Show Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance GHC.Show.Show Network.AWS.WorkMail.DescribeResource.DescribeResourceResponse
- Network.AWS.WorkMail.DescribeResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeResource: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DescribeResource.DescribeResource
- Network.AWS.WorkMail.DescribeUser: data DescribeUser
- Network.AWS.WorkMail.DescribeUser: data DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: describeUser :: Text -> Text -> DescribeUser
- Network.AWS.WorkMail.DescribeUser: describeUserResponse :: Int -> DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: duOrganizationId :: Lens' DescribeUser Text
- Network.AWS.WorkMail.DescribeUser: duUserId :: Lens' DescribeUser Text
- Network.AWS.WorkMail.DescribeUser: dursDisabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)
- Network.AWS.WorkMail.DescribeUser: dursDisplayName :: Lens' DescribeUserResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeUser: dursEmail :: Lens' DescribeUserResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeUser: dursEnabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)
- Network.AWS.WorkMail.DescribeUser: dursName :: Lens' DescribeUserResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeUser: dursResponseStatus :: Lens' DescribeUserResponse Int
- Network.AWS.WorkMail.DescribeUser: dursState :: Lens' DescribeUserResponse (Maybe EntityState)
- Network.AWS.WorkMail.DescribeUser: dursUserId :: Lens' DescribeUserResponse (Maybe Text)
- Network.AWS.WorkMail.DescribeUser: dursUserRole :: Lens' DescribeUserResponse (Maybe UserRole)
- Network.AWS.WorkMail.DescribeUser: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DescribeUser.DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance Data.Data.Data Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance Data.Data.Data Network.AWS.WorkMail.DescribeUser.DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance GHC.Classes.Eq Network.AWS.WorkMail.DescribeUser.DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance GHC.Generics.Generic Network.AWS.WorkMail.DescribeUser.DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: instance GHC.Read.Read Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance GHC.Read.Read Network.AWS.WorkMail.DescribeUser.DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: instance GHC.Show.Show Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance GHC.Show.Show Network.AWS.WorkMail.DescribeUser.DescribeUserResponse
- Network.AWS.WorkMail.DescribeUser: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DescribeUser: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DescribeUser.DescribeUser
- Network.AWS.WorkMail.DisassociateDelegateFromResource: data DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: data DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: ddfrEntityId :: Lens' DisassociateDelegateFromResource Text
- Network.AWS.WorkMail.DisassociateDelegateFromResource: ddfrOrganizationId :: Lens' DisassociateDelegateFromResource Text
- Network.AWS.WorkMail.DisassociateDelegateFromResource: ddfrResourceId :: Lens' DisassociateDelegateFromResource Text
- Network.AWS.WorkMail.DisassociateDelegateFromResource: ddfrrsResponseStatus :: Lens' DisassociateDelegateFromResourceResponse Int
- Network.AWS.WorkMail.DisassociateDelegateFromResource: disassociateDelegateFromResource :: Text -> Text -> Text -> DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: disassociateDelegateFromResourceResponse :: Int -> DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Data.Data.Data Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Data.Data.Data Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Classes.Eq Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Classes.Eq Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Generics.Generic Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Generics.Generic Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Read.Read Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Read.Read Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Show.Show Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance GHC.Show.Show Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateDelegateFromResource: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
- Network.AWS.WorkMail.DisassociateMemberFromGroup: data DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: data DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: disassociateMemberFromGroup :: Text -> Text -> Text -> DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: disassociateMemberFromGroupResponse :: Int -> DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: dmfgGroupId :: Lens' DisassociateMemberFromGroup Text
- Network.AWS.WorkMail.DisassociateMemberFromGroup: dmfgMemberId :: Lens' DisassociateMemberFromGroup Text
- Network.AWS.WorkMail.DisassociateMemberFromGroup: dmfgOrganizationId :: Lens' DisassociateMemberFromGroup Text
- Network.AWS.WorkMail.DisassociateMemberFromGroup: dmfgrsResponseStatus :: Lens' DisassociateMemberFromGroupResponse Int
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Control.DeepSeq.NFData Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Data.Data.Data Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Data.Data.Data Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Classes.Eq Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Generics.Generic Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Read.Read Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Read.Read Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Show.Show Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance GHC.Show.Show Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.DisassociateMemberFromGroup: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
- Network.AWS.WorkMail.ListAliases: data ListAliases
- Network.AWS.WorkMail.ListAliases: data ListAliasesResponse
- Network.AWS.WorkMail.ListAliases: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListAliases.ListAliasesResponse
- Network.AWS.WorkMail.ListAliases: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance Data.Data.Data Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance Data.Data.Data Network.AWS.WorkMail.ListAliases.ListAliasesResponse
- Network.AWS.WorkMail.ListAliases: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance GHC.Classes.Eq Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance GHC.Classes.Eq Network.AWS.WorkMail.ListAliases.ListAliasesResponse
- Network.AWS.WorkMail.ListAliases: instance GHC.Generics.Generic Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance GHC.Generics.Generic Network.AWS.WorkMail.ListAliases.ListAliasesResponse
- Network.AWS.WorkMail.ListAliases: instance GHC.Read.Read Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance GHC.Read.Read Network.AWS.WorkMail.ListAliases.ListAliasesResponse
- Network.AWS.WorkMail.ListAliases: instance GHC.Show.Show Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance GHC.Show.Show Network.AWS.WorkMail.ListAliases.ListAliasesResponse
- Network.AWS.WorkMail.ListAliases: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance Network.AWS.Pager.AWSPager Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListAliases.ListAliases
- Network.AWS.WorkMail.ListAliases: laEntityId :: Lens' ListAliases Text
- Network.AWS.WorkMail.ListAliases: laMaxResults :: Lens' ListAliases (Maybe Natural)
- Network.AWS.WorkMail.ListAliases: laNextToken :: Lens' ListAliases (Maybe Text)
- Network.AWS.WorkMail.ListAliases: laOrganizationId :: Lens' ListAliases Text
- Network.AWS.WorkMail.ListAliases: larsAliases :: Lens' ListAliasesResponse [Text]
- Network.AWS.WorkMail.ListAliases: larsNextToken :: Lens' ListAliasesResponse (Maybe Text)
- Network.AWS.WorkMail.ListAliases: larsResponseStatus :: Lens' ListAliasesResponse Int
- Network.AWS.WorkMail.ListAliases: listAliases :: Text -> Text -> ListAliases
- Network.AWS.WorkMail.ListAliases: listAliasesResponse :: Int -> ListAliasesResponse
- Network.AWS.WorkMail.ListGroupMembers: data ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: data ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroupMembers: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListGroupMembers.ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroupMembers: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance Data.Data.Data Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance Data.Data.Data Network.AWS.WorkMail.ListGroupMembers.ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroupMembers: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Classes.Eq Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Classes.Eq Network.AWS.WorkMail.ListGroupMembers.ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Generics.Generic Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Generics.Generic Network.AWS.WorkMail.ListGroupMembers.ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Read.Read Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Read.Read Network.AWS.WorkMail.ListGroupMembers.ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Show.Show Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance GHC.Show.Show Network.AWS.WorkMail.ListGroupMembers.ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroupMembers: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance Network.AWS.Pager.AWSPager Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListGroupMembers.ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: lgmGroupId :: Lens' ListGroupMembers Text
- Network.AWS.WorkMail.ListGroupMembers: lgmMaxResults :: Lens' ListGroupMembers (Maybe Natural)
- Network.AWS.WorkMail.ListGroupMembers: lgmNextToken :: Lens' ListGroupMembers (Maybe Text)
- Network.AWS.WorkMail.ListGroupMembers: lgmOrganizationId :: Lens' ListGroupMembers Text
- Network.AWS.WorkMail.ListGroupMembers: lgmrsMembers :: Lens' ListGroupMembersResponse [Member]
- Network.AWS.WorkMail.ListGroupMembers: lgmrsNextToken :: Lens' ListGroupMembersResponse (Maybe Text)
- Network.AWS.WorkMail.ListGroupMembers: lgmrsResponseStatus :: Lens' ListGroupMembersResponse Int
- Network.AWS.WorkMail.ListGroupMembers: listGroupMembers :: Text -> Text -> ListGroupMembers
- Network.AWS.WorkMail.ListGroupMembers: listGroupMembersResponse :: Int -> ListGroupMembersResponse
- Network.AWS.WorkMail.ListGroups: data ListGroups
- Network.AWS.WorkMail.ListGroups: data ListGroupsResponse
- Network.AWS.WorkMail.ListGroups: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListGroups.ListGroupsResponse
- Network.AWS.WorkMail.ListGroups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance Data.Data.Data Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance Data.Data.Data Network.AWS.WorkMail.ListGroups.ListGroupsResponse
- Network.AWS.WorkMail.ListGroups: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance GHC.Classes.Eq Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance GHC.Classes.Eq Network.AWS.WorkMail.ListGroups.ListGroupsResponse
- Network.AWS.WorkMail.ListGroups: instance GHC.Generics.Generic Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance GHC.Generics.Generic Network.AWS.WorkMail.ListGroups.ListGroupsResponse
- Network.AWS.WorkMail.ListGroups: instance GHC.Read.Read Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance GHC.Read.Read Network.AWS.WorkMail.ListGroups.ListGroupsResponse
- Network.AWS.WorkMail.ListGroups: instance GHC.Show.Show Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance GHC.Show.Show Network.AWS.WorkMail.ListGroups.ListGroupsResponse
- Network.AWS.WorkMail.ListGroups: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance Network.AWS.Pager.AWSPager Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListGroups.ListGroups
- Network.AWS.WorkMail.ListGroups: lgMaxResults :: Lens' ListGroups (Maybe Natural)
- Network.AWS.WorkMail.ListGroups: lgNextToken :: Lens' ListGroups (Maybe Text)
- Network.AWS.WorkMail.ListGroups: lgOrganizationId :: Lens' ListGroups Text
- Network.AWS.WorkMail.ListGroups: lgrsGroups :: Lens' ListGroupsResponse [Group]
- Network.AWS.WorkMail.ListGroups: lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text)
- Network.AWS.WorkMail.ListGroups: lgrsResponseStatus :: Lens' ListGroupsResponse Int
- Network.AWS.WorkMail.ListGroups: listGroups :: Text -> ListGroups
- Network.AWS.WorkMail.ListGroups: listGroupsResponse :: Int -> ListGroupsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: data ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: data ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance Data.Data.Data Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance Data.Data.Data Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Classes.Eq Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Classes.Eq Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Generics.Generic Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Generics.Generic Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Read.Read Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Read.Read Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Show.Show Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance GHC.Show.Show Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListMailboxPermissions.ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: listMailboxPermissions :: Text -> Text -> ListMailboxPermissions
- Network.AWS.WorkMail.ListMailboxPermissions: listMailboxPermissionsResponse :: Int -> ListMailboxPermissionsResponse
- Network.AWS.WorkMail.ListMailboxPermissions: lmpEntityId :: Lens' ListMailboxPermissions Text
- Network.AWS.WorkMail.ListMailboxPermissions: lmpMaxResults :: Lens' ListMailboxPermissions (Maybe Natural)
- Network.AWS.WorkMail.ListMailboxPermissions: lmpNextToken :: Lens' ListMailboxPermissions (Maybe Text)
- Network.AWS.WorkMail.ListMailboxPermissions: lmpOrganizationId :: Lens' ListMailboxPermissions Text
- Network.AWS.WorkMail.ListMailboxPermissions: lmprsNextToken :: Lens' ListMailboxPermissionsResponse (Maybe Text)
- Network.AWS.WorkMail.ListMailboxPermissions: lmprsPermissions :: Lens' ListMailboxPermissionsResponse [Permission]
- Network.AWS.WorkMail.ListMailboxPermissions: lmprsResponseStatus :: Lens' ListMailboxPermissionsResponse Int
- Network.AWS.WorkMail.ListOrganizations: data ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: data ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListOrganizations.ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance Data.Data.Data Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance Data.Data.Data Network.AWS.WorkMail.ListOrganizations.ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Classes.Eq Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Classes.Eq Network.AWS.WorkMail.ListOrganizations.ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Generics.Generic Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Generics.Generic Network.AWS.WorkMail.ListOrganizations.ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Read.Read Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Read.Read Network.AWS.WorkMail.ListOrganizations.ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Show.Show Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance GHC.Show.Show Network.AWS.WorkMail.ListOrganizations.ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance Network.AWS.Pager.AWSPager Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListOrganizations.ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: listOrganizations :: ListOrganizations
- Network.AWS.WorkMail.ListOrganizations: listOrganizationsResponse :: Int -> ListOrganizationsResponse
- Network.AWS.WorkMail.ListOrganizations: loMaxResults :: Lens' ListOrganizations (Maybe Natural)
- Network.AWS.WorkMail.ListOrganizations: loNextToken :: Lens' ListOrganizations (Maybe Text)
- Network.AWS.WorkMail.ListOrganizations: lorsNextToken :: Lens' ListOrganizationsResponse (Maybe Text)
- Network.AWS.WorkMail.ListOrganizations: lorsOrganizationSummaries :: Lens' ListOrganizationsResponse [OrganizationSummary]
- Network.AWS.WorkMail.ListOrganizations: lorsResponseStatus :: Lens' ListOrganizationsResponse Int
- Network.AWS.WorkMail.ListResourceDelegates: data ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: data ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance Data.Data.Data Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance Data.Data.Data Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Classes.Eq Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Classes.Eq Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Generics.Generic Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Generics.Generic Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Read.Read Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Read.Read Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Show.Show Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance GHC.Show.Show Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListResourceDelegates.ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: listResourceDelegates :: Text -> Text -> ListResourceDelegates
- Network.AWS.WorkMail.ListResourceDelegates: listResourceDelegatesResponse :: Int -> ListResourceDelegatesResponse
- Network.AWS.WorkMail.ListResourceDelegates: lrdMaxResults :: Lens' ListResourceDelegates (Maybe Natural)
- Network.AWS.WorkMail.ListResourceDelegates: lrdNextToken :: Lens' ListResourceDelegates (Maybe Text)
- Network.AWS.WorkMail.ListResourceDelegates: lrdOrganizationId :: Lens' ListResourceDelegates Text
- Network.AWS.WorkMail.ListResourceDelegates: lrdResourceId :: Lens' ListResourceDelegates Text
- Network.AWS.WorkMail.ListResourceDelegates: lrdrsDelegates :: Lens' ListResourceDelegatesResponse [Delegate]
- Network.AWS.WorkMail.ListResourceDelegates: lrdrsNextToken :: Lens' ListResourceDelegatesResponse (Maybe Text)
- Network.AWS.WorkMail.ListResourceDelegates: lrdrsResponseStatus :: Lens' ListResourceDelegatesResponse Int
- Network.AWS.WorkMail.ListResources: data ListResources
- Network.AWS.WorkMail.ListResources: data ListResourcesResponse
- Network.AWS.WorkMail.ListResources: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListResources.ListResourcesResponse
- Network.AWS.WorkMail.ListResources: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance Data.Data.Data Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance Data.Data.Data Network.AWS.WorkMail.ListResources.ListResourcesResponse
- Network.AWS.WorkMail.ListResources: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance GHC.Classes.Eq Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance GHC.Classes.Eq Network.AWS.WorkMail.ListResources.ListResourcesResponse
- Network.AWS.WorkMail.ListResources: instance GHC.Generics.Generic Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance GHC.Generics.Generic Network.AWS.WorkMail.ListResources.ListResourcesResponse
- Network.AWS.WorkMail.ListResources: instance GHC.Read.Read Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance GHC.Read.Read Network.AWS.WorkMail.ListResources.ListResourcesResponse
- Network.AWS.WorkMail.ListResources: instance GHC.Show.Show Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance GHC.Show.Show Network.AWS.WorkMail.ListResources.ListResourcesResponse
- Network.AWS.WorkMail.ListResources: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance Network.AWS.Pager.AWSPager Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListResources.ListResources
- Network.AWS.WorkMail.ListResources: listResources :: Text -> ListResources
- Network.AWS.WorkMail.ListResources: listResourcesResponse :: Int -> ListResourcesResponse
- Network.AWS.WorkMail.ListResources: lrMaxResults :: Lens' ListResources (Maybe Natural)
- Network.AWS.WorkMail.ListResources: lrNextToken :: Lens' ListResources (Maybe Text)
- Network.AWS.WorkMail.ListResources: lrOrganizationId :: Lens' ListResources Text
- Network.AWS.WorkMail.ListResources: lrrsNextToken :: Lens' ListResourcesResponse (Maybe Text)
- Network.AWS.WorkMail.ListResources: lrrsResources :: Lens' ListResourcesResponse [Resource]
- Network.AWS.WorkMail.ListResources: lrrsResponseStatus :: Lens' ListResourcesResponse Int
- Network.AWS.WorkMail.ListUsers: data ListUsers
- Network.AWS.WorkMail.ListUsers: data ListUsersResponse
- Network.AWS.WorkMail.ListUsers: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ListUsers.ListUsersResponse
- Network.AWS.WorkMail.ListUsers: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance Data.Data.Data Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance Data.Data.Data Network.AWS.WorkMail.ListUsers.ListUsersResponse
- Network.AWS.WorkMail.ListUsers: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance GHC.Classes.Eq Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance GHC.Classes.Eq Network.AWS.WorkMail.ListUsers.ListUsersResponse
- Network.AWS.WorkMail.ListUsers: instance GHC.Generics.Generic Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance GHC.Generics.Generic Network.AWS.WorkMail.ListUsers.ListUsersResponse
- Network.AWS.WorkMail.ListUsers: instance GHC.Read.Read Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance GHC.Read.Read Network.AWS.WorkMail.ListUsers.ListUsersResponse
- Network.AWS.WorkMail.ListUsers: instance GHC.Show.Show Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance GHC.Show.Show Network.AWS.WorkMail.ListUsers.ListUsersResponse
- Network.AWS.WorkMail.ListUsers: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance Network.AWS.Pager.AWSPager Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ListUsers.ListUsers
- Network.AWS.WorkMail.ListUsers: listUsers :: Text -> ListUsers
- Network.AWS.WorkMail.ListUsers: listUsersResponse :: Int -> ListUsersResponse
- Network.AWS.WorkMail.ListUsers: luMaxResults :: Lens' ListUsers (Maybe Natural)
- Network.AWS.WorkMail.ListUsers: luNextToken :: Lens' ListUsers (Maybe Text)
- Network.AWS.WorkMail.ListUsers: luOrganizationId :: Lens' ListUsers Text
- Network.AWS.WorkMail.ListUsers: lursNextToken :: Lens' ListUsersResponse (Maybe Text)
- Network.AWS.WorkMail.ListUsers: lursResponseStatus :: Lens' ListUsersResponse Int
- Network.AWS.WorkMail.ListUsers: lursUsers :: Lens' ListUsersResponse [User]
- Network.AWS.WorkMail.PutMailboxPermissions: data PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: data PutMailboxPermissionsResponse
- Network.AWS.WorkMail.PutMailboxPermissions: instance Control.DeepSeq.NFData Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance Control.DeepSeq.NFData Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
- Network.AWS.WorkMail.PutMailboxPermissions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance Data.Data.Data Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance Data.Data.Data Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
- Network.AWS.WorkMail.PutMailboxPermissions: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Classes.Eq Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Classes.Eq Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Generics.Generic Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Generics.Generic Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Read.Read Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Read.Read Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Show.Show Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance GHC.Show.Show Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
- Network.AWS.WorkMail.PutMailboxPermissions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.PutMailboxPermissions.PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: pmpEntityId :: Lens' PutMailboxPermissions Text
- Network.AWS.WorkMail.PutMailboxPermissions: pmpGranteeId :: Lens' PutMailboxPermissions Text
- Network.AWS.WorkMail.PutMailboxPermissions: pmpOrganizationId :: Lens' PutMailboxPermissions Text
- Network.AWS.WorkMail.PutMailboxPermissions: pmpPermissionValues :: Lens' PutMailboxPermissions [PermissionType]
- Network.AWS.WorkMail.PutMailboxPermissions: pmprsResponseStatus :: Lens' PutMailboxPermissionsResponse Int
- Network.AWS.WorkMail.PutMailboxPermissions: putMailboxPermissions :: Text -> Text -> Text -> PutMailboxPermissions
- Network.AWS.WorkMail.PutMailboxPermissions: putMailboxPermissionsResponse :: Int -> PutMailboxPermissionsResponse
- Network.AWS.WorkMail.RegisterToWorkMail: data RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: data RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: instance Control.DeepSeq.NFData Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance Control.DeepSeq.NFData Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance Data.Data.Data Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance Data.Data.Data Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Classes.Eq Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Classes.Eq Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Generics.Generic Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Generics.Generic Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Read.Read Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Read.Read Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Show.Show Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance GHC.Show.Show Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.RegisterToWorkMail.RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: registerToWorkMail :: Text -> Text -> Text -> RegisterToWorkMail
- Network.AWS.WorkMail.RegisterToWorkMail: registerToWorkMailResponse :: Int -> RegisterToWorkMailResponse
- Network.AWS.WorkMail.RegisterToWorkMail: rtwmEmail :: Lens' RegisterToWorkMail Text
- Network.AWS.WorkMail.RegisterToWorkMail: rtwmEntityId :: Lens' RegisterToWorkMail Text
- Network.AWS.WorkMail.RegisterToWorkMail: rtwmOrganizationId :: Lens' RegisterToWorkMail Text
- Network.AWS.WorkMail.RegisterToWorkMail: rtwmrsResponseStatus :: Lens' RegisterToWorkMailResponse Int
- Network.AWS.WorkMail.ResetPassword: data ResetPassword
- Network.AWS.WorkMail.ResetPassword: data ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance Control.DeepSeq.NFData Network.AWS.WorkMail.ResetPassword.ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance Data.Data.Data Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance Data.Data.Data Network.AWS.WorkMail.ResetPassword.ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance GHC.Classes.Eq Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance GHC.Classes.Eq Network.AWS.WorkMail.ResetPassword.ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: instance GHC.Generics.Generic Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance GHC.Generics.Generic Network.AWS.WorkMail.ResetPassword.ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: instance GHC.Read.Read Network.AWS.WorkMail.ResetPassword.ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: instance GHC.Show.Show Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance GHC.Show.Show Network.AWS.WorkMail.ResetPassword.ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.ResetPassword.ResetPassword
- Network.AWS.WorkMail.ResetPassword: resetPassword :: Text -> Text -> Text -> ResetPassword
- Network.AWS.WorkMail.ResetPassword: resetPasswordResponse :: Int -> ResetPasswordResponse
- Network.AWS.WorkMail.ResetPassword: rpOrganizationId :: Lens' ResetPassword Text
- Network.AWS.WorkMail.ResetPassword: rpPassword :: Lens' ResetPassword Text
- Network.AWS.WorkMail.ResetPassword: rpUserId :: Lens' ResetPassword Text
- Network.AWS.WorkMail.ResetPassword: rprsResponseStatus :: Lens' ResetPasswordResponse Int
- Network.AWS.WorkMail.Types: Deleted :: EntityState
- Network.AWS.WorkMail.Types: Disabled :: EntityState
- Network.AWS.WorkMail.Types: Enabled :: EntityState
- Network.AWS.WorkMail.Types: Equipment :: ResourceType
- Network.AWS.WorkMail.Types: FullAccess :: PermissionType
- Network.AWS.WorkMail.Types: Group :: MemberType
- Network.AWS.WorkMail.Types: Room :: ResourceType
- Network.AWS.WorkMail.Types: SendAs :: PermissionType
- Network.AWS.WorkMail.Types: SendOnBehalf :: PermissionType
- Network.AWS.WorkMail.Types: URResource :: UserRole
- Network.AWS.WorkMail.Types: URSystemUser :: UserRole
- Network.AWS.WorkMail.Types: URUser :: UserRole
- Network.AWS.WorkMail.Types: User :: MemberType
- Network.AWS.WorkMail.Types: _DirectoryServiceAuthenticationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _DirectoryUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _EmailAddressInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _EntityAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _EntityNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _EntityStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _InvalidConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _InvalidPasswordException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _MailDomainNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _MailDomainStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _NameAvailabilityException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _OrganizationNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _OrganizationStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _ReservedNameException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: _UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.WorkMail.Types: boAutoAcceptRequests :: Lens' BookingOptions (Maybe Bool)
- Network.AWS.WorkMail.Types: boAutoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool)
- Network.AWS.WorkMail.Types: boAutoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool)
- Network.AWS.WorkMail.Types: bookingOptions :: BookingOptions
- Network.AWS.WorkMail.Types: dId :: Lens' Delegate Text
- Network.AWS.WorkMail.Types: dType :: Lens' Delegate MemberType
- Network.AWS.WorkMail.Types: data BookingOptions
- Network.AWS.WorkMail.Types: data Delegate
- Network.AWS.WorkMail.Types: data EntityState
- Network.AWS.WorkMail.Types: data Group
- Network.AWS.WorkMail.Types: data Member
- Network.AWS.WorkMail.Types: data MemberType
- Network.AWS.WorkMail.Types: data OrganizationSummary
- Network.AWS.WorkMail.Types: data Permission
- Network.AWS.WorkMail.Types: data PermissionType
- Network.AWS.WorkMail.Types: data Resource
- Network.AWS.WorkMail.Types: data ResourceType
- Network.AWS.WorkMail.Types: data User
- Network.AWS.WorkMail.Types: data UserRole
- Network.AWS.WorkMail.Types: delegate :: Text -> MemberType -> Delegate
- Network.AWS.WorkMail.Types: gDisabledDate :: Lens' Group (Maybe UTCTime)
- Network.AWS.WorkMail.Types: gEmail :: Lens' Group (Maybe Text)
- Network.AWS.WorkMail.Types: gEnabledDate :: Lens' Group (Maybe UTCTime)
- Network.AWS.WorkMail.Types: gId :: Lens' Group (Maybe Text)
- Network.AWS.WorkMail.Types: gName :: Lens' Group (Maybe Text)
- Network.AWS.WorkMail.Types: gState :: Lens' Group (Maybe EntityState)
- Network.AWS.WorkMail.Types: group' :: Group
- Network.AWS.WorkMail.Types: mDisabledDate :: Lens' Member (Maybe UTCTime)
- Network.AWS.WorkMail.Types: mEnabledDate :: Lens' Member (Maybe UTCTime)
- Network.AWS.WorkMail.Types: mId :: Lens' Member (Maybe Text)
- Network.AWS.WorkMail.Types: mName :: Lens' Member (Maybe Text)
- Network.AWS.WorkMail.Types: mState :: Lens' Member (Maybe EntityState)
- Network.AWS.WorkMail.Types: mType :: Lens' Member (Maybe MemberType)
- Network.AWS.WorkMail.Types: member :: Member
- Network.AWS.WorkMail.Types: organizationSummary :: OrganizationSummary
- Network.AWS.WorkMail.Types: osAlias :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail.Types: osErrorMessage :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail.Types: osOrganizationId :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail.Types: osState :: Lens' OrganizationSummary (Maybe Text)
- Network.AWS.WorkMail.Types: pGranteeId :: Lens' Permission Text
- Network.AWS.WorkMail.Types: pGranteeType :: Lens' Permission MemberType
- Network.AWS.WorkMail.Types: pPermissionValues :: Lens' Permission [PermissionType]
- Network.AWS.WorkMail.Types: permission :: Text -> MemberType -> Permission
- Network.AWS.WorkMail.Types: rDisabledDate :: Lens' Resource (Maybe UTCTime)
- Network.AWS.WorkMail.Types: rEmail :: Lens' Resource (Maybe Text)
- Network.AWS.WorkMail.Types: rEnabledDate :: Lens' Resource (Maybe UTCTime)
- Network.AWS.WorkMail.Types: rId :: Lens' Resource (Maybe Text)
- Network.AWS.WorkMail.Types: rName :: Lens' Resource (Maybe Text)
- Network.AWS.WorkMail.Types: rState :: Lens' Resource (Maybe EntityState)
- Network.AWS.WorkMail.Types: rType :: Lens' Resource (Maybe ResourceType)
- Network.AWS.WorkMail.Types: resource :: Resource
- Network.AWS.WorkMail.Types: uDisabledDate :: Lens' User (Maybe UTCTime)
- Network.AWS.WorkMail.Types: uDisplayName :: Lens' User (Maybe Text)
- Network.AWS.WorkMail.Types: uEmail :: Lens' User (Maybe Text)
- Network.AWS.WorkMail.Types: uEnabledDate :: Lens' User (Maybe UTCTime)
- Network.AWS.WorkMail.Types: uId :: Lens' User (Maybe Text)
- Network.AWS.WorkMail.Types: uName :: Lens' User (Maybe Text)
- Network.AWS.WorkMail.Types: uState :: Lens' User (Maybe EntityState)
- Network.AWS.WorkMail.Types: uUserRole :: Lens' User (Maybe UserRole)
- Network.AWS.WorkMail.Types: user :: User
- Network.AWS.WorkMail.Types: workMail :: Service
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: data UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: data UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Control.DeepSeq.NFData Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Control.DeepSeq.NFData Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Data.Data.Data Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Data.Data.Data Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Classes.Eq Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Classes.Eq Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Generics.Generic Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Generics.Generic Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Read.Read Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Read.Read Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Show.Show Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Show.Show Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: updatePrimaryEmailAddress :: Text -> Text -> Text -> UpdatePrimaryEmailAddress
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: updatePrimaryEmailAddressResponse :: Int -> UpdatePrimaryEmailAddressResponse
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: upeaEmail :: Lens' UpdatePrimaryEmailAddress Text
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: upeaEntityId :: Lens' UpdatePrimaryEmailAddress Text
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: upeaOrganizationId :: Lens' UpdatePrimaryEmailAddress Text
- Network.AWS.WorkMail.UpdatePrimaryEmailAddress: upearsResponseStatus :: Lens' UpdatePrimaryEmailAddressResponse Int
- Network.AWS.WorkMail.UpdateResource: data UpdateResource
- Network.AWS.WorkMail.UpdateResource: data UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance Control.DeepSeq.NFData Network.AWS.WorkMail.UpdateResource.UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance Data.Data.Data Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance Data.Data.Data Network.AWS.WorkMail.UpdateResource.UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: instance Data.Hashable.Class.Hashable Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance GHC.Classes.Eq Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance GHC.Classes.Eq Network.AWS.WorkMail.UpdateResource.UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: instance GHC.Generics.Generic Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance GHC.Generics.Generic Network.AWS.WorkMail.UpdateResource.UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: instance GHC.Read.Read Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance GHC.Read.Read Network.AWS.WorkMail.UpdateResource.UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: instance GHC.Show.Show Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance GHC.Show.Show Network.AWS.WorkMail.UpdateResource.UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance Network.AWS.Data.Path.ToPath Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: instance Network.AWS.Types.AWSRequest Network.AWS.WorkMail.UpdateResource.UpdateResource
- Network.AWS.WorkMail.UpdateResource: updateResource :: Text -> Text -> UpdateResource
- Network.AWS.WorkMail.UpdateResource: updateResourceResponse :: Int -> UpdateResourceResponse
- Network.AWS.WorkMail.UpdateResource: urBookingOptions :: Lens' UpdateResource (Maybe BookingOptions)
- Network.AWS.WorkMail.UpdateResource: urName :: Lens' UpdateResource (Maybe Text)
- Network.AWS.WorkMail.UpdateResource: urOrganizationId :: Lens' UpdateResource Text
- Network.AWS.WorkMail.UpdateResource: urResourceId :: Lens' UpdateResource Text
- Network.AWS.WorkMail.UpdateResource: urrsResponseStatus :: Lens' UpdateResourceResponse Int
+ Amazonka.WorkMail: AccessControlRule' :: Maybe [Text] -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe AccessControlRuleEffect -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> AccessControlRule
+ Amazonka.WorkMail: AccessControlRuleEffect' :: Text -> AccessControlRuleEffect
+ Amazonka.WorkMail: AccessEffect' :: Text -> AccessEffect
+ Amazonka.WorkMail: AssociateDelegateToResource' :: Text -> Text -> Text -> AssociateDelegateToResource
+ Amazonka.WorkMail: AssociateDelegateToResourceResponse' :: Int -> AssociateDelegateToResourceResponse
+ Amazonka.WorkMail: AssociateMemberToGroup' :: Text -> Text -> Text -> AssociateMemberToGroup
+ Amazonka.WorkMail: AssociateMemberToGroupResponse' :: Int -> AssociateMemberToGroupResponse
+ Amazonka.WorkMail: AssumeImpersonationRole' :: Text -> Text -> AssumeImpersonationRole
+ Amazonka.WorkMail: AssumeImpersonationRoleResponse' :: Maybe Integer -> Maybe Text -> Int -> AssumeImpersonationRoleResponse
+ Amazonka.WorkMail: AvailabilityConfiguration' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe RedactedEwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Maybe AvailabilityProviderType -> AvailabilityConfiguration
+ Amazonka.WorkMail: AvailabilityProviderType' :: Text -> AvailabilityProviderType
+ Amazonka.WorkMail: BookingOptions' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> BookingOptions
+ Amazonka.WorkMail: CancelMailboxExportJob' :: Text -> Text -> Text -> CancelMailboxExportJob
+ Amazonka.WorkMail: CancelMailboxExportJobResponse' :: Int -> CancelMailboxExportJobResponse
+ Amazonka.WorkMail: CreateAlias' :: Text -> Text -> Text -> CreateAlias
+ Amazonka.WorkMail: CreateAliasResponse' :: Int -> CreateAliasResponse
+ Amazonka.WorkMail: CreateAvailabilityConfiguration' :: Maybe Text -> Maybe EwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Text -> Text -> CreateAvailabilityConfiguration
+ Amazonka.WorkMail: CreateAvailabilityConfigurationResponse' :: Int -> CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail: CreateGroup' :: Text -> Text -> CreateGroup
+ Amazonka.WorkMail: CreateGroupResponse' :: Maybe Text -> Int -> CreateGroupResponse
+ Amazonka.WorkMail: CreateImpersonationRole' :: Maybe Text -> Maybe Text -> Text -> Text -> ImpersonationRoleType -> [ImpersonationRule] -> CreateImpersonationRole
+ Amazonka.WorkMail: CreateImpersonationRoleResponse' :: Maybe Text -> Int -> CreateImpersonationRoleResponse
+ Amazonka.WorkMail: CreateMobileDeviceAccessRule' :: Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> Text -> MobileDeviceAccessRuleEffect -> CreateMobileDeviceAccessRule
+ Amazonka.WorkMail: CreateMobileDeviceAccessRuleResponse' :: Maybe Text -> Int -> CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: CreateOrganization' :: Maybe Text -> Maybe Text -> Maybe [Domain] -> Maybe Bool -> Maybe Text -> Text -> CreateOrganization
+ Amazonka.WorkMail: CreateOrganizationResponse' :: Maybe Text -> Int -> CreateOrganizationResponse
+ Amazonka.WorkMail: CreateResource' :: Text -> Text -> ResourceType -> CreateResource
+ Amazonka.WorkMail: CreateResourceResponse' :: Maybe Text -> Int -> CreateResourceResponse
+ Amazonka.WorkMail: CreateUser' :: Text -> Text -> Text -> Sensitive Text -> CreateUser
+ Amazonka.WorkMail: CreateUserResponse' :: Maybe Text -> Int -> CreateUserResponse
+ Amazonka.WorkMail: Delegate' :: Text -> MemberType -> Delegate
+ Amazonka.WorkMail: DeleteAccessControlRule' :: Text -> Text -> DeleteAccessControlRule
+ Amazonka.WorkMail: DeleteAccessControlRuleResponse' :: Int -> DeleteAccessControlRuleResponse
+ Amazonka.WorkMail: DeleteAlias' :: Text -> Text -> Text -> DeleteAlias
+ Amazonka.WorkMail: DeleteAliasResponse' :: Int -> DeleteAliasResponse
+ Amazonka.WorkMail: DeleteAvailabilityConfiguration' :: Text -> Text -> DeleteAvailabilityConfiguration
+ Amazonka.WorkMail: DeleteAvailabilityConfigurationResponse' :: Int -> DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail: DeleteEmailMonitoringConfiguration' :: Text -> DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail: DeleteEmailMonitoringConfigurationResponse' :: Int -> DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: DeleteGroup' :: Text -> Text -> DeleteGroup
+ Amazonka.WorkMail: DeleteGroupResponse' :: Int -> DeleteGroupResponse
+ Amazonka.WorkMail: DeleteImpersonationRole' :: Text -> Text -> DeleteImpersonationRole
+ Amazonka.WorkMail: DeleteImpersonationRoleResponse' :: Int -> DeleteImpersonationRoleResponse
+ Amazonka.WorkMail: DeleteMailboxPermissions' :: Text -> Text -> Text -> DeleteMailboxPermissions
+ Amazonka.WorkMail: DeleteMailboxPermissionsResponse' :: Int -> DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail: DeleteMobileDeviceAccessOverride' :: Text -> Text -> Text -> DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail: DeleteMobileDeviceAccessOverrideResponse' :: Int -> DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: DeleteMobileDeviceAccessRule' :: Text -> Text -> DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail: DeleteMobileDeviceAccessRuleResponse' :: Int -> DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: DeleteOrganization' :: Maybe Text -> Text -> Bool -> DeleteOrganization
+ Amazonka.WorkMail: DeleteOrganizationResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteOrganizationResponse
+ Amazonka.WorkMail: DeleteResource' :: Text -> Text -> DeleteResource
+ Amazonka.WorkMail: DeleteResourceResponse' :: Int -> DeleteResourceResponse
+ Amazonka.WorkMail: DeleteRetentionPolicy' :: Text -> Text -> DeleteRetentionPolicy
+ Amazonka.WorkMail: DeleteRetentionPolicyResponse' :: Int -> DeleteRetentionPolicyResponse
+ Amazonka.WorkMail: DeleteUser' :: Text -> Text -> DeleteUser
+ Amazonka.WorkMail: DeleteUserResponse' :: Int -> DeleteUserResponse
+ Amazonka.WorkMail: DeregisterFromWorkMail' :: Text -> Text -> DeregisterFromWorkMail
+ Amazonka.WorkMail: DeregisterFromWorkMailResponse' :: Int -> DeregisterFromWorkMailResponse
+ Amazonka.WorkMail: DeregisterMailDomain' :: Text -> Text -> DeregisterMailDomain
+ Amazonka.WorkMail: DeregisterMailDomainResponse' :: Int -> DeregisterMailDomainResponse
+ Amazonka.WorkMail: DescribeEmailMonitoringConfiguration' :: Text -> DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail: DescribeEmailMonitoringConfigurationResponse' :: Maybe Text -> Maybe Text -> Int -> DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: DescribeGroup' :: Text -> Text -> DescribeGroup
+ Amazonka.WorkMail: DescribeGroupResponse' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Int -> DescribeGroupResponse
+ Amazonka.WorkMail: DescribeInboundDmarcSettings' :: Text -> DescribeInboundDmarcSettings
+ Amazonka.WorkMail: DescribeInboundDmarcSettingsResponse' :: Maybe Bool -> Int -> DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail: DescribeMailboxExportJob' :: Text -> Text -> DescribeMailboxExportJob
+ Amazonka.WorkMail: DescribeMailboxExportJobResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe MailboxExportJobState -> Int -> DescribeMailboxExportJobResponse
+ Amazonka.WorkMail: DescribeOrganization' :: Text -> DescribeOrganization
+ Amazonka.WorkMail: DescribeOrganizationResponse' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeOrganizationResponse
+ Amazonka.WorkMail: DescribeResource' :: Text -> Text -> DescribeResource
+ Amazonka.WorkMail: DescribeResourceResponse' :: Maybe BookingOptions -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe ResourceType -> Int -> DescribeResourceResponse
+ Amazonka.WorkMail: DescribeUser' :: Text -> Text -> DescribeUser
+ Amazonka.WorkMail: DescribeUserResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe EntityState -> Maybe Text -> Maybe UserRole -> Int -> DescribeUserResponse
+ Amazonka.WorkMail: DisassociateDelegateFromResource' :: Text -> Text -> Text -> DisassociateDelegateFromResource
+ Amazonka.WorkMail: DisassociateDelegateFromResourceResponse' :: Int -> DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail: DisassociateMemberFromGroup' :: Text -> Text -> Text -> DisassociateMemberFromGroup
+ Amazonka.WorkMail: DisassociateMemberFromGroupResponse' :: Int -> DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail: DnsRecord' :: Maybe Text -> Maybe Text -> Maybe Text -> DnsRecord
+ Amazonka.WorkMail: DnsRecordVerificationStatus' :: Text -> DnsRecordVerificationStatus
+ Amazonka.WorkMail: Domain' :: Maybe Text -> Maybe Text -> Domain
+ Amazonka.WorkMail: EntityState' :: Text -> EntityState
+ Amazonka.WorkMail: EwsAvailabilityProvider' :: Text -> Text -> Sensitive Text -> EwsAvailabilityProvider
+ Amazonka.WorkMail: FolderConfiguration' :: Maybe Natural -> FolderName -> RetentionAction -> FolderConfiguration
+ Amazonka.WorkMail: FolderName' :: Text -> FolderName
+ Amazonka.WorkMail: GetAccessControlEffect' :: Maybe Text -> Maybe Text -> Text -> Text -> Text -> GetAccessControlEffect
+ Amazonka.WorkMail: GetAccessControlEffectResponse' :: Maybe AccessControlRuleEffect -> Maybe [Text] -> Int -> GetAccessControlEffectResponse
+ Amazonka.WorkMail: GetDefaultRetentionPolicy' :: Text -> GetDefaultRetentionPolicy
+ Amazonka.WorkMail: GetDefaultRetentionPolicyResponse' :: Maybe Text -> Maybe [FolderConfiguration] -> Maybe Text -> Maybe Text -> Int -> GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail: GetImpersonationRole' :: Text -> Text -> GetImpersonationRole
+ Amazonka.WorkMail: GetImpersonationRoleEffect' :: Text -> Text -> Text -> GetImpersonationRoleEffect
+ Amazonka.WorkMail: GetImpersonationRoleEffectResponse' :: Maybe AccessEffect -> Maybe [ImpersonationMatchedRule] -> Maybe ImpersonationRoleType -> Int -> GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail: GetImpersonationRoleResponse' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ImpersonationRule] -> Maybe ImpersonationRoleType -> Int -> GetImpersonationRoleResponse
+ Amazonka.WorkMail: GetMailDomain' :: Text -> Text -> GetMailDomain
+ Amazonka.WorkMail: GetMailDomainResponse' :: Maybe DnsRecordVerificationStatus -> Maybe Bool -> Maybe Bool -> Maybe DnsRecordVerificationStatus -> Maybe [DnsRecord] -> Int -> GetMailDomainResponse
+ Amazonka.WorkMail: GetMailboxDetails' :: Text -> Text -> GetMailboxDetails
+ Amazonka.WorkMail: GetMailboxDetailsResponse' :: Maybe Natural -> Maybe Double -> Int -> GetMailboxDetailsResponse
+ Amazonka.WorkMail: GetMobileDeviceAccessEffect' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> GetMobileDeviceAccessEffect
+ Amazonka.WorkMail: GetMobileDeviceAccessEffectResponse' :: Maybe MobileDeviceAccessRuleEffect -> Maybe [MobileDeviceAccessMatchedRule] -> Int -> GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail: GetMobileDeviceAccessOverride' :: Text -> Text -> Text -> GetMobileDeviceAccessOverride
+ Amazonka.WorkMail: GetMobileDeviceAccessOverrideResponse' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> Int -> GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: Group' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Group
+ Amazonka.WorkMail: ImpersonationMatchedRule' :: Maybe Text -> Maybe Text -> ImpersonationMatchedRule
+ Amazonka.WorkMail: ImpersonationRole' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe ImpersonationRoleType -> ImpersonationRole
+ Amazonka.WorkMail: ImpersonationRoleType' :: Text -> ImpersonationRoleType
+ Amazonka.WorkMail: ImpersonationRule' :: Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> AccessEffect -> ImpersonationRule
+ Amazonka.WorkMail: LambdaAvailabilityProvider' :: Text -> LambdaAvailabilityProvider
+ Amazonka.WorkMail: ListAccessControlRules' :: Text -> ListAccessControlRules
+ Amazonka.WorkMail: ListAccessControlRulesResponse' :: Maybe [AccessControlRule] -> Int -> ListAccessControlRulesResponse
+ Amazonka.WorkMail: ListAliases' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListAliases
+ Amazonka.WorkMail: ListAliasesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListAliasesResponse
+ Amazonka.WorkMail: ListAvailabilityConfigurations' :: Maybe Natural -> Maybe Text -> Text -> ListAvailabilityConfigurations
+ Amazonka.WorkMail: ListAvailabilityConfigurationsResponse' :: Maybe [AvailabilityConfiguration] -> Maybe Text -> Int -> ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail: ListGroupMembers' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListGroupMembers
+ Amazonka.WorkMail: ListGroupMembersResponse' :: Maybe [Member] -> Maybe Text -> Int -> ListGroupMembersResponse
+ Amazonka.WorkMail: ListGroups' :: Maybe Natural -> Maybe Text -> Text -> ListGroups
+ Amazonka.WorkMail: ListGroupsResponse' :: Maybe [Group] -> Maybe Text -> Int -> ListGroupsResponse
+ Amazonka.WorkMail: ListImpersonationRoles' :: Maybe Natural -> Maybe Text -> Text -> ListImpersonationRoles
+ Amazonka.WorkMail: ListImpersonationRolesResponse' :: Maybe Text -> Maybe [ImpersonationRole] -> Int -> ListImpersonationRolesResponse
+ Amazonka.WorkMail: ListMailDomains' :: Maybe Natural -> Maybe Text -> Text -> ListMailDomains
+ Amazonka.WorkMail: ListMailDomainsResponse' :: Maybe [MailDomainSummary] -> Maybe Text -> Int -> ListMailDomainsResponse
+ Amazonka.WorkMail: ListMailboxExportJobs' :: Maybe Natural -> Maybe Text -> Text -> ListMailboxExportJobs
+ Amazonka.WorkMail: ListMailboxExportJobsResponse' :: Maybe [MailboxExportJob] -> Maybe Text -> Int -> ListMailboxExportJobsResponse
+ Amazonka.WorkMail: ListMailboxPermissions' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListMailboxPermissions
+ Amazonka.WorkMail: ListMailboxPermissionsResponse' :: Maybe Text -> Maybe [Permission] -> Int -> ListMailboxPermissionsResponse
+ Amazonka.WorkMail: ListMobileDeviceAccessOverrides' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail: ListMobileDeviceAccessOverridesResponse' :: Maybe Text -> Maybe [MobileDeviceAccessOverride] -> Int -> ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail: ListMobileDeviceAccessRules' :: Text -> ListMobileDeviceAccessRules
+ Amazonka.WorkMail: ListMobileDeviceAccessRulesResponse' :: Maybe [MobileDeviceAccessRule] -> Int -> ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail: ListOrganizations' :: Maybe Natural -> Maybe Text -> ListOrganizations
+ Amazonka.WorkMail: ListOrganizationsResponse' :: Maybe Text -> Maybe [OrganizationSummary] -> Int -> ListOrganizationsResponse
+ Amazonka.WorkMail: ListResourceDelegates' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListResourceDelegates
+ Amazonka.WorkMail: ListResourceDelegatesResponse' :: Maybe [Delegate] -> Maybe Text -> Int -> ListResourceDelegatesResponse
+ Amazonka.WorkMail: ListResources' :: Maybe Natural -> Maybe Text -> Text -> ListResources
+ Amazonka.WorkMail: ListResourcesResponse' :: Maybe Text -> Maybe [Resource] -> Int -> ListResourcesResponse
+ Amazonka.WorkMail: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.WorkMail: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.WorkMail: ListUsers' :: Maybe Natural -> Maybe Text -> Text -> ListUsers
+ Amazonka.WorkMail: ListUsersResponse' :: Maybe Text -> Maybe [User] -> Int -> ListUsersResponse
+ Amazonka.WorkMail: MailDomainSummary' :: Maybe Bool -> Maybe Text -> MailDomainSummary
+ Amazonka.WorkMail: MailboxExportJob' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe MailboxExportJobState -> MailboxExportJob
+ Amazonka.WorkMail: MailboxExportJobState' :: Text -> MailboxExportJobState
+ Amazonka.WorkMail: Member' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe MemberType -> Member
+ Amazonka.WorkMail: MemberType' :: Text -> MemberType
+ Amazonka.WorkMail: MobileDeviceAccessMatchedRule' :: Maybe Text -> Maybe Text -> MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail: MobileDeviceAccessOverride' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> MobileDeviceAccessOverride
+ Amazonka.WorkMail: MobileDeviceAccessRule' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> MobileDeviceAccessRule
+ Amazonka.WorkMail: MobileDeviceAccessRuleEffect' :: Text -> MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail: OrganizationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationSummary
+ Amazonka.WorkMail: Permission' :: Text -> MemberType -> [PermissionType] -> Permission
+ Amazonka.WorkMail: PermissionType' :: Text -> PermissionType
+ Amazonka.WorkMail: PutAccessControlRule' :: Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Text -> AccessControlRuleEffect -> Text -> Text -> PutAccessControlRule
+ Amazonka.WorkMail: PutAccessControlRuleResponse' :: Int -> PutAccessControlRuleResponse
+ Amazonka.WorkMail: PutEmailMonitoringConfiguration' :: Text -> Text -> Text -> PutEmailMonitoringConfiguration
+ Amazonka.WorkMail: PutEmailMonitoringConfigurationResponse' :: Int -> PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: PutInboundDmarcSettings' :: Text -> Bool -> PutInboundDmarcSettings
+ Amazonka.WorkMail: PutInboundDmarcSettingsResponse' :: Int -> PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail: PutMailboxPermissions' :: Text -> Text -> Text -> [PermissionType] -> PutMailboxPermissions
+ Amazonka.WorkMail: PutMailboxPermissionsResponse' :: Int -> PutMailboxPermissionsResponse
+ Amazonka.WorkMail: PutMobileDeviceAccessOverride' :: Maybe Text -> Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> PutMobileDeviceAccessOverride
+ Amazonka.WorkMail: PutMobileDeviceAccessOverrideResponse' :: Int -> PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: PutRetentionPolicy' :: Maybe (Sensitive Text) -> Maybe Text -> Text -> Text -> [FolderConfiguration] -> PutRetentionPolicy
+ Amazonka.WorkMail: PutRetentionPolicyResponse' :: Int -> PutRetentionPolicyResponse
+ Amazonka.WorkMail: RedactedEwsAvailabilityProvider' :: Maybe Text -> Maybe Text -> RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail: RegisterMailDomain' :: Maybe Text -> Text -> Text -> RegisterMailDomain
+ Amazonka.WorkMail: RegisterMailDomainResponse' :: Int -> RegisterMailDomainResponse
+ Amazonka.WorkMail: RegisterToWorkMail' :: Text -> Text -> Text -> RegisterToWorkMail
+ Amazonka.WorkMail: RegisterToWorkMailResponse' :: Int -> RegisterToWorkMailResponse
+ Amazonka.WorkMail: ResetPassword' :: Text -> Text -> Sensitive Text -> ResetPassword
+ Amazonka.WorkMail: ResetPasswordResponse' :: Int -> ResetPasswordResponse
+ Amazonka.WorkMail: Resource' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe ResourceType -> Resource
+ Amazonka.WorkMail: ResourceType' :: Text -> ResourceType
+ Amazonka.WorkMail: RetentionAction' :: Text -> RetentionAction
+ Amazonka.WorkMail: StartMailboxExportJob' :: Maybe Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> StartMailboxExportJob
+ Amazonka.WorkMail: StartMailboxExportJobResponse' :: Maybe Text -> Int -> StartMailboxExportJobResponse
+ Amazonka.WorkMail: Tag' :: Text -> Text -> Tag
+ Amazonka.WorkMail: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.WorkMail: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.WorkMail: TestAvailabilityConfiguration' :: Maybe Text -> Maybe EwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Text -> TestAvailabilityConfiguration
+ Amazonka.WorkMail: TestAvailabilityConfigurationResponse' :: Maybe Text -> Maybe Bool -> Int -> TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.WorkMail: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.WorkMail: UpdateAvailabilityConfiguration' :: Maybe EwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Text -> Text -> UpdateAvailabilityConfiguration
+ Amazonka.WorkMail: UpdateAvailabilityConfigurationResponse' :: Int -> UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail: UpdateDefaultMailDomain' :: Text -> Text -> UpdateDefaultMailDomain
+ Amazonka.WorkMail: UpdateDefaultMailDomainResponse' :: Int -> UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail: UpdateImpersonationRole' :: Maybe Text -> Text -> Text -> Text -> ImpersonationRoleType -> [ImpersonationRule] -> UpdateImpersonationRole
+ Amazonka.WorkMail: UpdateImpersonationRoleResponse' :: Int -> UpdateImpersonationRoleResponse
+ Amazonka.WorkMail: UpdateMailboxQuota' :: Text -> Text -> Natural -> UpdateMailboxQuota
+ Amazonka.WorkMail: UpdateMailboxQuotaResponse' :: Int -> UpdateMailboxQuotaResponse
+ Amazonka.WorkMail: UpdateMobileDeviceAccessRule' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail: UpdateMobileDeviceAccessRuleResponse' :: Int -> UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: UpdatePrimaryEmailAddress' :: Text -> Text -> Text -> UpdatePrimaryEmailAddress
+ Amazonka.WorkMail: UpdatePrimaryEmailAddressResponse' :: Int -> UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail: UpdateResource' :: Maybe BookingOptions -> Maybe Text -> Text -> Text -> UpdateResource
+ Amazonka.WorkMail: UpdateResourceResponse' :: Int -> UpdateResourceResponse
+ Amazonka.WorkMail: User' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe UserRole -> User
+ Amazonka.WorkMail: UserRole' :: Text -> UserRole
+ Amazonka.WorkMail: [fromAccessControlRuleEffect] :: AccessControlRuleEffect -> Text
+ Amazonka.WorkMail: [fromAccessEffect] :: AccessEffect -> Text
+ Amazonka.WorkMail: [fromAvailabilityProviderType] :: AvailabilityProviderType -> Text
+ Amazonka.WorkMail: [fromDnsRecordVerificationStatus] :: DnsRecordVerificationStatus -> Text
+ Amazonka.WorkMail: [fromEntityState] :: EntityState -> Text
+ Amazonka.WorkMail: [fromFolderName] :: FolderName -> Text
+ Amazonka.WorkMail: [fromImpersonationRoleType] :: ImpersonationRoleType -> Text
+ Amazonka.WorkMail: [fromMailboxExportJobState] :: MailboxExportJobState -> Text
+ Amazonka.WorkMail: [fromMemberType] :: MemberType -> Text
+ Amazonka.WorkMail: [fromMobileDeviceAccessRuleEffect] :: MobileDeviceAccessRuleEffect -> Text
+ Amazonka.WorkMail: [fromPermissionType] :: PermissionType -> Text
+ Amazonka.WorkMail: [fromResourceType] :: ResourceType -> Text
+ Amazonka.WorkMail: [fromRetentionAction] :: RetentionAction -> Text
+ Amazonka.WorkMail: [fromUserRole] :: UserRole -> Text
+ Amazonka.WorkMail: _DirectoryInUseException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _DirectoryServiceAuthenticationFailedException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _DirectoryUnavailableException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _EmailAddressInUseException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _EntityAlreadyRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _EntityNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _EntityStateException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _InvalidConfigurationException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _InvalidCustomSesConfigurationException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _InvalidParameterException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _InvalidPasswordException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _MailDomainInUseException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _MailDomainNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _MailDomainStateException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _NameAvailabilityException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _OrganizationNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _OrganizationStateException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _ReservedNameException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _TooManyTagsException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: _UnsupportedOperationException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail: data AccessControlRule
+ Amazonka.WorkMail: data AssociateDelegateToResource
+ Amazonka.WorkMail: data AssociateDelegateToResourceResponse
+ Amazonka.WorkMail: data AssociateMemberToGroup
+ Amazonka.WorkMail: data AssociateMemberToGroupResponse
+ Amazonka.WorkMail: data AssumeImpersonationRole
+ Amazonka.WorkMail: data AssumeImpersonationRoleResponse
+ Amazonka.WorkMail: data AvailabilityConfiguration
+ Amazonka.WorkMail: data BookingOptions
+ Amazonka.WorkMail: data CancelMailboxExportJob
+ Amazonka.WorkMail: data CancelMailboxExportJobResponse
+ Amazonka.WorkMail: data CreateAlias
+ Amazonka.WorkMail: data CreateAliasResponse
+ Amazonka.WorkMail: data CreateAvailabilityConfiguration
+ Amazonka.WorkMail: data CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail: data CreateGroup
+ Amazonka.WorkMail: data CreateGroupResponse
+ Amazonka.WorkMail: data CreateImpersonationRole
+ Amazonka.WorkMail: data CreateImpersonationRoleResponse
+ Amazonka.WorkMail: data CreateMobileDeviceAccessRule
+ Amazonka.WorkMail: data CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: data CreateOrganization
+ Amazonka.WorkMail: data CreateOrganizationResponse
+ Amazonka.WorkMail: data CreateResource
+ Amazonka.WorkMail: data CreateResourceResponse
+ Amazonka.WorkMail: data CreateUser
+ Amazonka.WorkMail: data CreateUserResponse
+ Amazonka.WorkMail: data Delegate
+ Amazonka.WorkMail: data DeleteAccessControlRule
+ Amazonka.WorkMail: data DeleteAccessControlRuleResponse
+ Amazonka.WorkMail: data DeleteAlias
+ Amazonka.WorkMail: data DeleteAliasResponse
+ Amazonka.WorkMail: data DeleteAvailabilityConfiguration
+ Amazonka.WorkMail: data DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail: data DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail: data DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: data DeleteGroup
+ Amazonka.WorkMail: data DeleteGroupResponse
+ Amazonka.WorkMail: data DeleteImpersonationRole
+ Amazonka.WorkMail: data DeleteImpersonationRoleResponse
+ Amazonka.WorkMail: data DeleteMailboxPermissions
+ Amazonka.WorkMail: data DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail: data DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail: data DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: data DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail: data DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: data DeleteOrganization
+ Amazonka.WorkMail: data DeleteOrganizationResponse
+ Amazonka.WorkMail: data DeleteResource
+ Amazonka.WorkMail: data DeleteResourceResponse
+ Amazonka.WorkMail: data DeleteRetentionPolicy
+ Amazonka.WorkMail: data DeleteRetentionPolicyResponse
+ Amazonka.WorkMail: data DeleteUser
+ Amazonka.WorkMail: data DeleteUserResponse
+ Amazonka.WorkMail: data DeregisterFromWorkMail
+ Amazonka.WorkMail: data DeregisterFromWorkMailResponse
+ Amazonka.WorkMail: data DeregisterMailDomain
+ Amazonka.WorkMail: data DeregisterMailDomainResponse
+ Amazonka.WorkMail: data DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail: data DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: data DescribeGroup
+ Amazonka.WorkMail: data DescribeGroupResponse
+ Amazonka.WorkMail: data DescribeInboundDmarcSettings
+ Amazonka.WorkMail: data DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail: data DescribeMailboxExportJob
+ Amazonka.WorkMail: data DescribeMailboxExportJobResponse
+ Amazonka.WorkMail: data DescribeOrganization
+ Amazonka.WorkMail: data DescribeOrganizationResponse
+ Amazonka.WorkMail: data DescribeResource
+ Amazonka.WorkMail: data DescribeResourceResponse
+ Amazonka.WorkMail: data DescribeUser
+ Amazonka.WorkMail: data DescribeUserResponse
+ Amazonka.WorkMail: data DisassociateDelegateFromResource
+ Amazonka.WorkMail: data DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail: data DisassociateMemberFromGroup
+ Amazonka.WorkMail: data DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail: data DnsRecord
+ Amazonka.WorkMail: data Domain
+ Amazonka.WorkMail: data EwsAvailabilityProvider
+ Amazonka.WorkMail: data FolderConfiguration
+ Amazonka.WorkMail: data GetAccessControlEffect
+ Amazonka.WorkMail: data GetAccessControlEffectResponse
+ Amazonka.WorkMail: data GetDefaultRetentionPolicy
+ Amazonka.WorkMail: data GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail: data GetImpersonationRole
+ Amazonka.WorkMail: data GetImpersonationRoleEffect
+ Amazonka.WorkMail: data GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail: data GetImpersonationRoleResponse
+ Amazonka.WorkMail: data GetMailDomain
+ Amazonka.WorkMail: data GetMailDomainResponse
+ Amazonka.WorkMail: data GetMailboxDetails
+ Amazonka.WorkMail: data GetMailboxDetailsResponse
+ Amazonka.WorkMail: data GetMobileDeviceAccessEffect
+ Amazonka.WorkMail: data GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail: data GetMobileDeviceAccessOverride
+ Amazonka.WorkMail: data GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: data Group
+ Amazonka.WorkMail: data ImpersonationMatchedRule
+ Amazonka.WorkMail: data ImpersonationRole
+ Amazonka.WorkMail: data ImpersonationRule
+ Amazonka.WorkMail: data LambdaAvailabilityProvider
+ Amazonka.WorkMail: data ListAccessControlRules
+ Amazonka.WorkMail: data ListAccessControlRulesResponse
+ Amazonka.WorkMail: data ListAliases
+ Amazonka.WorkMail: data ListAliasesResponse
+ Amazonka.WorkMail: data ListAvailabilityConfigurations
+ Amazonka.WorkMail: data ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail: data ListGroupMembers
+ Amazonka.WorkMail: data ListGroupMembersResponse
+ Amazonka.WorkMail: data ListGroups
+ Amazonka.WorkMail: data ListGroupsResponse
+ Amazonka.WorkMail: data ListImpersonationRoles
+ Amazonka.WorkMail: data ListImpersonationRolesResponse
+ Amazonka.WorkMail: data ListMailDomains
+ Amazonka.WorkMail: data ListMailDomainsResponse
+ Amazonka.WorkMail: data ListMailboxExportJobs
+ Amazonka.WorkMail: data ListMailboxExportJobsResponse
+ Amazonka.WorkMail: data ListMailboxPermissions
+ Amazonka.WorkMail: data ListMailboxPermissionsResponse
+ Amazonka.WorkMail: data ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail: data ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail: data ListMobileDeviceAccessRules
+ Amazonka.WorkMail: data ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail: data ListOrganizations
+ Amazonka.WorkMail: data ListOrganizationsResponse
+ Amazonka.WorkMail: data ListResourceDelegates
+ Amazonka.WorkMail: data ListResourceDelegatesResponse
+ Amazonka.WorkMail: data ListResources
+ Amazonka.WorkMail: data ListResourcesResponse
+ Amazonka.WorkMail: data ListTagsForResource
+ Amazonka.WorkMail: data ListTagsForResourceResponse
+ Amazonka.WorkMail: data ListUsers
+ Amazonka.WorkMail: data ListUsersResponse
+ Amazonka.WorkMail: data MailDomainSummary
+ Amazonka.WorkMail: data MailboxExportJob
+ Amazonka.WorkMail: data Member
+ Amazonka.WorkMail: data MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail: data MobileDeviceAccessOverride
+ Amazonka.WorkMail: data MobileDeviceAccessRule
+ Amazonka.WorkMail: data OrganizationSummary
+ Amazonka.WorkMail: data Permission
+ Amazonka.WorkMail: data PutAccessControlRule
+ Amazonka.WorkMail: data PutAccessControlRuleResponse
+ Amazonka.WorkMail: data PutEmailMonitoringConfiguration
+ Amazonka.WorkMail: data PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: data PutInboundDmarcSettings
+ Amazonka.WorkMail: data PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail: data PutMailboxPermissions
+ Amazonka.WorkMail: data PutMailboxPermissionsResponse
+ Amazonka.WorkMail: data PutMobileDeviceAccessOverride
+ Amazonka.WorkMail: data PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: data PutRetentionPolicy
+ Amazonka.WorkMail: data PutRetentionPolicyResponse
+ Amazonka.WorkMail: data RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail: data RegisterMailDomain
+ Amazonka.WorkMail: data RegisterMailDomainResponse
+ Amazonka.WorkMail: data RegisterToWorkMail
+ Amazonka.WorkMail: data RegisterToWorkMailResponse
+ Amazonka.WorkMail: data ResetPassword
+ Amazonka.WorkMail: data ResetPasswordResponse
+ Amazonka.WorkMail: data Resource
+ Amazonka.WorkMail: data StartMailboxExportJob
+ Amazonka.WorkMail: data StartMailboxExportJobResponse
+ Amazonka.WorkMail: data Tag
+ Amazonka.WorkMail: data TagResource
+ Amazonka.WorkMail: data TagResourceResponse
+ Amazonka.WorkMail: data TestAvailabilityConfiguration
+ Amazonka.WorkMail: data TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail: data UntagResource
+ Amazonka.WorkMail: data UntagResourceResponse
+ Amazonka.WorkMail: data UpdateAvailabilityConfiguration
+ Amazonka.WorkMail: data UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail: data UpdateDefaultMailDomain
+ Amazonka.WorkMail: data UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail: data UpdateImpersonationRole
+ Amazonka.WorkMail: data UpdateImpersonationRoleResponse
+ Amazonka.WorkMail: data UpdateMailboxQuota
+ Amazonka.WorkMail: data UpdateMailboxQuotaResponse
+ Amazonka.WorkMail: data UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail: data UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: data UpdatePrimaryEmailAddress
+ Amazonka.WorkMail: data UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail: data UpdateResource
+ Amazonka.WorkMail: data UpdateResourceResponse
+ Amazonka.WorkMail: data User
+ Amazonka.WorkMail: defaultService :: Service
+ Amazonka.WorkMail: newAccessControlRule :: AccessControlRule
+ Amazonka.WorkMail: newAssociateDelegateToResource :: Text -> Text -> Text -> AssociateDelegateToResource
+ Amazonka.WorkMail: newAssociateDelegateToResourceResponse :: Int -> AssociateDelegateToResourceResponse
+ Amazonka.WorkMail: newAssociateMemberToGroup :: Text -> Text -> Text -> AssociateMemberToGroup
+ Amazonka.WorkMail: newAssociateMemberToGroupResponse :: Int -> AssociateMemberToGroupResponse
+ Amazonka.WorkMail: newAssumeImpersonationRole :: Text -> Text -> AssumeImpersonationRole
+ Amazonka.WorkMail: newAssumeImpersonationRoleResponse :: Int -> AssumeImpersonationRoleResponse
+ Amazonka.WorkMail: newAvailabilityConfiguration :: AvailabilityConfiguration
+ Amazonka.WorkMail: newBookingOptions :: BookingOptions
+ Amazonka.WorkMail: newCancelMailboxExportJob :: Text -> Text -> Text -> CancelMailboxExportJob
+ Amazonka.WorkMail: newCancelMailboxExportJobResponse :: Int -> CancelMailboxExportJobResponse
+ Amazonka.WorkMail: newCreateAlias :: Text -> Text -> Text -> CreateAlias
+ Amazonka.WorkMail: newCreateAliasResponse :: Int -> CreateAliasResponse
+ Amazonka.WorkMail: newCreateAvailabilityConfiguration :: Text -> Text -> CreateAvailabilityConfiguration
+ Amazonka.WorkMail: newCreateAvailabilityConfigurationResponse :: Int -> CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail: newCreateGroup :: Text -> Text -> CreateGroup
+ Amazonka.WorkMail: newCreateGroupResponse :: Int -> CreateGroupResponse
+ Amazonka.WorkMail: newCreateImpersonationRole :: Text -> Text -> ImpersonationRoleType -> CreateImpersonationRole
+ Amazonka.WorkMail: newCreateImpersonationRoleResponse :: Int -> CreateImpersonationRoleResponse
+ Amazonka.WorkMail: newCreateMobileDeviceAccessRule :: Text -> Text -> MobileDeviceAccessRuleEffect -> CreateMobileDeviceAccessRule
+ Amazonka.WorkMail: newCreateMobileDeviceAccessRuleResponse :: Int -> CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: newCreateOrganization :: Text -> CreateOrganization
+ Amazonka.WorkMail: newCreateOrganizationResponse :: Int -> CreateOrganizationResponse
+ Amazonka.WorkMail: newCreateResource :: Text -> Text -> ResourceType -> CreateResource
+ Amazonka.WorkMail: newCreateResourceResponse :: Int -> CreateResourceResponse
+ Amazonka.WorkMail: newCreateUser :: Text -> Text -> Text -> Text -> CreateUser
+ Amazonka.WorkMail: newCreateUserResponse :: Int -> CreateUserResponse
+ Amazonka.WorkMail: newDelegate :: Text -> MemberType -> Delegate
+ Amazonka.WorkMail: newDeleteAccessControlRule :: Text -> Text -> DeleteAccessControlRule
+ Amazonka.WorkMail: newDeleteAccessControlRuleResponse :: Int -> DeleteAccessControlRuleResponse
+ Amazonka.WorkMail: newDeleteAlias :: Text -> Text -> Text -> DeleteAlias
+ Amazonka.WorkMail: newDeleteAliasResponse :: Int -> DeleteAliasResponse
+ Amazonka.WorkMail: newDeleteAvailabilityConfiguration :: Text -> Text -> DeleteAvailabilityConfiguration
+ Amazonka.WorkMail: newDeleteAvailabilityConfigurationResponse :: Int -> DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail: newDeleteEmailMonitoringConfiguration :: Text -> DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail: newDeleteEmailMonitoringConfigurationResponse :: Int -> DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: newDeleteGroup :: Text -> Text -> DeleteGroup
+ Amazonka.WorkMail: newDeleteGroupResponse :: Int -> DeleteGroupResponse
+ Amazonka.WorkMail: newDeleteImpersonationRole :: Text -> Text -> DeleteImpersonationRole
+ Amazonka.WorkMail: newDeleteImpersonationRoleResponse :: Int -> DeleteImpersonationRoleResponse
+ Amazonka.WorkMail: newDeleteMailboxPermissions :: Text -> Text -> Text -> DeleteMailboxPermissions
+ Amazonka.WorkMail: newDeleteMailboxPermissionsResponse :: Int -> DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail: newDeleteMobileDeviceAccessOverride :: Text -> Text -> Text -> DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail: newDeleteMobileDeviceAccessOverrideResponse :: Int -> DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: newDeleteMobileDeviceAccessRule :: Text -> Text -> DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail: newDeleteMobileDeviceAccessRuleResponse :: Int -> DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: newDeleteOrganization :: Text -> Bool -> DeleteOrganization
+ Amazonka.WorkMail: newDeleteOrganizationResponse :: Int -> DeleteOrganizationResponse
+ Amazonka.WorkMail: newDeleteResource :: Text -> Text -> DeleteResource
+ Amazonka.WorkMail: newDeleteResourceResponse :: Int -> DeleteResourceResponse
+ Amazonka.WorkMail: newDeleteRetentionPolicy :: Text -> Text -> DeleteRetentionPolicy
+ Amazonka.WorkMail: newDeleteRetentionPolicyResponse :: Int -> DeleteRetentionPolicyResponse
+ Amazonka.WorkMail: newDeleteUser :: Text -> Text -> DeleteUser
+ Amazonka.WorkMail: newDeleteUserResponse :: Int -> DeleteUserResponse
+ Amazonka.WorkMail: newDeregisterFromWorkMail :: Text -> Text -> DeregisterFromWorkMail
+ Amazonka.WorkMail: newDeregisterFromWorkMailResponse :: Int -> DeregisterFromWorkMailResponse
+ Amazonka.WorkMail: newDeregisterMailDomain :: Text -> Text -> DeregisterMailDomain
+ Amazonka.WorkMail: newDeregisterMailDomainResponse :: Int -> DeregisterMailDomainResponse
+ Amazonka.WorkMail: newDescribeEmailMonitoringConfiguration :: Text -> DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail: newDescribeEmailMonitoringConfigurationResponse :: Int -> DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: newDescribeGroup :: Text -> Text -> DescribeGroup
+ Amazonka.WorkMail: newDescribeGroupResponse :: Int -> DescribeGroupResponse
+ Amazonka.WorkMail: newDescribeInboundDmarcSettings :: Text -> DescribeInboundDmarcSettings
+ Amazonka.WorkMail: newDescribeInboundDmarcSettingsResponse :: Int -> DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail: newDescribeMailboxExportJob :: Text -> Text -> DescribeMailboxExportJob
+ Amazonka.WorkMail: newDescribeMailboxExportJobResponse :: Int -> DescribeMailboxExportJobResponse
+ Amazonka.WorkMail: newDescribeOrganization :: Text -> DescribeOrganization
+ Amazonka.WorkMail: newDescribeOrganizationResponse :: Int -> DescribeOrganizationResponse
+ Amazonka.WorkMail: newDescribeResource :: Text -> Text -> DescribeResource
+ Amazonka.WorkMail: newDescribeResourceResponse :: Int -> DescribeResourceResponse
+ Amazonka.WorkMail: newDescribeUser :: Text -> Text -> DescribeUser
+ Amazonka.WorkMail: newDescribeUserResponse :: Int -> DescribeUserResponse
+ Amazonka.WorkMail: newDisassociateDelegateFromResource :: Text -> Text -> Text -> DisassociateDelegateFromResource
+ Amazonka.WorkMail: newDisassociateDelegateFromResourceResponse :: Int -> DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail: newDisassociateMemberFromGroup :: Text -> Text -> Text -> DisassociateMemberFromGroup
+ Amazonka.WorkMail: newDisassociateMemberFromGroupResponse :: Int -> DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail: newDnsRecord :: DnsRecord
+ Amazonka.WorkMail: newDomain :: Domain
+ Amazonka.WorkMail: newEwsAvailabilityProvider :: Text -> Text -> Text -> EwsAvailabilityProvider
+ Amazonka.WorkMail: newFolderConfiguration :: FolderName -> RetentionAction -> FolderConfiguration
+ Amazonka.WorkMail: newGetAccessControlEffect :: Text -> Text -> Text -> GetAccessControlEffect
+ Amazonka.WorkMail: newGetAccessControlEffectResponse :: Int -> GetAccessControlEffectResponse
+ Amazonka.WorkMail: newGetDefaultRetentionPolicy :: Text -> GetDefaultRetentionPolicy
+ Amazonka.WorkMail: newGetDefaultRetentionPolicyResponse :: Int -> GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail: newGetImpersonationRole :: Text -> Text -> GetImpersonationRole
+ Amazonka.WorkMail: newGetImpersonationRoleEffect :: Text -> Text -> Text -> GetImpersonationRoleEffect
+ Amazonka.WorkMail: newGetImpersonationRoleEffectResponse :: Int -> GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail: newGetImpersonationRoleResponse :: Int -> GetImpersonationRoleResponse
+ Amazonka.WorkMail: newGetMailDomain :: Text -> Text -> GetMailDomain
+ Amazonka.WorkMail: newGetMailDomainResponse :: Int -> GetMailDomainResponse
+ Amazonka.WorkMail: newGetMailboxDetails :: Text -> Text -> GetMailboxDetails
+ Amazonka.WorkMail: newGetMailboxDetailsResponse :: Int -> GetMailboxDetailsResponse
+ Amazonka.WorkMail: newGetMobileDeviceAccessEffect :: Text -> GetMobileDeviceAccessEffect
+ Amazonka.WorkMail: newGetMobileDeviceAccessEffectResponse :: Int -> GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail: newGetMobileDeviceAccessOverride :: Text -> Text -> Text -> GetMobileDeviceAccessOverride
+ Amazonka.WorkMail: newGetMobileDeviceAccessOverrideResponse :: Int -> GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: newGroup :: Group
+ Amazonka.WorkMail: newImpersonationMatchedRule :: ImpersonationMatchedRule
+ Amazonka.WorkMail: newImpersonationRole :: ImpersonationRole
+ Amazonka.WorkMail: newImpersonationRule :: Text -> AccessEffect -> ImpersonationRule
+ Amazonka.WorkMail: newLambdaAvailabilityProvider :: Text -> LambdaAvailabilityProvider
+ Amazonka.WorkMail: newListAccessControlRules :: Text -> ListAccessControlRules
+ Amazonka.WorkMail: newListAccessControlRulesResponse :: Int -> ListAccessControlRulesResponse
+ Amazonka.WorkMail: newListAliases :: Text -> Text -> ListAliases
+ Amazonka.WorkMail: newListAliasesResponse :: Int -> ListAliasesResponse
+ Amazonka.WorkMail: newListAvailabilityConfigurations :: Text -> ListAvailabilityConfigurations
+ Amazonka.WorkMail: newListAvailabilityConfigurationsResponse :: Int -> ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail: newListGroupMembers :: Text -> Text -> ListGroupMembers
+ Amazonka.WorkMail: newListGroupMembersResponse :: Int -> ListGroupMembersResponse
+ Amazonka.WorkMail: newListGroups :: Text -> ListGroups
+ Amazonka.WorkMail: newListGroupsResponse :: Int -> ListGroupsResponse
+ Amazonka.WorkMail: newListImpersonationRoles :: Text -> ListImpersonationRoles
+ Amazonka.WorkMail: newListImpersonationRolesResponse :: Int -> ListImpersonationRolesResponse
+ Amazonka.WorkMail: newListMailDomains :: Text -> ListMailDomains
+ Amazonka.WorkMail: newListMailDomainsResponse :: Int -> ListMailDomainsResponse
+ Amazonka.WorkMail: newListMailboxExportJobs :: Text -> ListMailboxExportJobs
+ Amazonka.WorkMail: newListMailboxExportJobsResponse :: Int -> ListMailboxExportJobsResponse
+ Amazonka.WorkMail: newListMailboxPermissions :: Text -> Text -> ListMailboxPermissions
+ Amazonka.WorkMail: newListMailboxPermissionsResponse :: Int -> ListMailboxPermissionsResponse
+ Amazonka.WorkMail: newListMobileDeviceAccessOverrides :: Text -> ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail: newListMobileDeviceAccessOverridesResponse :: Int -> ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail: newListMobileDeviceAccessRules :: Text -> ListMobileDeviceAccessRules
+ Amazonka.WorkMail: newListMobileDeviceAccessRulesResponse :: Int -> ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail: newListOrganizations :: ListOrganizations
+ Amazonka.WorkMail: newListOrganizationsResponse :: Int -> ListOrganizationsResponse
+ Amazonka.WorkMail: newListResourceDelegates :: Text -> Text -> ListResourceDelegates
+ Amazonka.WorkMail: newListResourceDelegatesResponse :: Int -> ListResourceDelegatesResponse
+ Amazonka.WorkMail: newListResources :: Text -> ListResources
+ Amazonka.WorkMail: newListResourcesResponse :: Int -> ListResourcesResponse
+ Amazonka.WorkMail: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.WorkMail: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.WorkMail: newListUsers :: Text -> ListUsers
+ Amazonka.WorkMail: newListUsersResponse :: Int -> ListUsersResponse
+ Amazonka.WorkMail: newMailDomainSummary :: MailDomainSummary
+ Amazonka.WorkMail: newMailboxExportJob :: MailboxExportJob
+ Amazonka.WorkMail: newMember :: Member
+ Amazonka.WorkMail: newMobileDeviceAccessMatchedRule :: MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail: newMobileDeviceAccessOverride :: MobileDeviceAccessOverride
+ Amazonka.WorkMail: newMobileDeviceAccessRule :: MobileDeviceAccessRule
+ Amazonka.WorkMail: newOrganizationSummary :: OrganizationSummary
+ Amazonka.WorkMail: newPermission :: Text -> MemberType -> Permission
+ Amazonka.WorkMail: newPutAccessControlRule :: Text -> AccessControlRuleEffect -> Text -> Text -> PutAccessControlRule
+ Amazonka.WorkMail: newPutAccessControlRuleResponse :: Int -> PutAccessControlRuleResponse
+ Amazonka.WorkMail: newPutEmailMonitoringConfiguration :: Text -> Text -> Text -> PutEmailMonitoringConfiguration
+ Amazonka.WorkMail: newPutEmailMonitoringConfigurationResponse :: Int -> PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail: newPutInboundDmarcSettings :: Text -> Bool -> PutInboundDmarcSettings
+ Amazonka.WorkMail: newPutInboundDmarcSettingsResponse :: Int -> PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail: newPutMailboxPermissions :: Text -> Text -> Text -> PutMailboxPermissions
+ Amazonka.WorkMail: newPutMailboxPermissionsResponse :: Int -> PutMailboxPermissionsResponse
+ Amazonka.WorkMail: newPutMobileDeviceAccessOverride :: Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> PutMobileDeviceAccessOverride
+ Amazonka.WorkMail: newPutMobileDeviceAccessOverrideResponse :: Int -> PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail: newPutRetentionPolicy :: Text -> Text -> PutRetentionPolicy
+ Amazonka.WorkMail: newPutRetentionPolicyResponse :: Int -> PutRetentionPolicyResponse
+ Amazonka.WorkMail: newRedactedEwsAvailabilityProvider :: RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail: newRegisterMailDomain :: Text -> Text -> RegisterMailDomain
+ Amazonka.WorkMail: newRegisterMailDomainResponse :: Int -> RegisterMailDomainResponse
+ Amazonka.WorkMail: newRegisterToWorkMail :: Text -> Text -> Text -> RegisterToWorkMail
+ Amazonka.WorkMail: newRegisterToWorkMailResponse :: Int -> RegisterToWorkMailResponse
+ Amazonka.WorkMail: newResetPassword :: Text -> Text -> Text -> ResetPassword
+ Amazonka.WorkMail: newResetPasswordResponse :: Int -> ResetPasswordResponse
+ Amazonka.WorkMail: newResource :: Resource
+ Amazonka.WorkMail: newStartMailboxExportJob :: Text -> Text -> Text -> Text -> Text -> Text -> Text -> StartMailboxExportJob
+ Amazonka.WorkMail: newStartMailboxExportJobResponse :: Int -> StartMailboxExportJobResponse
+ Amazonka.WorkMail: newTag :: Text -> Text -> Tag
+ Amazonka.WorkMail: newTagResource :: Text -> TagResource
+ Amazonka.WorkMail: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.WorkMail: newTestAvailabilityConfiguration :: Text -> TestAvailabilityConfiguration
+ Amazonka.WorkMail: newTestAvailabilityConfigurationResponse :: Int -> TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail: newUntagResource :: Text -> UntagResource
+ Amazonka.WorkMail: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.WorkMail: newUpdateAvailabilityConfiguration :: Text -> Text -> UpdateAvailabilityConfiguration
+ Amazonka.WorkMail: newUpdateAvailabilityConfigurationResponse :: Int -> UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail: newUpdateDefaultMailDomain :: Text -> Text -> UpdateDefaultMailDomain
+ Amazonka.WorkMail: newUpdateDefaultMailDomainResponse :: Int -> UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail: newUpdateImpersonationRole :: Text -> Text -> Text -> ImpersonationRoleType -> UpdateImpersonationRole
+ Amazonka.WorkMail: newUpdateImpersonationRoleResponse :: Int -> UpdateImpersonationRoleResponse
+ Amazonka.WorkMail: newUpdateMailboxQuota :: Text -> Text -> Natural -> UpdateMailboxQuota
+ Amazonka.WorkMail: newUpdateMailboxQuotaResponse :: Int -> UpdateMailboxQuotaResponse
+ Amazonka.WorkMail: newUpdateMobileDeviceAccessRule :: Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail: newUpdateMobileDeviceAccessRuleResponse :: Int -> UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail: newUpdatePrimaryEmailAddress :: Text -> Text -> Text -> UpdatePrimaryEmailAddress
+ Amazonka.WorkMail: newUpdatePrimaryEmailAddressResponse :: Int -> UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail: newUpdateResource :: Text -> Text -> UpdateResource
+ Amazonka.WorkMail: newUpdateResourceResponse :: Int -> UpdateResourceResponse
+ Amazonka.WorkMail: newUser :: User
+ Amazonka.WorkMail: newtype AccessControlRuleEffect
+ Amazonka.WorkMail: newtype AccessEffect
+ Amazonka.WorkMail: newtype AvailabilityProviderType
+ Amazonka.WorkMail: newtype DnsRecordVerificationStatus
+ Amazonka.WorkMail: newtype EntityState
+ Amazonka.WorkMail: newtype FolderName
+ Amazonka.WorkMail: newtype ImpersonationRoleType
+ Amazonka.WorkMail: newtype MailboxExportJobState
+ Amazonka.WorkMail: newtype MemberType
+ Amazonka.WorkMail: newtype MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail: newtype PermissionType
+ Amazonka.WorkMail: newtype ResourceType
+ Amazonka.WorkMail: newtype RetentionAction
+ Amazonka.WorkMail: newtype UserRole
+ Amazonka.WorkMail: pattern AccessControlRuleEffect_ALLOW :: AccessControlRuleEffect
+ Amazonka.WorkMail: pattern AccessControlRuleEffect_DENY :: AccessControlRuleEffect
+ Amazonka.WorkMail: pattern AccessEffect_ALLOW :: AccessEffect
+ Amazonka.WorkMail: pattern AccessEffect_DENY :: AccessEffect
+ Amazonka.WorkMail: pattern AvailabilityProviderType_EWS :: AvailabilityProviderType
+ Amazonka.WorkMail: pattern AvailabilityProviderType_LAMBDA :: AvailabilityProviderType
+ Amazonka.WorkMail: pattern DnsRecordVerificationStatus_FAILED :: DnsRecordVerificationStatus
+ Amazonka.WorkMail: pattern DnsRecordVerificationStatus_PENDING :: DnsRecordVerificationStatus
+ Amazonka.WorkMail: pattern DnsRecordVerificationStatus_VERIFIED :: DnsRecordVerificationStatus
+ Amazonka.WorkMail: pattern EntityState_DELETED :: EntityState
+ Amazonka.WorkMail: pattern EntityState_DISABLED :: EntityState
+ Amazonka.WorkMail: pattern EntityState_ENABLED :: EntityState
+ Amazonka.WorkMail: pattern FolderName_DELETED_ITEMS :: FolderName
+ Amazonka.WorkMail: pattern FolderName_DRAFTS :: FolderName
+ Amazonka.WorkMail: pattern FolderName_INBOX :: FolderName
+ Amazonka.WorkMail: pattern FolderName_JUNK_EMAIL :: FolderName
+ Amazonka.WorkMail: pattern FolderName_SENT_ITEMS :: FolderName
+ Amazonka.WorkMail: pattern ImpersonationRoleType_FULL_ACCESS :: ImpersonationRoleType
+ Amazonka.WorkMail: pattern ImpersonationRoleType_READ_ONLY :: ImpersonationRoleType
+ Amazonka.WorkMail: pattern MailboxExportJobState_CANCELLED :: MailboxExportJobState
+ Amazonka.WorkMail: pattern MailboxExportJobState_COMPLETED :: MailboxExportJobState
+ Amazonka.WorkMail: pattern MailboxExportJobState_FAILED :: MailboxExportJobState
+ Amazonka.WorkMail: pattern MailboxExportJobState_RUNNING :: MailboxExportJobState
+ Amazonka.WorkMail: pattern MemberType_GROUP :: MemberType
+ Amazonka.WorkMail: pattern MemberType_USER :: MemberType
+ Amazonka.WorkMail: pattern MobileDeviceAccessRuleEffect_ALLOW :: MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail: pattern MobileDeviceAccessRuleEffect_DENY :: MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail: pattern PermissionType_FULL_ACCESS :: PermissionType
+ Amazonka.WorkMail: pattern PermissionType_SEND_AS :: PermissionType
+ Amazonka.WorkMail: pattern PermissionType_SEND_ON_BEHALF :: PermissionType
+ Amazonka.WorkMail: pattern ResourceType_EQUIPMENT :: ResourceType
+ Amazonka.WorkMail: pattern ResourceType_ROOM :: ResourceType
+ Amazonka.WorkMail: pattern RetentionAction_DELETE :: RetentionAction
+ Amazonka.WorkMail: pattern RetentionAction_NONE :: RetentionAction
+ Amazonka.WorkMail: pattern RetentionAction_PERMANENTLY_DELETE :: RetentionAction
+ Amazonka.WorkMail: pattern UserRole_RESOURCE :: UserRole
+ Amazonka.WorkMail: pattern UserRole_SYSTEM_USER :: UserRole
+ Amazonka.WorkMail: pattern UserRole_USER :: UserRole
+ Amazonka.WorkMail.AssociateDelegateToResource: AssociateDelegateToResource' :: Text -> Text -> Text -> AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: AssociateDelegateToResourceResponse' :: Int -> AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateDelegateToResource: [$sel:entityId:AssociateDelegateToResource'] :: AssociateDelegateToResource -> Text
+ Amazonka.WorkMail.AssociateDelegateToResource: [$sel:httpStatus:AssociateDelegateToResourceResponse'] :: AssociateDelegateToResourceResponse -> Int
+ Amazonka.WorkMail.AssociateDelegateToResource: [$sel:organizationId:AssociateDelegateToResource'] :: AssociateDelegateToResource -> Text
+ Amazonka.WorkMail.AssociateDelegateToResource: [$sel:resourceId:AssociateDelegateToResource'] :: AssociateDelegateToResource -> Text
+ Amazonka.WorkMail.AssociateDelegateToResource: associateDelegateToResourceResponse_httpStatus :: Lens' AssociateDelegateToResourceResponse Int
+ Amazonka.WorkMail.AssociateDelegateToResource: associateDelegateToResource_entityId :: Lens' AssociateDelegateToResource Text
+ Amazonka.WorkMail.AssociateDelegateToResource: associateDelegateToResource_organizationId :: Lens' AssociateDelegateToResource Text
+ Amazonka.WorkMail.AssociateDelegateToResource: associateDelegateToResource_resourceId :: Lens' AssociateDelegateToResource Text
+ Amazonka.WorkMail.AssociateDelegateToResource: data AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: data AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Classes.Eq Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Classes.Eq Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Generics.Generic Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Generics.Generic Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Read.Read Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Read.Read Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Show.Show Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: instance GHC.Show.Show Amazonka.WorkMail.AssociateDelegateToResource.AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateDelegateToResource: newAssociateDelegateToResource :: Text -> Text -> Text -> AssociateDelegateToResource
+ Amazonka.WorkMail.AssociateDelegateToResource: newAssociateDelegateToResourceResponse :: Int -> AssociateDelegateToResourceResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: AssociateMemberToGroup' :: Text -> Text -> Text -> AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: AssociateMemberToGroupResponse' :: Int -> AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: [$sel:groupId:AssociateMemberToGroup'] :: AssociateMemberToGroup -> Text
+ Amazonka.WorkMail.AssociateMemberToGroup: [$sel:httpStatus:AssociateMemberToGroupResponse'] :: AssociateMemberToGroupResponse -> Int
+ Amazonka.WorkMail.AssociateMemberToGroup: [$sel:memberId:AssociateMemberToGroup'] :: AssociateMemberToGroup -> Text
+ Amazonka.WorkMail.AssociateMemberToGroup: [$sel:organizationId:AssociateMemberToGroup'] :: AssociateMemberToGroup -> Text
+ Amazonka.WorkMail.AssociateMemberToGroup: associateMemberToGroupResponse_httpStatus :: Lens' AssociateMemberToGroupResponse Int
+ Amazonka.WorkMail.AssociateMemberToGroup: associateMemberToGroup_groupId :: Lens' AssociateMemberToGroup Text
+ Amazonka.WorkMail.AssociateMemberToGroup: associateMemberToGroup_memberId :: Lens' AssociateMemberToGroup Text
+ Amazonka.WorkMail.AssociateMemberToGroup: associateMemberToGroup_organizationId :: Lens' AssociateMemberToGroup Text
+ Amazonka.WorkMail.AssociateMemberToGroup: data AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: data AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Classes.Eq Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Classes.Eq Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Generics.Generic Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Generics.Generic Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Read.Read Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Read.Read Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Show.Show Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: instance GHC.Show.Show Amazonka.WorkMail.AssociateMemberToGroup.AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssociateMemberToGroup: newAssociateMemberToGroup :: Text -> Text -> Text -> AssociateMemberToGroup
+ Amazonka.WorkMail.AssociateMemberToGroup: newAssociateMemberToGroupResponse :: Int -> AssociateMemberToGroupResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: AssumeImpersonationRole' :: Text -> Text -> AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: AssumeImpersonationRoleResponse' :: Maybe Integer -> Maybe Text -> Int -> AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: [$sel:expiresIn:AssumeImpersonationRoleResponse'] :: AssumeImpersonationRoleResponse -> Maybe Integer
+ Amazonka.WorkMail.AssumeImpersonationRole: [$sel:httpStatus:AssumeImpersonationRoleResponse'] :: AssumeImpersonationRoleResponse -> Int
+ Amazonka.WorkMail.AssumeImpersonationRole: [$sel:impersonationRoleId:AssumeImpersonationRole'] :: AssumeImpersonationRole -> Text
+ Amazonka.WorkMail.AssumeImpersonationRole: [$sel:organizationId:AssumeImpersonationRole'] :: AssumeImpersonationRole -> Text
+ Amazonka.WorkMail.AssumeImpersonationRole: [$sel:token:AssumeImpersonationRoleResponse'] :: AssumeImpersonationRoleResponse -> Maybe Text
+ Amazonka.WorkMail.AssumeImpersonationRole: assumeImpersonationRoleResponse_expiresIn :: Lens' AssumeImpersonationRoleResponse (Maybe Integer)
+ Amazonka.WorkMail.AssumeImpersonationRole: assumeImpersonationRoleResponse_httpStatus :: Lens' AssumeImpersonationRoleResponse Int
+ Amazonka.WorkMail.AssumeImpersonationRole: assumeImpersonationRoleResponse_token :: Lens' AssumeImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.AssumeImpersonationRole: assumeImpersonationRole_impersonationRoleId :: Lens' AssumeImpersonationRole Text
+ Amazonka.WorkMail.AssumeImpersonationRole: assumeImpersonationRole_organizationId :: Lens' AssumeImpersonationRole Text
+ Amazonka.WorkMail.AssumeImpersonationRole: data AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: data AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.AssumeImpersonationRole.AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.AssumeImpersonationRole: newAssumeImpersonationRole :: Text -> Text -> AssumeImpersonationRole
+ Amazonka.WorkMail.AssumeImpersonationRole: newAssumeImpersonationRoleResponse :: Int -> AssumeImpersonationRoleResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: CancelMailboxExportJob' :: Text -> Text -> Text -> CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: CancelMailboxExportJobResponse' :: Int -> CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: [$sel:clientToken:CancelMailboxExportJob'] :: CancelMailboxExportJob -> Text
+ Amazonka.WorkMail.CancelMailboxExportJob: [$sel:httpStatus:CancelMailboxExportJobResponse'] :: CancelMailboxExportJobResponse -> Int
+ Amazonka.WorkMail.CancelMailboxExportJob: [$sel:jobId:CancelMailboxExportJob'] :: CancelMailboxExportJob -> Text
+ Amazonka.WorkMail.CancelMailboxExportJob: [$sel:organizationId:CancelMailboxExportJob'] :: CancelMailboxExportJob -> Text
+ Amazonka.WorkMail.CancelMailboxExportJob: cancelMailboxExportJobResponse_httpStatus :: Lens' CancelMailboxExportJobResponse Int
+ Amazonka.WorkMail.CancelMailboxExportJob: cancelMailboxExportJob_clientToken :: Lens' CancelMailboxExportJob Text
+ Amazonka.WorkMail.CancelMailboxExportJob: cancelMailboxExportJob_jobId :: Lens' CancelMailboxExportJob Text
+ Amazonka.WorkMail.CancelMailboxExportJob: cancelMailboxExportJob_organizationId :: Lens' CancelMailboxExportJob Text
+ Amazonka.WorkMail.CancelMailboxExportJob: data CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: data CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Control.DeepSeq.NFData Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Control.DeepSeq.NFData Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Classes.Eq Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Classes.Eq Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Generics.Generic Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Generics.Generic Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Read.Read Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Read.Read Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Show.Show Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: instance GHC.Show.Show Amazonka.WorkMail.CancelMailboxExportJob.CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CancelMailboxExportJob: newCancelMailboxExportJob :: Text -> Text -> Text -> CancelMailboxExportJob
+ Amazonka.WorkMail.CancelMailboxExportJob: newCancelMailboxExportJobResponse :: Int -> CancelMailboxExportJobResponse
+ Amazonka.WorkMail.CreateAlias: CreateAlias' :: Text -> Text -> Text -> CreateAlias
+ Amazonka.WorkMail.CreateAlias: CreateAliasResponse' :: Int -> CreateAliasResponse
+ Amazonka.WorkMail.CreateAlias: [$sel:alias:CreateAlias'] :: CreateAlias -> Text
+ Amazonka.WorkMail.CreateAlias: [$sel:entityId:CreateAlias'] :: CreateAlias -> Text
+ Amazonka.WorkMail.CreateAlias: [$sel:httpStatus:CreateAliasResponse'] :: CreateAliasResponse -> Int
+ Amazonka.WorkMail.CreateAlias: [$sel:organizationId:CreateAlias'] :: CreateAlias -> Text
+ Amazonka.WorkMail.CreateAlias: createAliasResponse_httpStatus :: Lens' CreateAliasResponse Int
+ Amazonka.WorkMail.CreateAlias: createAlias_alias :: Lens' CreateAlias Text
+ Amazonka.WorkMail.CreateAlias: createAlias_entityId :: Lens' CreateAlias Text
+ Amazonka.WorkMail.CreateAlias: createAlias_organizationId :: Lens' CreateAlias Text
+ Amazonka.WorkMail.CreateAlias: data CreateAlias
+ Amazonka.WorkMail.CreateAlias: data CreateAliasResponse
+ Amazonka.WorkMail.CreateAlias: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateAlias.CreateAliasResponse
+ Amazonka.WorkMail.CreateAlias: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance GHC.Classes.Eq Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance GHC.Classes.Eq Amazonka.WorkMail.CreateAlias.CreateAliasResponse
+ Amazonka.WorkMail.CreateAlias: instance GHC.Generics.Generic Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance GHC.Generics.Generic Amazonka.WorkMail.CreateAlias.CreateAliasResponse
+ Amazonka.WorkMail.CreateAlias: instance GHC.Read.Read Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance GHC.Read.Read Amazonka.WorkMail.CreateAlias.CreateAliasResponse
+ Amazonka.WorkMail.CreateAlias: instance GHC.Show.Show Amazonka.WorkMail.CreateAlias.CreateAlias
+ Amazonka.WorkMail.CreateAlias: instance GHC.Show.Show Amazonka.WorkMail.CreateAlias.CreateAliasResponse
+ Amazonka.WorkMail.CreateAlias: newCreateAlias :: Text -> Text -> Text -> CreateAlias
+ Amazonka.WorkMail.CreateAlias: newCreateAliasResponse :: Int -> CreateAliasResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: CreateAvailabilityConfiguration' :: Maybe Text -> Maybe EwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Text -> Text -> CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: CreateAvailabilityConfigurationResponse' :: Int -> CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: [$sel:clientToken:CreateAvailabilityConfiguration'] :: CreateAvailabilityConfiguration -> Maybe Text
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: [$sel:domainName:CreateAvailabilityConfiguration'] :: CreateAvailabilityConfiguration -> Text
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: [$sel:ewsProvider:CreateAvailabilityConfiguration'] :: CreateAvailabilityConfiguration -> Maybe EwsAvailabilityProvider
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: [$sel:httpStatus:CreateAvailabilityConfigurationResponse'] :: CreateAvailabilityConfigurationResponse -> Int
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: [$sel:lambdaProvider:CreateAvailabilityConfiguration'] :: CreateAvailabilityConfiguration -> Maybe LambdaAvailabilityProvider
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: [$sel:organizationId:CreateAvailabilityConfiguration'] :: CreateAvailabilityConfiguration -> Text
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: createAvailabilityConfigurationResponse_httpStatus :: Lens' CreateAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: createAvailabilityConfiguration_clientToken :: Lens' CreateAvailabilityConfiguration (Maybe Text)
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: createAvailabilityConfiguration_domainName :: Lens' CreateAvailabilityConfiguration Text
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: createAvailabilityConfiguration_ewsProvider :: Lens' CreateAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: createAvailabilityConfiguration_lambdaProvider :: Lens' CreateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: createAvailabilityConfiguration_organizationId :: Lens' CreateAvailabilityConfiguration Text
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: data CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: data CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance GHC.Read.Read Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.CreateAvailabilityConfiguration.CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: newCreateAvailabilityConfiguration :: Text -> Text -> CreateAvailabilityConfiguration
+ Amazonka.WorkMail.CreateAvailabilityConfiguration: newCreateAvailabilityConfigurationResponse :: Int -> CreateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.CreateGroup: CreateGroup' :: Text -> Text -> CreateGroup
+ Amazonka.WorkMail.CreateGroup: CreateGroupResponse' :: Maybe Text -> Int -> CreateGroupResponse
+ Amazonka.WorkMail.CreateGroup: [$sel:groupId:CreateGroupResponse'] :: CreateGroupResponse -> Maybe Text
+ Amazonka.WorkMail.CreateGroup: [$sel:httpStatus:CreateGroupResponse'] :: CreateGroupResponse -> Int
+ Amazonka.WorkMail.CreateGroup: [$sel:name:CreateGroup'] :: CreateGroup -> Text
+ Amazonka.WorkMail.CreateGroup: [$sel:organizationId:CreateGroup'] :: CreateGroup -> Text
+ Amazonka.WorkMail.CreateGroup: createGroupResponse_groupId :: Lens' CreateGroupResponse (Maybe Text)
+ Amazonka.WorkMail.CreateGroup: createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int
+ Amazonka.WorkMail.CreateGroup: createGroup_name :: Lens' CreateGroup Text
+ Amazonka.WorkMail.CreateGroup: createGroup_organizationId :: Lens' CreateGroup Text
+ Amazonka.WorkMail.CreateGroup: data CreateGroup
+ Amazonka.WorkMail.CreateGroup: data CreateGroupResponse
+ Amazonka.WorkMail.CreateGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateGroup.CreateGroupResponse
+ Amazonka.WorkMail.CreateGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance GHC.Classes.Eq Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance GHC.Classes.Eq Amazonka.WorkMail.CreateGroup.CreateGroupResponse
+ Amazonka.WorkMail.CreateGroup: instance GHC.Generics.Generic Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance GHC.Generics.Generic Amazonka.WorkMail.CreateGroup.CreateGroupResponse
+ Amazonka.WorkMail.CreateGroup: instance GHC.Read.Read Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance GHC.Read.Read Amazonka.WorkMail.CreateGroup.CreateGroupResponse
+ Amazonka.WorkMail.CreateGroup: instance GHC.Show.Show Amazonka.WorkMail.CreateGroup.CreateGroup
+ Amazonka.WorkMail.CreateGroup: instance GHC.Show.Show Amazonka.WorkMail.CreateGroup.CreateGroupResponse
+ Amazonka.WorkMail.CreateGroup: newCreateGroup :: Text -> Text -> CreateGroup
+ Amazonka.WorkMail.CreateGroup: newCreateGroupResponse :: Int -> CreateGroupResponse
+ Amazonka.WorkMail.CreateImpersonationRole: CreateImpersonationRole' :: Maybe Text -> Maybe Text -> Text -> Text -> ImpersonationRoleType -> [ImpersonationRule] -> CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: CreateImpersonationRoleResponse' :: Maybe Text -> Int -> CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:clientToken:CreateImpersonationRole'] :: CreateImpersonationRole -> Maybe Text
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:description:CreateImpersonationRole'] :: CreateImpersonationRole -> Maybe Text
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:httpStatus:CreateImpersonationRoleResponse'] :: CreateImpersonationRoleResponse -> Int
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:impersonationRoleId:CreateImpersonationRoleResponse'] :: CreateImpersonationRoleResponse -> Maybe Text
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:name:CreateImpersonationRole'] :: CreateImpersonationRole -> Text
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:organizationId:CreateImpersonationRole'] :: CreateImpersonationRole -> Text
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:rules:CreateImpersonationRole'] :: CreateImpersonationRole -> [ImpersonationRule]
+ Amazonka.WorkMail.CreateImpersonationRole: [$sel:type':CreateImpersonationRole'] :: CreateImpersonationRole -> ImpersonationRoleType
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRoleResponse_httpStatus :: Lens' CreateImpersonationRoleResponse Int
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRoleResponse_impersonationRoleId :: Lens' CreateImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRole_clientToken :: Lens' CreateImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRole_description :: Lens' CreateImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRole_name :: Lens' CreateImpersonationRole Text
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRole_organizationId :: Lens' CreateImpersonationRole Text
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRole_rules :: Lens' CreateImpersonationRole [ImpersonationRule]
+ Amazonka.WorkMail.CreateImpersonationRole: createImpersonationRole_type :: Lens' CreateImpersonationRole ImpersonationRoleType
+ Amazonka.WorkMail.CreateImpersonationRole: data CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: data CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateImpersonationRole: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateImpersonationRole: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.CreateImpersonationRole.CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateImpersonationRole: newCreateImpersonationRole :: Text -> Text -> ImpersonationRoleType -> CreateImpersonationRole
+ Amazonka.WorkMail.CreateImpersonationRole: newCreateImpersonationRoleResponse :: Int -> CreateImpersonationRoleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: CreateMobileDeviceAccessRule' :: Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> Text -> MobileDeviceAccessRuleEffect -> CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: CreateMobileDeviceAccessRuleResponse' :: Maybe Text -> Int -> CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:clientToken:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:description:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:deviceModels:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:deviceOperatingSystems:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:deviceTypes:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:deviceUserAgents:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:effect:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:httpStatus:CreateMobileDeviceAccessRuleResponse'] :: CreateMobileDeviceAccessRuleResponse -> Int
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:mobileDeviceAccessRuleId:CreateMobileDeviceAccessRuleResponse'] :: CreateMobileDeviceAccessRuleResponse -> Maybe Text
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:name:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Text
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:notDeviceModels:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:notDeviceOperatingSystems:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:notDeviceTypes:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:notDeviceUserAgents:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: [$sel:organizationId:CreateMobileDeviceAccessRule'] :: CreateMobileDeviceAccessRule -> Text
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRuleResponse_httpStatus :: Lens' CreateMobileDeviceAccessRuleResponse Int
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRuleResponse_mobileDeviceAccessRuleId :: Lens' CreateMobileDeviceAccessRuleResponse (Maybe Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_clientToken :: Lens' CreateMobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_description :: Lens' CreateMobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_deviceModels :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_deviceOperatingSystems :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_deviceTypes :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_deviceUserAgents :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_effect :: Lens' CreateMobileDeviceAccessRule MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_name :: Lens' CreateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_notDeviceModels :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_notDeviceTypes :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_notDeviceUserAgents :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: createMobileDeviceAccessRule_organizationId :: Lens' CreateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: data CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: data CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Classes.Eq Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Classes.Eq Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Generics.Generic Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Generics.Generic Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Read.Read Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Read.Read Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Show.Show Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: instance GHC.Show.Show Amazonka.WorkMail.CreateMobileDeviceAccessRule.CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: newCreateMobileDeviceAccessRule :: Text -> Text -> MobileDeviceAccessRuleEffect -> CreateMobileDeviceAccessRule
+ Amazonka.WorkMail.CreateMobileDeviceAccessRule: newCreateMobileDeviceAccessRuleResponse :: Int -> CreateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.CreateOrganization: CreateOrganization' :: Maybe Text -> Maybe Text -> Maybe [Domain] -> Maybe Bool -> Maybe Text -> Text -> CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: CreateOrganizationResponse' :: Maybe Text -> Int -> CreateOrganizationResponse
+ Amazonka.WorkMail.CreateOrganization: [$sel:alias:CreateOrganization'] :: CreateOrganization -> Text
+ Amazonka.WorkMail.CreateOrganization: [$sel:clientToken:CreateOrganization'] :: CreateOrganization -> Maybe Text
+ Amazonka.WorkMail.CreateOrganization: [$sel:directoryId:CreateOrganization'] :: CreateOrganization -> Maybe Text
+ Amazonka.WorkMail.CreateOrganization: [$sel:domains:CreateOrganization'] :: CreateOrganization -> Maybe [Domain]
+ Amazonka.WorkMail.CreateOrganization: [$sel:enableInteroperability:CreateOrganization'] :: CreateOrganization -> Maybe Bool
+ Amazonka.WorkMail.CreateOrganization: [$sel:httpStatus:CreateOrganizationResponse'] :: CreateOrganizationResponse -> Int
+ Amazonka.WorkMail.CreateOrganization: [$sel:kmsKeyArn:CreateOrganization'] :: CreateOrganization -> Maybe Text
+ Amazonka.WorkMail.CreateOrganization: [$sel:organizationId:CreateOrganizationResponse'] :: CreateOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.CreateOrganization: createOrganizationResponse_httpStatus :: Lens' CreateOrganizationResponse Int
+ Amazonka.WorkMail.CreateOrganization: createOrganizationResponse_organizationId :: Lens' CreateOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.CreateOrganization: createOrganization_alias :: Lens' CreateOrganization Text
+ Amazonka.WorkMail.CreateOrganization: createOrganization_clientToken :: Lens' CreateOrganization (Maybe Text)
+ Amazonka.WorkMail.CreateOrganization: createOrganization_directoryId :: Lens' CreateOrganization (Maybe Text)
+ Amazonka.WorkMail.CreateOrganization: createOrganization_domains :: Lens' CreateOrganization (Maybe [Domain])
+ Amazonka.WorkMail.CreateOrganization: createOrganization_enableInteroperability :: Lens' CreateOrganization (Maybe Bool)
+ Amazonka.WorkMail.CreateOrganization: createOrganization_kmsKeyArn :: Lens' CreateOrganization (Maybe Text)
+ Amazonka.WorkMail.CreateOrganization: data CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: data CreateOrganizationResponse
+ Amazonka.WorkMail.CreateOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateOrganization.CreateOrganizationResponse
+ Amazonka.WorkMail.CreateOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Classes.Eq Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Classes.Eq Amazonka.WorkMail.CreateOrganization.CreateOrganizationResponse
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Generics.Generic Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Generics.Generic Amazonka.WorkMail.CreateOrganization.CreateOrganizationResponse
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Read.Read Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Read.Read Amazonka.WorkMail.CreateOrganization.CreateOrganizationResponse
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Show.Show Amazonka.WorkMail.CreateOrganization.CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: instance GHC.Show.Show Amazonka.WorkMail.CreateOrganization.CreateOrganizationResponse
+ Amazonka.WorkMail.CreateOrganization: newCreateOrganization :: Text -> CreateOrganization
+ Amazonka.WorkMail.CreateOrganization: newCreateOrganizationResponse :: Int -> CreateOrganizationResponse
+ Amazonka.WorkMail.CreateResource: CreateResource' :: Text -> Text -> ResourceType -> CreateResource
+ Amazonka.WorkMail.CreateResource: CreateResourceResponse' :: Maybe Text -> Int -> CreateResourceResponse
+ Amazonka.WorkMail.CreateResource: [$sel:httpStatus:CreateResourceResponse'] :: CreateResourceResponse -> Int
+ Amazonka.WorkMail.CreateResource: [$sel:name:CreateResource'] :: CreateResource -> Text
+ Amazonka.WorkMail.CreateResource: [$sel:organizationId:CreateResource'] :: CreateResource -> Text
+ Amazonka.WorkMail.CreateResource: [$sel:resourceId:CreateResourceResponse'] :: CreateResourceResponse -> Maybe Text
+ Amazonka.WorkMail.CreateResource: [$sel:type':CreateResource'] :: CreateResource -> ResourceType
+ Amazonka.WorkMail.CreateResource: createResourceResponse_httpStatus :: Lens' CreateResourceResponse Int
+ Amazonka.WorkMail.CreateResource: createResourceResponse_resourceId :: Lens' CreateResourceResponse (Maybe Text)
+ Amazonka.WorkMail.CreateResource: createResource_name :: Lens' CreateResource Text
+ Amazonka.WorkMail.CreateResource: createResource_organizationId :: Lens' CreateResource Text
+ Amazonka.WorkMail.CreateResource: createResource_type :: Lens' CreateResource ResourceType
+ Amazonka.WorkMail.CreateResource: data CreateResource
+ Amazonka.WorkMail.CreateResource: data CreateResourceResponse
+ Amazonka.WorkMail.CreateResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateResource.CreateResourceResponse
+ Amazonka.WorkMail.CreateResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance GHC.Classes.Eq Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance GHC.Classes.Eq Amazonka.WorkMail.CreateResource.CreateResourceResponse
+ Amazonka.WorkMail.CreateResource: instance GHC.Generics.Generic Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance GHC.Generics.Generic Amazonka.WorkMail.CreateResource.CreateResourceResponse
+ Amazonka.WorkMail.CreateResource: instance GHC.Read.Read Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance GHC.Read.Read Amazonka.WorkMail.CreateResource.CreateResourceResponse
+ Amazonka.WorkMail.CreateResource: instance GHC.Show.Show Amazonka.WorkMail.CreateResource.CreateResource
+ Amazonka.WorkMail.CreateResource: instance GHC.Show.Show Amazonka.WorkMail.CreateResource.CreateResourceResponse
+ Amazonka.WorkMail.CreateResource: newCreateResource :: Text -> Text -> ResourceType -> CreateResource
+ Amazonka.WorkMail.CreateResource: newCreateResourceResponse :: Int -> CreateResourceResponse
+ Amazonka.WorkMail.CreateUser: CreateUser' :: Text -> Text -> Text -> Sensitive Text -> CreateUser
+ Amazonka.WorkMail.CreateUser: CreateUserResponse' :: Maybe Text -> Int -> CreateUserResponse
+ Amazonka.WorkMail.CreateUser: [$sel:displayName:CreateUser'] :: CreateUser -> Text
+ Amazonka.WorkMail.CreateUser: [$sel:httpStatus:CreateUserResponse'] :: CreateUserResponse -> Int
+ Amazonka.WorkMail.CreateUser: [$sel:name:CreateUser'] :: CreateUser -> Text
+ Amazonka.WorkMail.CreateUser: [$sel:organizationId:CreateUser'] :: CreateUser -> Text
+ Amazonka.WorkMail.CreateUser: [$sel:password:CreateUser'] :: CreateUser -> Sensitive Text
+ Amazonka.WorkMail.CreateUser: [$sel:userId:CreateUserResponse'] :: CreateUserResponse -> Maybe Text
+ Amazonka.WorkMail.CreateUser: createUserResponse_httpStatus :: Lens' CreateUserResponse Int
+ Amazonka.WorkMail.CreateUser: createUserResponse_userId :: Lens' CreateUserResponse (Maybe Text)
+ Amazonka.WorkMail.CreateUser: createUser_displayName :: Lens' CreateUser Text
+ Amazonka.WorkMail.CreateUser: createUser_name :: Lens' CreateUser Text
+ Amazonka.WorkMail.CreateUser: createUser_organizationId :: Lens' CreateUser Text
+ Amazonka.WorkMail.CreateUser: createUser_password :: Lens' CreateUser Text
+ Amazonka.WorkMail.CreateUser: data CreateUser
+ Amazonka.WorkMail.CreateUser: data CreateUserResponse
+ Amazonka.WorkMail.CreateUser: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance Control.DeepSeq.NFData Amazonka.WorkMail.CreateUser.CreateUserResponse
+ Amazonka.WorkMail.CreateUser: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance GHC.Classes.Eq Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance GHC.Classes.Eq Amazonka.WorkMail.CreateUser.CreateUserResponse
+ Amazonka.WorkMail.CreateUser: instance GHC.Generics.Generic Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance GHC.Generics.Generic Amazonka.WorkMail.CreateUser.CreateUserResponse
+ Amazonka.WorkMail.CreateUser: instance GHC.Read.Read Amazonka.WorkMail.CreateUser.CreateUserResponse
+ Amazonka.WorkMail.CreateUser: instance GHC.Show.Show Amazonka.WorkMail.CreateUser.CreateUser
+ Amazonka.WorkMail.CreateUser: instance GHC.Show.Show Amazonka.WorkMail.CreateUser.CreateUserResponse
+ Amazonka.WorkMail.CreateUser: newCreateUser :: Text -> Text -> Text -> Text -> CreateUser
+ Amazonka.WorkMail.CreateUser: newCreateUserResponse :: Int -> CreateUserResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: DeleteAccessControlRule' :: Text -> Text -> DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: DeleteAccessControlRuleResponse' :: Int -> DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: [$sel:httpStatus:DeleteAccessControlRuleResponse'] :: DeleteAccessControlRuleResponse -> Int
+ Amazonka.WorkMail.DeleteAccessControlRule: [$sel:name:DeleteAccessControlRule'] :: DeleteAccessControlRule -> Text
+ Amazonka.WorkMail.DeleteAccessControlRule: [$sel:organizationId:DeleteAccessControlRule'] :: DeleteAccessControlRule -> Text
+ Amazonka.WorkMail.DeleteAccessControlRule: data DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: data DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: deleteAccessControlRuleResponse_httpStatus :: Lens' DeleteAccessControlRuleResponse Int
+ Amazonka.WorkMail.DeleteAccessControlRule: deleteAccessControlRule_name :: Lens' DeleteAccessControlRule Text
+ Amazonka.WorkMail.DeleteAccessControlRule: deleteAccessControlRule_organizationId :: Lens' DeleteAccessControlRule Text
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Read.Read Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Read.Read Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Show.Show Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: instance GHC.Show.Show Amazonka.WorkMail.DeleteAccessControlRule.DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAccessControlRule: newDeleteAccessControlRule :: Text -> Text -> DeleteAccessControlRule
+ Amazonka.WorkMail.DeleteAccessControlRule: newDeleteAccessControlRuleResponse :: Int -> DeleteAccessControlRuleResponse
+ Amazonka.WorkMail.DeleteAlias: DeleteAlias' :: Text -> Text -> Text -> DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: DeleteAliasResponse' :: Int -> DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAlias: [$sel:alias:DeleteAlias'] :: DeleteAlias -> Text
+ Amazonka.WorkMail.DeleteAlias: [$sel:entityId:DeleteAlias'] :: DeleteAlias -> Text
+ Amazonka.WorkMail.DeleteAlias: [$sel:httpStatus:DeleteAliasResponse'] :: DeleteAliasResponse -> Int
+ Amazonka.WorkMail.DeleteAlias: [$sel:organizationId:DeleteAlias'] :: DeleteAlias -> Text
+ Amazonka.WorkMail.DeleteAlias: data DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: data DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAlias: deleteAliasResponse_httpStatus :: Lens' DeleteAliasResponse Int
+ Amazonka.WorkMail.DeleteAlias: deleteAlias_alias :: Lens' DeleteAlias Text
+ Amazonka.WorkMail.DeleteAlias: deleteAlias_entityId :: Lens' DeleteAlias Text
+ Amazonka.WorkMail.DeleteAlias: deleteAlias_organizationId :: Lens' DeleteAlias Text
+ Amazonka.WorkMail.DeleteAlias: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteAlias.DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAlias: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteAlias.DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteAlias.DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Read.Read Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Read.Read Amazonka.WorkMail.DeleteAlias.DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Show.Show Amazonka.WorkMail.DeleteAlias.DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: instance GHC.Show.Show Amazonka.WorkMail.DeleteAlias.DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAlias: newDeleteAlias :: Text -> Text -> Text -> DeleteAlias
+ Amazonka.WorkMail.DeleteAlias: newDeleteAliasResponse :: Int -> DeleteAliasResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: DeleteAvailabilityConfiguration' :: Text -> Text -> DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: DeleteAvailabilityConfigurationResponse' :: Int -> DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: [$sel:domainName:DeleteAvailabilityConfiguration'] :: DeleteAvailabilityConfiguration -> Text
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: [$sel:httpStatus:DeleteAvailabilityConfigurationResponse'] :: DeleteAvailabilityConfigurationResponse -> Int
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: [$sel:organizationId:DeleteAvailabilityConfiguration'] :: DeleteAvailabilityConfiguration -> Text
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: data DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: data DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: deleteAvailabilityConfigurationResponse_httpStatus :: Lens' DeleteAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: deleteAvailabilityConfiguration_domainName :: Lens' DeleteAvailabilityConfiguration Text
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: deleteAvailabilityConfiguration_organizationId :: Lens' DeleteAvailabilityConfiguration Text
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Read.Read Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Read.Read Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.DeleteAvailabilityConfiguration.DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: newDeleteAvailabilityConfiguration :: Text -> Text -> DeleteAvailabilityConfiguration
+ Amazonka.WorkMail.DeleteAvailabilityConfiguration: newDeleteAvailabilityConfigurationResponse :: Int -> DeleteAvailabilityConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: DeleteEmailMonitoringConfiguration' :: Text -> DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: DeleteEmailMonitoringConfigurationResponse' :: Int -> DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: [$sel:httpStatus:DeleteEmailMonitoringConfigurationResponse'] :: DeleteEmailMonitoringConfigurationResponse -> Int
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: [$sel:organizationId:DeleteEmailMonitoringConfiguration'] :: DeleteEmailMonitoringConfiguration -> Text
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: data DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: data DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: deleteEmailMonitoringConfigurationResponse_httpStatus :: Lens' DeleteEmailMonitoringConfigurationResponse Int
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: deleteEmailMonitoringConfiguration_organizationId :: Lens' DeleteEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Read.Read Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Read.Read Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Show.Show Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: instance GHC.Show.Show Amazonka.WorkMail.DeleteEmailMonitoringConfiguration.DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: newDeleteEmailMonitoringConfiguration :: Text -> DeleteEmailMonitoringConfiguration
+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration: newDeleteEmailMonitoringConfigurationResponse :: Int -> DeleteEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DeleteGroup: DeleteGroup' :: Text -> Text -> DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: DeleteGroupResponse' :: Int -> DeleteGroupResponse
+ Amazonka.WorkMail.DeleteGroup: [$sel:groupId:DeleteGroup'] :: DeleteGroup -> Text
+ Amazonka.WorkMail.DeleteGroup: [$sel:httpStatus:DeleteGroupResponse'] :: DeleteGroupResponse -> Int
+ Amazonka.WorkMail.DeleteGroup: [$sel:organizationId:DeleteGroup'] :: DeleteGroup -> Text
+ Amazonka.WorkMail.DeleteGroup: data DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: data DeleteGroupResponse
+ Amazonka.WorkMail.DeleteGroup: deleteGroupResponse_httpStatus :: Lens' DeleteGroupResponse Int
+ Amazonka.WorkMail.DeleteGroup: deleteGroup_groupId :: Lens' DeleteGroup Text
+ Amazonka.WorkMail.DeleteGroup: deleteGroup_organizationId :: Lens' DeleteGroup Text
+ Amazonka.WorkMail.DeleteGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteGroup.DeleteGroupResponse
+ Amazonka.WorkMail.DeleteGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteGroup.DeleteGroupResponse
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteGroup.DeleteGroupResponse
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Read.Read Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Read.Read Amazonka.WorkMail.DeleteGroup.DeleteGroupResponse
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Show.Show Amazonka.WorkMail.DeleteGroup.DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: instance GHC.Show.Show Amazonka.WorkMail.DeleteGroup.DeleteGroupResponse
+ Amazonka.WorkMail.DeleteGroup: newDeleteGroup :: Text -> Text -> DeleteGroup
+ Amazonka.WorkMail.DeleteGroup: newDeleteGroupResponse :: Int -> DeleteGroupResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: DeleteImpersonationRole' :: Text -> Text -> DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: DeleteImpersonationRoleResponse' :: Int -> DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: [$sel:httpStatus:DeleteImpersonationRoleResponse'] :: DeleteImpersonationRoleResponse -> Int
+ Amazonka.WorkMail.DeleteImpersonationRole: [$sel:impersonationRoleId:DeleteImpersonationRole'] :: DeleteImpersonationRole -> Text
+ Amazonka.WorkMail.DeleteImpersonationRole: [$sel:organizationId:DeleteImpersonationRole'] :: DeleteImpersonationRole -> Text
+ Amazonka.WorkMail.DeleteImpersonationRole: data DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: data DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: deleteImpersonationRoleResponse_httpStatus :: Lens' DeleteImpersonationRoleResponse Int
+ Amazonka.WorkMail.DeleteImpersonationRole: deleteImpersonationRole_impersonationRoleId :: Lens' DeleteImpersonationRole Text
+ Amazonka.WorkMail.DeleteImpersonationRole: deleteImpersonationRole_organizationId :: Lens' DeleteImpersonationRole Text
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.DeleteImpersonationRole.DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteImpersonationRole: newDeleteImpersonationRole :: Text -> Text -> DeleteImpersonationRole
+ Amazonka.WorkMail.DeleteImpersonationRole: newDeleteImpersonationRoleResponse :: Int -> DeleteImpersonationRoleResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: DeleteMailboxPermissions' :: Text -> Text -> Text -> DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: DeleteMailboxPermissionsResponse' :: Int -> DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: [$sel:entityId:DeleteMailboxPermissions'] :: DeleteMailboxPermissions -> Text
+ Amazonka.WorkMail.DeleteMailboxPermissions: [$sel:granteeId:DeleteMailboxPermissions'] :: DeleteMailboxPermissions -> Text
+ Amazonka.WorkMail.DeleteMailboxPermissions: [$sel:httpStatus:DeleteMailboxPermissionsResponse'] :: DeleteMailboxPermissionsResponse -> Int
+ Amazonka.WorkMail.DeleteMailboxPermissions: [$sel:organizationId:DeleteMailboxPermissions'] :: DeleteMailboxPermissions -> Text
+ Amazonka.WorkMail.DeleteMailboxPermissions: data DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: data DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: deleteMailboxPermissionsResponse_httpStatus :: Lens' DeleteMailboxPermissionsResponse Int
+ Amazonka.WorkMail.DeleteMailboxPermissions: deleteMailboxPermissions_entityId :: Lens' DeleteMailboxPermissions Text
+ Amazonka.WorkMail.DeleteMailboxPermissions: deleteMailboxPermissions_granteeId :: Lens' DeleteMailboxPermissions Text
+ Amazonka.WorkMail.DeleteMailboxPermissions: deleteMailboxPermissions_organizationId :: Lens' DeleteMailboxPermissions Text
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Read.Read Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Read.Read Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Show.Show Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: instance GHC.Show.Show Amazonka.WorkMail.DeleteMailboxPermissions.DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMailboxPermissions: newDeleteMailboxPermissions :: Text -> Text -> Text -> DeleteMailboxPermissions
+ Amazonka.WorkMail.DeleteMailboxPermissions: newDeleteMailboxPermissionsResponse :: Int -> DeleteMailboxPermissionsResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: DeleteMobileDeviceAccessOverride' :: Text -> Text -> Text -> DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: DeleteMobileDeviceAccessOverrideResponse' :: Int -> DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: [$sel:deviceId:DeleteMobileDeviceAccessOverride'] :: DeleteMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: [$sel:httpStatus:DeleteMobileDeviceAccessOverrideResponse'] :: DeleteMobileDeviceAccessOverrideResponse -> Int
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: [$sel:organizationId:DeleteMobileDeviceAccessOverride'] :: DeleteMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: [$sel:userId:DeleteMobileDeviceAccessOverride'] :: DeleteMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: data DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: data DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: deleteMobileDeviceAccessOverrideResponse_httpStatus :: Lens' DeleteMobileDeviceAccessOverrideResponse Int
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: deleteMobileDeviceAccessOverride_deviceId :: Lens' DeleteMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: deleteMobileDeviceAccessOverride_organizationId :: Lens' DeleteMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: deleteMobileDeviceAccessOverride_userId :: Lens' DeleteMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Read.Read Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Read.Read Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Show.Show Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: instance GHC.Show.Show Amazonka.WorkMail.DeleteMobileDeviceAccessOverride.DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: newDeleteMobileDeviceAccessOverride :: Text -> Text -> Text -> DeleteMobileDeviceAccessOverride
+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride: newDeleteMobileDeviceAccessOverrideResponse :: Int -> DeleteMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: DeleteMobileDeviceAccessRule' :: Text -> Text -> DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: DeleteMobileDeviceAccessRuleResponse' :: Int -> DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: [$sel:httpStatus:DeleteMobileDeviceAccessRuleResponse'] :: DeleteMobileDeviceAccessRuleResponse -> Int
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: [$sel:mobileDeviceAccessRuleId:DeleteMobileDeviceAccessRule'] :: DeleteMobileDeviceAccessRule -> Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: [$sel:organizationId:DeleteMobileDeviceAccessRule'] :: DeleteMobileDeviceAccessRule -> Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: data DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: data DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: deleteMobileDeviceAccessRuleResponse_httpStatus :: Lens' DeleteMobileDeviceAccessRuleResponse Int
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' DeleteMobileDeviceAccessRule Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: deleteMobileDeviceAccessRule_organizationId :: Lens' DeleteMobileDeviceAccessRule Text
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Read.Read Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Read.Read Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Show.Show Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: instance GHC.Show.Show Amazonka.WorkMail.DeleteMobileDeviceAccessRule.DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: newDeleteMobileDeviceAccessRule :: Text -> Text -> DeleteMobileDeviceAccessRule
+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule: newDeleteMobileDeviceAccessRuleResponse :: Int -> DeleteMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.DeleteOrganization: DeleteOrganization' :: Maybe Text -> Text -> Bool -> DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: DeleteOrganizationResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteOrganization: [$sel:clientToken:DeleteOrganization'] :: DeleteOrganization -> Maybe Text
+ Amazonka.WorkMail.DeleteOrganization: [$sel:deleteDirectory:DeleteOrganization'] :: DeleteOrganization -> Bool
+ Amazonka.WorkMail.DeleteOrganization: [$sel:httpStatus:DeleteOrganizationResponse'] :: DeleteOrganizationResponse -> Int
+ Amazonka.WorkMail.DeleteOrganization: [$sel:organizationId:DeleteOrganization'] :: DeleteOrganization -> Text
+ Amazonka.WorkMail.DeleteOrganization: [$sel:organizationId:DeleteOrganizationResponse'] :: DeleteOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DeleteOrganization: [$sel:state:DeleteOrganizationResponse'] :: DeleteOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DeleteOrganization: data DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: data DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteOrganization: deleteOrganizationResponse_httpStatus :: Lens' DeleteOrganizationResponse Int
+ Amazonka.WorkMail.DeleteOrganization: deleteOrganizationResponse_organizationId :: Lens' DeleteOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DeleteOrganization: deleteOrganizationResponse_state :: Lens' DeleteOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DeleteOrganization: deleteOrganization_clientToken :: Lens' DeleteOrganization (Maybe Text)
+ Amazonka.WorkMail.DeleteOrganization: deleteOrganization_deleteDirectory :: Lens' DeleteOrganization Bool
+ Amazonka.WorkMail.DeleteOrganization: deleteOrganization_organizationId :: Lens' DeleteOrganization Text
+ Amazonka.WorkMail.DeleteOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Read.Read Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Read.Read Amazonka.WorkMail.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Show.Show Amazonka.WorkMail.DeleteOrganization.DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: instance GHC.Show.Show Amazonka.WorkMail.DeleteOrganization.DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteOrganization: newDeleteOrganization :: Text -> Bool -> DeleteOrganization
+ Amazonka.WorkMail.DeleteOrganization: newDeleteOrganizationResponse :: Int -> DeleteOrganizationResponse
+ Amazonka.WorkMail.DeleteResource: DeleteResource' :: Text -> Text -> DeleteResource
+ Amazonka.WorkMail.DeleteResource: DeleteResourceResponse' :: Int -> DeleteResourceResponse
+ Amazonka.WorkMail.DeleteResource: [$sel:httpStatus:DeleteResourceResponse'] :: DeleteResourceResponse -> Int
+ Amazonka.WorkMail.DeleteResource: [$sel:organizationId:DeleteResource'] :: DeleteResource -> Text
+ Amazonka.WorkMail.DeleteResource: [$sel:resourceId:DeleteResource'] :: DeleteResource -> Text
+ Amazonka.WorkMail.DeleteResource: data DeleteResource
+ Amazonka.WorkMail.DeleteResource: data DeleteResourceResponse
+ Amazonka.WorkMail.DeleteResource: deleteResourceResponse_httpStatus :: Lens' DeleteResourceResponse Int
+ Amazonka.WorkMail.DeleteResource: deleteResource_organizationId :: Lens' DeleteResource Text
+ Amazonka.WorkMail.DeleteResource: deleteResource_resourceId :: Lens' DeleteResource Text
+ Amazonka.WorkMail.DeleteResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteResource.DeleteResourceResponse
+ Amazonka.WorkMail.DeleteResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteResource.DeleteResourceResponse
+ Amazonka.WorkMail.DeleteResource: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteResource.DeleteResourceResponse
+ Amazonka.WorkMail.DeleteResource: instance GHC.Read.Read Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance GHC.Read.Read Amazonka.WorkMail.DeleteResource.DeleteResourceResponse
+ Amazonka.WorkMail.DeleteResource: instance GHC.Show.Show Amazonka.WorkMail.DeleteResource.DeleteResource
+ Amazonka.WorkMail.DeleteResource: instance GHC.Show.Show Amazonka.WorkMail.DeleteResource.DeleteResourceResponse
+ Amazonka.WorkMail.DeleteResource: newDeleteResource :: Text -> Text -> DeleteResource
+ Amazonka.WorkMail.DeleteResource: newDeleteResourceResponse :: Int -> DeleteResourceResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: DeleteRetentionPolicy' :: Text -> Text -> DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: DeleteRetentionPolicyResponse' :: Int -> DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: [$sel:httpStatus:DeleteRetentionPolicyResponse'] :: DeleteRetentionPolicyResponse -> Int
+ Amazonka.WorkMail.DeleteRetentionPolicy: [$sel:id:DeleteRetentionPolicy'] :: DeleteRetentionPolicy -> Text
+ Amazonka.WorkMail.DeleteRetentionPolicy: [$sel:organizationId:DeleteRetentionPolicy'] :: DeleteRetentionPolicy -> Text
+ Amazonka.WorkMail.DeleteRetentionPolicy: data DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: data DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: deleteRetentionPolicyResponse_httpStatus :: Lens' DeleteRetentionPolicyResponse Int
+ Amazonka.WorkMail.DeleteRetentionPolicy: deleteRetentionPolicy_id :: Lens' DeleteRetentionPolicy Text
+ Amazonka.WorkMail.DeleteRetentionPolicy: deleteRetentionPolicy_organizationId :: Lens' DeleteRetentionPolicy Text
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Read.Read Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Read.Read Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Show.Show Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: instance GHC.Show.Show Amazonka.WorkMail.DeleteRetentionPolicy.DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteRetentionPolicy: newDeleteRetentionPolicy :: Text -> Text -> DeleteRetentionPolicy
+ Amazonka.WorkMail.DeleteRetentionPolicy: newDeleteRetentionPolicyResponse :: Int -> DeleteRetentionPolicyResponse
+ Amazonka.WorkMail.DeleteUser: DeleteUser' :: Text -> Text -> DeleteUser
+ Amazonka.WorkMail.DeleteUser: DeleteUserResponse' :: Int -> DeleteUserResponse
+ Amazonka.WorkMail.DeleteUser: [$sel:httpStatus:DeleteUserResponse'] :: DeleteUserResponse -> Int
+ Amazonka.WorkMail.DeleteUser: [$sel:organizationId:DeleteUser'] :: DeleteUser -> Text
+ Amazonka.WorkMail.DeleteUser: [$sel:userId:DeleteUser'] :: DeleteUser -> Text
+ Amazonka.WorkMail.DeleteUser: data DeleteUser
+ Amazonka.WorkMail.DeleteUser: data DeleteUserResponse
+ Amazonka.WorkMail.DeleteUser: deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
+ Amazonka.WorkMail.DeleteUser: deleteUser_organizationId :: Lens' DeleteUser Text
+ Amazonka.WorkMail.DeleteUser: deleteUser_userId :: Lens' DeleteUser Text
+ Amazonka.WorkMail.DeleteUser: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeleteUser.DeleteUserResponse
+ Amazonka.WorkMail.DeleteUser: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance GHC.Classes.Eq Amazonka.WorkMail.DeleteUser.DeleteUserResponse
+ Amazonka.WorkMail.DeleteUser: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance GHC.Generics.Generic Amazonka.WorkMail.DeleteUser.DeleteUserResponse
+ Amazonka.WorkMail.DeleteUser: instance GHC.Read.Read Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance GHC.Read.Read Amazonka.WorkMail.DeleteUser.DeleteUserResponse
+ Amazonka.WorkMail.DeleteUser: instance GHC.Show.Show Amazonka.WorkMail.DeleteUser.DeleteUser
+ Amazonka.WorkMail.DeleteUser: instance GHC.Show.Show Amazonka.WorkMail.DeleteUser.DeleteUserResponse
+ Amazonka.WorkMail.DeleteUser: newDeleteUser :: Text -> Text -> DeleteUser
+ Amazonka.WorkMail.DeleteUser: newDeleteUserResponse :: Int -> DeleteUserResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: DeregisterFromWorkMail' :: Text -> Text -> DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: DeregisterFromWorkMailResponse' :: Int -> DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: [$sel:entityId:DeregisterFromWorkMail'] :: DeregisterFromWorkMail -> Text
+ Amazonka.WorkMail.DeregisterFromWorkMail: [$sel:httpStatus:DeregisterFromWorkMailResponse'] :: DeregisterFromWorkMailResponse -> Int
+ Amazonka.WorkMail.DeregisterFromWorkMail: [$sel:organizationId:DeregisterFromWorkMail'] :: DeregisterFromWorkMail -> Text
+ Amazonka.WorkMail.DeregisterFromWorkMail: data DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: data DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: deregisterFromWorkMailResponse_httpStatus :: Lens' DeregisterFromWorkMailResponse Int
+ Amazonka.WorkMail.DeregisterFromWorkMail: deregisterFromWorkMail_entityId :: Lens' DeregisterFromWorkMail Text
+ Amazonka.WorkMail.DeregisterFromWorkMail: deregisterFromWorkMail_organizationId :: Lens' DeregisterFromWorkMail Text
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Classes.Eq Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Classes.Eq Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Generics.Generic Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Generics.Generic Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Read.Read Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Read.Read Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Show.Show Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: instance GHC.Show.Show Amazonka.WorkMail.DeregisterFromWorkMail.DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterFromWorkMail: newDeregisterFromWorkMail :: Text -> Text -> DeregisterFromWorkMail
+ Amazonka.WorkMail.DeregisterFromWorkMail: newDeregisterFromWorkMailResponse :: Int -> DeregisterFromWorkMailResponse
+ Amazonka.WorkMail.DeregisterMailDomain: DeregisterMailDomain' :: Text -> Text -> DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: DeregisterMailDomainResponse' :: Int -> DeregisterMailDomainResponse
+ Amazonka.WorkMail.DeregisterMailDomain: [$sel:domainName:DeregisterMailDomain'] :: DeregisterMailDomain -> Text
+ Amazonka.WorkMail.DeregisterMailDomain: [$sel:httpStatus:DeregisterMailDomainResponse'] :: DeregisterMailDomainResponse -> Int
+ Amazonka.WorkMail.DeregisterMailDomain: [$sel:organizationId:DeregisterMailDomain'] :: DeregisterMailDomain -> Text
+ Amazonka.WorkMail.DeregisterMailDomain: data DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: data DeregisterMailDomainResponse
+ Amazonka.WorkMail.DeregisterMailDomain: deregisterMailDomainResponse_httpStatus :: Lens' DeregisterMailDomainResponse Int
+ Amazonka.WorkMail.DeregisterMailDomain: deregisterMailDomain_domainName :: Lens' DeregisterMailDomain Text
+ Amazonka.WorkMail.DeregisterMailDomain: deregisterMailDomain_organizationId :: Lens' DeregisterMailDomain Text
+ Amazonka.WorkMail.DeregisterMailDomain: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomainResponse
+ Amazonka.WorkMail.DeregisterMailDomain: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomainResponse
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomainResponse
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Read.Read Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Read.Read Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomainResponse
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Show.Show Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: instance GHC.Show.Show Amazonka.WorkMail.DeregisterMailDomain.DeregisterMailDomainResponse
+ Amazonka.WorkMail.DeregisterMailDomain: newDeregisterMailDomain :: Text -> Text -> DeregisterMailDomain
+ Amazonka.WorkMail.DeregisterMailDomain: newDeregisterMailDomainResponse :: Int -> DeregisterMailDomainResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: DescribeEmailMonitoringConfiguration' :: Text -> DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: DescribeEmailMonitoringConfigurationResponse' :: Maybe Text -> Maybe Text -> Int -> DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: [$sel:httpStatus:DescribeEmailMonitoringConfigurationResponse'] :: DescribeEmailMonitoringConfigurationResponse -> Int
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: [$sel:logGroupArn:DescribeEmailMonitoringConfigurationResponse'] :: DescribeEmailMonitoringConfigurationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: [$sel:organizationId:DescribeEmailMonitoringConfiguration'] :: DescribeEmailMonitoringConfiguration -> Text
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: [$sel:roleArn:DescribeEmailMonitoringConfigurationResponse'] :: DescribeEmailMonitoringConfigurationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: data DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: data DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: describeEmailMonitoringConfigurationResponse_httpStatus :: Lens' DescribeEmailMonitoringConfigurationResponse Int
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: describeEmailMonitoringConfigurationResponse_logGroupArn :: Lens' DescribeEmailMonitoringConfigurationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: describeEmailMonitoringConfigurationResponse_roleArn :: Lens' DescribeEmailMonitoringConfigurationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: describeEmailMonitoringConfiguration_organizationId :: Lens' DescribeEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Read.Read Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Read.Read Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Show.Show Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: instance GHC.Show.Show Amazonka.WorkMail.DescribeEmailMonitoringConfiguration.DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: newDescribeEmailMonitoringConfiguration :: Text -> DescribeEmailMonitoringConfiguration
+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration: newDescribeEmailMonitoringConfigurationResponse :: Int -> DescribeEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.DescribeGroup: DescribeGroup' :: Text -> Text -> DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: DescribeGroupResponse' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Int -> DescribeGroupResponse
+ Amazonka.WorkMail.DescribeGroup: [$sel:disabledDate:DescribeGroupResponse'] :: DescribeGroupResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeGroup: [$sel:email:DescribeGroupResponse'] :: DescribeGroupResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeGroup: [$sel:enabledDate:DescribeGroupResponse'] :: DescribeGroupResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeGroup: [$sel:groupId:DescribeGroup'] :: DescribeGroup -> Text
+ Amazonka.WorkMail.DescribeGroup: [$sel:groupId:DescribeGroupResponse'] :: DescribeGroupResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeGroup: [$sel:httpStatus:DescribeGroupResponse'] :: DescribeGroupResponse -> Int
+ Amazonka.WorkMail.DescribeGroup: [$sel:name:DescribeGroupResponse'] :: DescribeGroupResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeGroup: [$sel:organizationId:DescribeGroup'] :: DescribeGroup -> Text
+ Amazonka.WorkMail.DescribeGroup: [$sel:state:DescribeGroupResponse'] :: DescribeGroupResponse -> Maybe EntityState
+ Amazonka.WorkMail.DescribeGroup: data DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: data DescribeGroupResponse
+ Amazonka.WorkMail.DescribeGroup: describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeGroup: describeGroupResponse_email :: Lens' DescribeGroupResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeGroup: describeGroupResponse_enabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeGroup: describeGroupResponse_groupId :: Lens' DescribeGroupResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeGroup: describeGroupResponse_httpStatus :: Lens' DescribeGroupResponse Int
+ Amazonka.WorkMail.DescribeGroup: describeGroupResponse_name :: Lens' DescribeGroupResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeGroup: describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState)
+ Amazonka.WorkMail.DescribeGroup: describeGroup_groupId :: Lens' DescribeGroup Text
+ Amazonka.WorkMail.DescribeGroup: describeGroup_organizationId :: Lens' DescribeGroup Text
+ Amazonka.WorkMail.DescribeGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeGroup.DescribeGroupResponse
+ Amazonka.WorkMail.DescribeGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeGroup.DescribeGroupResponse
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeGroup.DescribeGroupResponse
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Read.Read Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Read.Read Amazonka.WorkMail.DescribeGroup.DescribeGroupResponse
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Show.Show Amazonka.WorkMail.DescribeGroup.DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: instance GHC.Show.Show Amazonka.WorkMail.DescribeGroup.DescribeGroupResponse
+ Amazonka.WorkMail.DescribeGroup: newDescribeGroup :: Text -> Text -> DescribeGroup
+ Amazonka.WorkMail.DescribeGroup: newDescribeGroupResponse :: Int -> DescribeGroupResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: DescribeInboundDmarcSettings' :: Text -> DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: DescribeInboundDmarcSettingsResponse' :: Maybe Bool -> Int -> DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: [$sel:enforced:DescribeInboundDmarcSettingsResponse'] :: DescribeInboundDmarcSettingsResponse -> Maybe Bool
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: [$sel:httpStatus:DescribeInboundDmarcSettingsResponse'] :: DescribeInboundDmarcSettingsResponse -> Int
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: [$sel:organizationId:DescribeInboundDmarcSettings'] :: DescribeInboundDmarcSettings -> Text
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: data DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: data DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: describeInboundDmarcSettingsResponse_enforced :: Lens' DescribeInboundDmarcSettingsResponse (Maybe Bool)
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: describeInboundDmarcSettingsResponse_httpStatus :: Lens' DescribeInboundDmarcSettingsResponse Int
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: describeInboundDmarcSettings_organizationId :: Lens' DescribeInboundDmarcSettings Text
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Read.Read Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Read.Read Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Show.Show Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: instance GHC.Show.Show Amazonka.WorkMail.DescribeInboundDmarcSettings.DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: newDescribeInboundDmarcSettings :: Text -> DescribeInboundDmarcSettings
+ Amazonka.WorkMail.DescribeInboundDmarcSettings: newDescribeInboundDmarcSettingsResponse :: Int -> DescribeInboundDmarcSettingsResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: DescribeMailboxExportJob' :: Text -> Text -> DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: DescribeMailboxExportJobResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe MailboxExportJobState -> Int -> DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:description:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:endTime:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:entityId:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:errorInfo:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:estimatedProgress:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Natural
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:httpStatus:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Int
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:jobId:DescribeMailboxExportJob'] :: DescribeMailboxExportJob -> Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:kmsKeyArn:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:organizationId:DescribeMailboxExportJob'] :: DescribeMailboxExportJob -> Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:roleArn:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:s3BucketName:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:s3Path:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:s3Prefix:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:startTime:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeMailboxExportJob: [$sel:state:DescribeMailboxExportJobResponse'] :: DescribeMailboxExportJobResponse -> Maybe MailboxExportJobState
+ Amazonka.WorkMail.DescribeMailboxExportJob: data DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: data DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_description :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_endTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_entityId :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_errorInfo :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_estimatedProgress :: Lens' DescribeMailboxExportJobResponse (Maybe Natural)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_httpStatus :: Lens' DescribeMailboxExportJobResponse Int
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_kmsKeyArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_roleArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_s3BucketName :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_s3Path :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_s3Prefix :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_startTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJobResponse_state :: Lens' DescribeMailboxExportJobResponse (Maybe MailboxExportJobState)
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJob_jobId :: Lens' DescribeMailboxExportJob Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: describeMailboxExportJob_organizationId :: Lens' DescribeMailboxExportJob Text
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Read.Read Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Read.Read Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Show.Show Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: instance GHC.Show.Show Amazonka.WorkMail.DescribeMailboxExportJob.DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeMailboxExportJob: newDescribeMailboxExportJob :: Text -> Text -> DescribeMailboxExportJob
+ Amazonka.WorkMail.DescribeMailboxExportJob: newDescribeMailboxExportJobResponse :: Int -> DescribeMailboxExportJobResponse
+ Amazonka.WorkMail.DescribeOrganization: DescribeOrganization' :: Text -> DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: DescribeOrganizationResponse' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeOrganization: [$sel:alias:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:arn:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:completedDate:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeOrganization: [$sel:defaultMailDomain:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:directoryId:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:directoryType:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:errorMessage:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:httpStatus:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Int
+ Amazonka.WorkMail.DescribeOrganization: [$sel:organizationId:DescribeOrganization'] :: DescribeOrganization -> Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:organizationId:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: [$sel:state:DescribeOrganizationResponse'] :: DescribeOrganizationResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeOrganization: data DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: data DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_alias :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_arn :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_completedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_directoryId :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_directoryType :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_errorMessage :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_organizationId :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganizationResponse_state :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeOrganization: describeOrganization_organizationId :: Lens' DescribeOrganization Text
+ Amazonka.WorkMail.DescribeOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Read.Read Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Read.Read Amazonka.WorkMail.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Show.Show Amazonka.WorkMail.DescribeOrganization.DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: instance GHC.Show.Show Amazonka.WorkMail.DescribeOrganization.DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeOrganization: newDescribeOrganization :: Text -> DescribeOrganization
+ Amazonka.WorkMail.DescribeOrganization: newDescribeOrganizationResponse :: Int -> DescribeOrganizationResponse
+ Amazonka.WorkMail.DescribeResource: DescribeResource' :: Text -> Text -> DescribeResource
+ Amazonka.WorkMail.DescribeResource: DescribeResourceResponse' :: Maybe BookingOptions -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe ResourceType -> Int -> DescribeResourceResponse
+ Amazonka.WorkMail.DescribeResource: [$sel:bookingOptions:DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe BookingOptions
+ Amazonka.WorkMail.DescribeResource: [$sel:disabledDate:DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeResource: [$sel:email:DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeResource: [$sel:enabledDate:DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeResource: [$sel:httpStatus:DescribeResourceResponse'] :: DescribeResourceResponse -> Int
+ Amazonka.WorkMail.DescribeResource: [$sel:name:DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeResource: [$sel:organizationId:DescribeResource'] :: DescribeResource -> Text
+ Amazonka.WorkMail.DescribeResource: [$sel:resourceId:DescribeResource'] :: DescribeResource -> Text
+ Amazonka.WorkMail.DescribeResource: [$sel:resourceId:DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeResource: [$sel:state:DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe EntityState
+ Amazonka.WorkMail.DescribeResource: [$sel:type':DescribeResourceResponse'] :: DescribeResourceResponse -> Maybe ResourceType
+ Amazonka.WorkMail.DescribeResource: data DescribeResource
+ Amazonka.WorkMail.DescribeResource: data DescribeResourceResponse
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_bookingOptions :: Lens' DescribeResourceResponse (Maybe BookingOptions)
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_disabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_email :: Lens' DescribeResourceResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_enabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_httpStatus :: Lens' DescribeResourceResponse Int
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_name :: Lens' DescribeResourceResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_resourceId :: Lens' DescribeResourceResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_state :: Lens' DescribeResourceResponse (Maybe EntityState)
+ Amazonka.WorkMail.DescribeResource: describeResourceResponse_type :: Lens' DescribeResourceResponse (Maybe ResourceType)
+ Amazonka.WorkMail.DescribeResource: describeResource_organizationId :: Lens' DescribeResource Text
+ Amazonka.WorkMail.DescribeResource: describeResource_resourceId :: Lens' DescribeResource Text
+ Amazonka.WorkMail.DescribeResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeResource.DescribeResourceResponse
+ Amazonka.WorkMail.DescribeResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeResource.DescribeResourceResponse
+ Amazonka.WorkMail.DescribeResource: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeResource.DescribeResourceResponse
+ Amazonka.WorkMail.DescribeResource: instance GHC.Read.Read Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance GHC.Read.Read Amazonka.WorkMail.DescribeResource.DescribeResourceResponse
+ Amazonka.WorkMail.DescribeResource: instance GHC.Show.Show Amazonka.WorkMail.DescribeResource.DescribeResource
+ Amazonka.WorkMail.DescribeResource: instance GHC.Show.Show Amazonka.WorkMail.DescribeResource.DescribeResourceResponse
+ Amazonka.WorkMail.DescribeResource: newDescribeResource :: Text -> Text -> DescribeResource
+ Amazonka.WorkMail.DescribeResource: newDescribeResourceResponse :: Int -> DescribeResourceResponse
+ Amazonka.WorkMail.DescribeUser: DescribeUser' :: Text -> Text -> DescribeUser
+ Amazonka.WorkMail.DescribeUser: DescribeUserResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe EntityState -> Maybe Text -> Maybe UserRole -> Int -> DescribeUserResponse
+ Amazonka.WorkMail.DescribeUser: [$sel:disabledDate:DescribeUserResponse'] :: DescribeUserResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeUser: [$sel:displayName:DescribeUserResponse'] :: DescribeUserResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeUser: [$sel:email:DescribeUserResponse'] :: DescribeUserResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeUser: [$sel:enabledDate:DescribeUserResponse'] :: DescribeUserResponse -> Maybe POSIX
+ Amazonka.WorkMail.DescribeUser: [$sel:httpStatus:DescribeUserResponse'] :: DescribeUserResponse -> Int
+ Amazonka.WorkMail.DescribeUser: [$sel:name:DescribeUserResponse'] :: DescribeUserResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeUser: [$sel:organizationId:DescribeUser'] :: DescribeUser -> Text
+ Amazonka.WorkMail.DescribeUser: [$sel:state:DescribeUserResponse'] :: DescribeUserResponse -> Maybe EntityState
+ Amazonka.WorkMail.DescribeUser: [$sel:userId:DescribeUser'] :: DescribeUser -> Text
+ Amazonka.WorkMail.DescribeUser: [$sel:userId:DescribeUserResponse'] :: DescribeUserResponse -> Maybe Text
+ Amazonka.WorkMail.DescribeUser: [$sel:userRole:DescribeUserResponse'] :: DescribeUserResponse -> Maybe UserRole
+ Amazonka.WorkMail.DescribeUser: data DescribeUser
+ Amazonka.WorkMail.DescribeUser: data DescribeUserResponse
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_disabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_displayName :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_email :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_enabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_name :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_state :: Lens' DescribeUserResponse (Maybe EntityState)
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_userId :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.DescribeUser: describeUserResponse_userRole :: Lens' DescribeUserResponse (Maybe UserRole)
+ Amazonka.WorkMail.DescribeUser: describeUser_organizationId :: Lens' DescribeUser Text
+ Amazonka.WorkMail.DescribeUser: describeUser_userId :: Lens' DescribeUser Text
+ Amazonka.WorkMail.DescribeUser: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance Control.DeepSeq.NFData Amazonka.WorkMail.DescribeUser.DescribeUserResponse
+ Amazonka.WorkMail.DescribeUser: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance GHC.Classes.Eq Amazonka.WorkMail.DescribeUser.DescribeUserResponse
+ Amazonka.WorkMail.DescribeUser: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance GHC.Generics.Generic Amazonka.WorkMail.DescribeUser.DescribeUserResponse
+ Amazonka.WorkMail.DescribeUser: instance GHC.Read.Read Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance GHC.Read.Read Amazonka.WorkMail.DescribeUser.DescribeUserResponse
+ Amazonka.WorkMail.DescribeUser: instance GHC.Show.Show Amazonka.WorkMail.DescribeUser.DescribeUser
+ Amazonka.WorkMail.DescribeUser: instance GHC.Show.Show Amazonka.WorkMail.DescribeUser.DescribeUserResponse
+ Amazonka.WorkMail.DescribeUser: newDescribeUser :: Text -> Text -> DescribeUser
+ Amazonka.WorkMail.DescribeUser: newDescribeUserResponse :: Int -> DescribeUserResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: DisassociateDelegateFromResource' :: Text -> Text -> Text -> DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: DisassociateDelegateFromResourceResponse' :: Int -> DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: [$sel:entityId:DisassociateDelegateFromResource'] :: DisassociateDelegateFromResource -> Text
+ Amazonka.WorkMail.DisassociateDelegateFromResource: [$sel:httpStatus:DisassociateDelegateFromResourceResponse'] :: DisassociateDelegateFromResourceResponse -> Int
+ Amazonka.WorkMail.DisassociateDelegateFromResource: [$sel:organizationId:DisassociateDelegateFromResource'] :: DisassociateDelegateFromResource -> Text
+ Amazonka.WorkMail.DisassociateDelegateFromResource: [$sel:resourceId:DisassociateDelegateFromResource'] :: DisassociateDelegateFromResource -> Text
+ Amazonka.WorkMail.DisassociateDelegateFromResource: data DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: data DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: disassociateDelegateFromResourceResponse_httpStatus :: Lens' DisassociateDelegateFromResourceResponse Int
+ Amazonka.WorkMail.DisassociateDelegateFromResource: disassociateDelegateFromResource_entityId :: Lens' DisassociateDelegateFromResource Text
+ Amazonka.WorkMail.DisassociateDelegateFromResource: disassociateDelegateFromResource_organizationId :: Lens' DisassociateDelegateFromResource Text
+ Amazonka.WorkMail.DisassociateDelegateFromResource: disassociateDelegateFromResource_resourceId :: Lens' DisassociateDelegateFromResource Text
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Classes.Eq Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Classes.Eq Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Generics.Generic Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Generics.Generic Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Read.Read Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Read.Read Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Show.Show Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: instance GHC.Show.Show Amazonka.WorkMail.DisassociateDelegateFromResource.DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateDelegateFromResource: newDisassociateDelegateFromResource :: Text -> Text -> Text -> DisassociateDelegateFromResource
+ Amazonka.WorkMail.DisassociateDelegateFromResource: newDisassociateDelegateFromResourceResponse :: Int -> DisassociateDelegateFromResourceResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: DisassociateMemberFromGroup' :: Text -> Text -> Text -> DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: DisassociateMemberFromGroupResponse' :: Int -> DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: [$sel:groupId:DisassociateMemberFromGroup'] :: DisassociateMemberFromGroup -> Text
+ Amazonka.WorkMail.DisassociateMemberFromGroup: [$sel:httpStatus:DisassociateMemberFromGroupResponse'] :: DisassociateMemberFromGroupResponse -> Int
+ Amazonka.WorkMail.DisassociateMemberFromGroup: [$sel:memberId:DisassociateMemberFromGroup'] :: DisassociateMemberFromGroup -> Text
+ Amazonka.WorkMail.DisassociateMemberFromGroup: [$sel:organizationId:DisassociateMemberFromGroup'] :: DisassociateMemberFromGroup -> Text
+ Amazonka.WorkMail.DisassociateMemberFromGroup: data DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: data DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: disassociateMemberFromGroupResponse_httpStatus :: Lens' DisassociateMemberFromGroupResponse Int
+ Amazonka.WorkMail.DisassociateMemberFromGroup: disassociateMemberFromGroup_groupId :: Lens' DisassociateMemberFromGroup Text
+ Amazonka.WorkMail.DisassociateMemberFromGroup: disassociateMemberFromGroup_memberId :: Lens' DisassociateMemberFromGroup Text
+ Amazonka.WorkMail.DisassociateMemberFromGroup: disassociateMemberFromGroup_organizationId :: Lens' DisassociateMemberFromGroup Text
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Control.DeepSeq.NFData Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Classes.Eq Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Classes.Eq Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Generics.Generic Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Generics.Generic Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Read.Read Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Read.Read Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Show.Show Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: instance GHC.Show.Show Amazonka.WorkMail.DisassociateMemberFromGroup.DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.DisassociateMemberFromGroup: newDisassociateMemberFromGroup :: Text -> Text -> Text -> DisassociateMemberFromGroup
+ Amazonka.WorkMail.DisassociateMemberFromGroup: newDisassociateMemberFromGroupResponse :: Int -> DisassociateMemberFromGroupResponse
+ Amazonka.WorkMail.GetAccessControlEffect: GetAccessControlEffect' :: Maybe Text -> Maybe Text -> Text -> Text -> Text -> GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: GetAccessControlEffectResponse' :: Maybe AccessControlRuleEffect -> Maybe [Text] -> Int -> GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:action:GetAccessControlEffect'] :: GetAccessControlEffect -> Text
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:effect:GetAccessControlEffectResponse'] :: GetAccessControlEffectResponse -> Maybe AccessControlRuleEffect
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:httpStatus:GetAccessControlEffectResponse'] :: GetAccessControlEffectResponse -> Int
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:impersonationRoleId:GetAccessControlEffect'] :: GetAccessControlEffect -> Maybe Text
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:ipAddress:GetAccessControlEffect'] :: GetAccessControlEffect -> Text
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:matchedRules:GetAccessControlEffectResponse'] :: GetAccessControlEffectResponse -> Maybe [Text]
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:organizationId:GetAccessControlEffect'] :: GetAccessControlEffect -> Text
+ Amazonka.WorkMail.GetAccessControlEffect: [$sel:userId:GetAccessControlEffect'] :: GetAccessControlEffect -> Maybe Text
+ Amazonka.WorkMail.GetAccessControlEffect: data GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: data GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffectResponse_effect :: Lens' GetAccessControlEffectResponse (Maybe AccessControlRuleEffect)
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffectResponse_httpStatus :: Lens' GetAccessControlEffectResponse Int
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffectResponse_matchedRules :: Lens' GetAccessControlEffectResponse (Maybe [Text])
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffect_action :: Lens' GetAccessControlEffect Text
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffect_impersonationRoleId :: Lens' GetAccessControlEffect (Maybe Text)
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffect_ipAddress :: Lens' GetAccessControlEffect Text
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffect_organizationId :: Lens' GetAccessControlEffect Text
+ Amazonka.WorkMail.GetAccessControlEffect: getAccessControlEffect_userId :: Lens' GetAccessControlEffect (Maybe Text)
+ Amazonka.WorkMail.GetAccessControlEffect: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetAccessControlEffect: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Classes.Eq Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Classes.Eq Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Generics.Generic Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Generics.Generic Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Read.Read Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Read.Read Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Show.Show Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: instance GHC.Show.Show Amazonka.WorkMail.GetAccessControlEffect.GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetAccessControlEffect: newGetAccessControlEffect :: Text -> Text -> Text -> GetAccessControlEffect
+ Amazonka.WorkMail.GetAccessControlEffect: newGetAccessControlEffectResponse :: Int -> GetAccessControlEffectResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: GetDefaultRetentionPolicy' :: Text -> GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: GetDefaultRetentionPolicyResponse' :: Maybe Text -> Maybe [FolderConfiguration] -> Maybe Text -> Maybe Text -> Int -> GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: [$sel:description:GetDefaultRetentionPolicyResponse'] :: GetDefaultRetentionPolicyResponse -> Maybe Text
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: [$sel:folderConfigurations:GetDefaultRetentionPolicyResponse'] :: GetDefaultRetentionPolicyResponse -> Maybe [FolderConfiguration]
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: [$sel:httpStatus:GetDefaultRetentionPolicyResponse'] :: GetDefaultRetentionPolicyResponse -> Int
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: [$sel:id:GetDefaultRetentionPolicyResponse'] :: GetDefaultRetentionPolicyResponse -> Maybe Text
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: [$sel:name:GetDefaultRetentionPolicyResponse'] :: GetDefaultRetentionPolicyResponse -> Maybe Text
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: [$sel:organizationId:GetDefaultRetentionPolicy'] :: GetDefaultRetentionPolicy -> Text
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: data GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: data GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: getDefaultRetentionPolicyResponse_description :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: getDefaultRetentionPolicyResponse_folderConfigurations :: Lens' GetDefaultRetentionPolicyResponse (Maybe [FolderConfiguration])
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: getDefaultRetentionPolicyResponse_httpStatus :: Lens' GetDefaultRetentionPolicyResponse Int
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: getDefaultRetentionPolicyResponse_id :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: getDefaultRetentionPolicyResponse_name :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: getDefaultRetentionPolicy_organizationId :: Lens' GetDefaultRetentionPolicy Text
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Classes.Eq Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Classes.Eq Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Generics.Generic Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Generics.Generic Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Read.Read Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Read.Read Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Show.Show Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: instance GHC.Show.Show Amazonka.WorkMail.GetDefaultRetentionPolicy.GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: newGetDefaultRetentionPolicy :: Text -> GetDefaultRetentionPolicy
+ Amazonka.WorkMail.GetDefaultRetentionPolicy: newGetDefaultRetentionPolicyResponse :: Int -> GetDefaultRetentionPolicyResponse
+ Amazonka.WorkMail.GetImpersonationRole: GetImpersonationRole' :: Text -> Text -> GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: GetImpersonationRoleResponse' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ImpersonationRule] -> Maybe ImpersonationRoleType -> Int -> GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:dateCreated:GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Maybe POSIX
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:dateModified:GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Maybe POSIX
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:description:GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Maybe Text
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:httpStatus:GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Int
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:impersonationRoleId:GetImpersonationRole'] :: GetImpersonationRole -> Text
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:impersonationRoleId:GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Maybe Text
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:name:GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Maybe Text
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:organizationId:GetImpersonationRole'] :: GetImpersonationRole -> Text
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:rules:GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Maybe [ImpersonationRule]
+ Amazonka.WorkMail.GetImpersonationRole: [$sel:type':GetImpersonationRoleResponse'] :: GetImpersonationRoleResponse -> Maybe ImpersonationRoleType
+ Amazonka.WorkMail.GetImpersonationRole: data GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: data GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_dateCreated :: Lens' GetImpersonationRoleResponse (Maybe UTCTime)
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_dateModified :: Lens' GetImpersonationRoleResponse (Maybe UTCTime)
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_description :: Lens' GetImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_httpStatus :: Lens' GetImpersonationRoleResponse Int
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_impersonationRoleId :: Lens' GetImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_name :: Lens' GetImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_rules :: Lens' GetImpersonationRoleResponse (Maybe [ImpersonationRule])
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRoleResponse_type :: Lens' GetImpersonationRoleResponse (Maybe ImpersonationRoleType)
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRole_impersonationRoleId :: Lens' GetImpersonationRole Text
+ Amazonka.WorkMail.GetImpersonationRole: getImpersonationRole_organizationId :: Lens' GetImpersonationRole Text
+ Amazonka.WorkMail.GetImpersonationRole: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRole: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.GetImpersonationRole.GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRole: newGetImpersonationRole :: Text -> Text -> GetImpersonationRole
+ Amazonka.WorkMail.GetImpersonationRole: newGetImpersonationRoleResponse :: Int -> GetImpersonationRoleResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: GetImpersonationRoleEffect' :: Text -> Text -> Text -> GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: GetImpersonationRoleEffectResponse' :: Maybe AccessEffect -> Maybe [ImpersonationMatchedRule] -> Maybe ImpersonationRoleType -> Int -> GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: [$sel:effect:GetImpersonationRoleEffectResponse'] :: GetImpersonationRoleEffectResponse -> Maybe AccessEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: [$sel:httpStatus:GetImpersonationRoleEffectResponse'] :: GetImpersonationRoleEffectResponse -> Int
+ Amazonka.WorkMail.GetImpersonationRoleEffect: [$sel:impersonationRoleId:GetImpersonationRoleEffect'] :: GetImpersonationRoleEffect -> Text
+ Amazonka.WorkMail.GetImpersonationRoleEffect: [$sel:matchedRules:GetImpersonationRoleEffectResponse'] :: GetImpersonationRoleEffectResponse -> Maybe [ImpersonationMatchedRule]
+ Amazonka.WorkMail.GetImpersonationRoleEffect: [$sel:organizationId:GetImpersonationRoleEffect'] :: GetImpersonationRoleEffect -> Text
+ Amazonka.WorkMail.GetImpersonationRoleEffect: [$sel:targetUser:GetImpersonationRoleEffect'] :: GetImpersonationRoleEffect -> Text
+ Amazonka.WorkMail.GetImpersonationRoleEffect: [$sel:type':GetImpersonationRoleEffectResponse'] :: GetImpersonationRoleEffectResponse -> Maybe ImpersonationRoleType
+ Amazonka.WorkMail.GetImpersonationRoleEffect: data GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: data GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: getImpersonationRoleEffectResponse_effect :: Lens' GetImpersonationRoleEffectResponse (Maybe AccessEffect)
+ Amazonka.WorkMail.GetImpersonationRoleEffect: getImpersonationRoleEffectResponse_httpStatus :: Lens' GetImpersonationRoleEffectResponse Int
+ Amazonka.WorkMail.GetImpersonationRoleEffect: getImpersonationRoleEffectResponse_matchedRules :: Lens' GetImpersonationRoleEffectResponse (Maybe [ImpersonationMatchedRule])
+ Amazonka.WorkMail.GetImpersonationRoleEffect: getImpersonationRoleEffectResponse_type :: Lens' GetImpersonationRoleEffectResponse (Maybe ImpersonationRoleType)
+ Amazonka.WorkMail.GetImpersonationRoleEffect: getImpersonationRoleEffect_impersonationRoleId :: Lens' GetImpersonationRoleEffect Text
+ Amazonka.WorkMail.GetImpersonationRoleEffect: getImpersonationRoleEffect_organizationId :: Lens' GetImpersonationRoleEffect Text
+ Amazonka.WorkMail.GetImpersonationRoleEffect: getImpersonationRoleEffect_targetUser :: Lens' GetImpersonationRoleEffect Text
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Classes.Eq Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Classes.Eq Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Generics.Generic Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Generics.Generic Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Read.Read Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Read.Read Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Show.Show Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: instance GHC.Show.Show Amazonka.WorkMail.GetImpersonationRoleEffect.GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetImpersonationRoleEffect: newGetImpersonationRoleEffect :: Text -> Text -> Text -> GetImpersonationRoleEffect
+ Amazonka.WorkMail.GetImpersonationRoleEffect: newGetImpersonationRoleEffectResponse :: Int -> GetImpersonationRoleEffectResponse
+ Amazonka.WorkMail.GetMailDomain: GetMailDomain' :: Text -> Text -> GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: GetMailDomainResponse' :: Maybe DnsRecordVerificationStatus -> Maybe Bool -> Maybe Bool -> Maybe DnsRecordVerificationStatus -> Maybe [DnsRecord] -> Int -> GetMailDomainResponse
+ Amazonka.WorkMail.GetMailDomain: [$sel:dkimVerificationStatus:GetMailDomainResponse'] :: GetMailDomainResponse -> Maybe DnsRecordVerificationStatus
+ Amazonka.WorkMail.GetMailDomain: [$sel:domainName:GetMailDomain'] :: GetMailDomain -> Text
+ Amazonka.WorkMail.GetMailDomain: [$sel:httpStatus:GetMailDomainResponse'] :: GetMailDomainResponse -> Int
+ Amazonka.WorkMail.GetMailDomain: [$sel:isDefault:GetMailDomainResponse'] :: GetMailDomainResponse -> Maybe Bool
+ Amazonka.WorkMail.GetMailDomain: [$sel:isTestDomain:GetMailDomainResponse'] :: GetMailDomainResponse -> Maybe Bool
+ Amazonka.WorkMail.GetMailDomain: [$sel:organizationId:GetMailDomain'] :: GetMailDomain -> Text
+ Amazonka.WorkMail.GetMailDomain: [$sel:ownershipVerificationStatus:GetMailDomainResponse'] :: GetMailDomainResponse -> Maybe DnsRecordVerificationStatus
+ Amazonka.WorkMail.GetMailDomain: [$sel:records:GetMailDomainResponse'] :: GetMailDomainResponse -> Maybe [DnsRecord]
+ Amazonka.WorkMail.GetMailDomain: data GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: data GetMailDomainResponse
+ Amazonka.WorkMail.GetMailDomain: getMailDomainResponse_dkimVerificationStatus :: Lens' GetMailDomainResponse (Maybe DnsRecordVerificationStatus)
+ Amazonka.WorkMail.GetMailDomain: getMailDomainResponse_httpStatus :: Lens' GetMailDomainResponse Int
+ Amazonka.WorkMail.GetMailDomain: getMailDomainResponse_isDefault :: Lens' GetMailDomainResponse (Maybe Bool)
+ Amazonka.WorkMail.GetMailDomain: getMailDomainResponse_isTestDomain :: Lens' GetMailDomainResponse (Maybe Bool)
+ Amazonka.WorkMail.GetMailDomain: getMailDomainResponse_ownershipVerificationStatus :: Lens' GetMailDomainResponse (Maybe DnsRecordVerificationStatus)
+ Amazonka.WorkMail.GetMailDomain: getMailDomainResponse_records :: Lens' GetMailDomainResponse (Maybe [DnsRecord])
+ Amazonka.WorkMail.GetMailDomain: getMailDomain_domainName :: Lens' GetMailDomain Text
+ Amazonka.WorkMail.GetMailDomain: getMailDomain_organizationId :: Lens' GetMailDomain Text
+ Amazonka.WorkMail.GetMailDomain: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMailDomain.GetMailDomainResponse
+ Amazonka.WorkMail.GetMailDomain: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.GetMailDomain.GetMailDomainResponse
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.GetMailDomain.GetMailDomainResponse
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Read.Read Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Read.Read Amazonka.WorkMail.GetMailDomain.GetMailDomainResponse
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Show.Show Amazonka.WorkMail.GetMailDomain.GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: instance GHC.Show.Show Amazonka.WorkMail.GetMailDomain.GetMailDomainResponse
+ Amazonka.WorkMail.GetMailDomain: newGetMailDomain :: Text -> Text -> GetMailDomain
+ Amazonka.WorkMail.GetMailDomain: newGetMailDomainResponse :: Int -> GetMailDomainResponse
+ Amazonka.WorkMail.GetMailboxDetails: GetMailboxDetails' :: Text -> Text -> GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: GetMailboxDetailsResponse' :: Maybe Natural -> Maybe Double -> Int -> GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMailboxDetails: [$sel:httpStatus:GetMailboxDetailsResponse'] :: GetMailboxDetailsResponse -> Int
+ Amazonka.WorkMail.GetMailboxDetails: [$sel:mailboxQuota:GetMailboxDetailsResponse'] :: GetMailboxDetailsResponse -> Maybe Natural
+ Amazonka.WorkMail.GetMailboxDetails: [$sel:mailboxSize:GetMailboxDetailsResponse'] :: GetMailboxDetailsResponse -> Maybe Double
+ Amazonka.WorkMail.GetMailboxDetails: [$sel:organizationId:GetMailboxDetails'] :: GetMailboxDetails -> Text
+ Amazonka.WorkMail.GetMailboxDetails: [$sel:userId:GetMailboxDetails'] :: GetMailboxDetails -> Text
+ Amazonka.WorkMail.GetMailboxDetails: data GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: data GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMailboxDetails: getMailboxDetailsResponse_httpStatus :: Lens' GetMailboxDetailsResponse Int
+ Amazonka.WorkMail.GetMailboxDetails: getMailboxDetailsResponse_mailboxQuota :: Lens' GetMailboxDetailsResponse (Maybe Natural)
+ Amazonka.WorkMail.GetMailboxDetails: getMailboxDetailsResponse_mailboxSize :: Lens' GetMailboxDetailsResponse (Maybe Double)
+ Amazonka.WorkMail.GetMailboxDetails: getMailboxDetails_organizationId :: Lens' GetMailboxDetails Text
+ Amazonka.WorkMail.GetMailboxDetails: getMailboxDetails_userId :: Lens' GetMailboxDetails Text
+ Amazonka.WorkMail.GetMailboxDetails: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMailboxDetails: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Classes.Eq Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Classes.Eq Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Generics.Generic Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Generics.Generic Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Read.Read Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Read.Read Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Show.Show Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: instance GHC.Show.Show Amazonka.WorkMail.GetMailboxDetails.GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMailboxDetails: newGetMailboxDetails :: Text -> Text -> GetMailboxDetails
+ Amazonka.WorkMail.GetMailboxDetails: newGetMailboxDetailsResponse :: Int -> GetMailboxDetailsResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: GetMobileDeviceAccessEffect' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: GetMobileDeviceAccessEffectResponse' :: Maybe MobileDeviceAccessRuleEffect -> Maybe [MobileDeviceAccessMatchedRule] -> Int -> GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:deviceModel:GetMobileDeviceAccessEffect'] :: GetMobileDeviceAccessEffect -> Maybe Text
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:deviceOperatingSystem:GetMobileDeviceAccessEffect'] :: GetMobileDeviceAccessEffect -> Maybe Text
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:deviceType:GetMobileDeviceAccessEffect'] :: GetMobileDeviceAccessEffect -> Maybe Text
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:deviceUserAgent:GetMobileDeviceAccessEffect'] :: GetMobileDeviceAccessEffect -> Maybe Text
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:effect:GetMobileDeviceAccessEffectResponse'] :: GetMobileDeviceAccessEffectResponse -> Maybe MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:httpStatus:GetMobileDeviceAccessEffectResponse'] :: GetMobileDeviceAccessEffectResponse -> Int
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:matchedRules:GetMobileDeviceAccessEffectResponse'] :: GetMobileDeviceAccessEffectResponse -> Maybe [MobileDeviceAccessMatchedRule]
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: [$sel:organizationId:GetMobileDeviceAccessEffect'] :: GetMobileDeviceAccessEffect -> Text
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: data GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: data GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffectResponse_effect :: Lens' GetMobileDeviceAccessEffectResponse (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffectResponse_httpStatus :: Lens' GetMobileDeviceAccessEffectResponse Int
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffectResponse_matchedRules :: Lens' GetMobileDeviceAccessEffectResponse (Maybe [MobileDeviceAccessMatchedRule])
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffect_deviceModel :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffect_deviceType :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffect_deviceUserAgent :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: getMobileDeviceAccessEffect_organizationId :: Lens' GetMobileDeviceAccessEffect Text
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Classes.Eq Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Classes.Eq Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Generics.Generic Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Generics.Generic Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Read.Read Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Read.Read Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Show.Show Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: instance GHC.Show.Show Amazonka.WorkMail.GetMobileDeviceAccessEffect.GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: newGetMobileDeviceAccessEffect :: Text -> GetMobileDeviceAccessEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessEffect: newGetMobileDeviceAccessEffectResponse :: Int -> GetMobileDeviceAccessEffectResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: GetMobileDeviceAccessOverride' :: Text -> Text -> Text -> GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: GetMobileDeviceAccessOverrideResponse' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> Int -> GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:dateCreated:GetMobileDeviceAccessOverrideResponse'] :: GetMobileDeviceAccessOverrideResponse -> Maybe POSIX
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:dateModified:GetMobileDeviceAccessOverrideResponse'] :: GetMobileDeviceAccessOverrideResponse -> Maybe POSIX
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:description:GetMobileDeviceAccessOverrideResponse'] :: GetMobileDeviceAccessOverrideResponse -> Maybe Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:deviceId:GetMobileDeviceAccessOverride'] :: GetMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:deviceId:GetMobileDeviceAccessOverrideResponse'] :: GetMobileDeviceAccessOverrideResponse -> Maybe Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:effect:GetMobileDeviceAccessOverrideResponse'] :: GetMobileDeviceAccessOverrideResponse -> Maybe MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:httpStatus:GetMobileDeviceAccessOverrideResponse'] :: GetMobileDeviceAccessOverrideResponse -> Int
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:organizationId:GetMobileDeviceAccessOverride'] :: GetMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:userId:GetMobileDeviceAccessOverride'] :: GetMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: [$sel:userId:GetMobileDeviceAccessOverrideResponse'] :: GetMobileDeviceAccessOverrideResponse -> Maybe Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: data GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: data GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverrideResponse_dateCreated :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime)
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverrideResponse_dateModified :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime)
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverrideResponse_description :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverrideResponse_deviceId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverrideResponse_effect :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverrideResponse_httpStatus :: Lens' GetMobileDeviceAccessOverrideResponse Int
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverrideResponse_userId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverride_deviceId :: Lens' GetMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverride_organizationId :: Lens' GetMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: getMobileDeviceAccessOverride_userId :: Lens' GetMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Control.DeepSeq.NFData Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Classes.Eq Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Classes.Eq Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Generics.Generic Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Generics.Generic Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Read.Read Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Read.Read Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Show.Show Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: instance GHC.Show.Show Amazonka.WorkMail.GetMobileDeviceAccessOverride.GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: newGetMobileDeviceAccessOverride :: Text -> Text -> Text -> GetMobileDeviceAccessOverride
+ Amazonka.WorkMail.GetMobileDeviceAccessOverride: newGetMobileDeviceAccessOverrideResponse :: Int -> GetMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.Lens: accessControlRule_actions :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: accessControlRule_dateCreated :: Lens' AccessControlRule (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: accessControlRule_dateModified :: Lens' AccessControlRule (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: accessControlRule_description :: Lens' AccessControlRule (Maybe Text)
+ Amazonka.WorkMail.Lens: accessControlRule_effect :: Lens' AccessControlRule (Maybe AccessControlRuleEffect)
+ Amazonka.WorkMail.Lens: accessControlRule_impersonationRoleIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: accessControlRule_ipRanges :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: accessControlRule_name :: Lens' AccessControlRule (Maybe Text)
+ Amazonka.WorkMail.Lens: accessControlRule_notActions :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: accessControlRule_notImpersonationRoleIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: accessControlRule_notIpRanges :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: accessControlRule_notUserIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: accessControlRule_userIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: associateDelegateToResourceResponse_httpStatus :: Lens' AssociateDelegateToResourceResponse Int
+ Amazonka.WorkMail.Lens: associateDelegateToResource_entityId :: Lens' AssociateDelegateToResource Text
+ Amazonka.WorkMail.Lens: associateDelegateToResource_organizationId :: Lens' AssociateDelegateToResource Text
+ Amazonka.WorkMail.Lens: associateDelegateToResource_resourceId :: Lens' AssociateDelegateToResource Text
+ Amazonka.WorkMail.Lens: associateMemberToGroupResponse_httpStatus :: Lens' AssociateMemberToGroupResponse Int
+ Amazonka.WorkMail.Lens: associateMemberToGroup_groupId :: Lens' AssociateMemberToGroup Text
+ Amazonka.WorkMail.Lens: associateMemberToGroup_memberId :: Lens' AssociateMemberToGroup Text
+ Amazonka.WorkMail.Lens: associateMemberToGroup_organizationId :: Lens' AssociateMemberToGroup Text
+ Amazonka.WorkMail.Lens: assumeImpersonationRoleResponse_expiresIn :: Lens' AssumeImpersonationRoleResponse (Maybe Integer)
+ Amazonka.WorkMail.Lens: assumeImpersonationRoleResponse_httpStatus :: Lens' AssumeImpersonationRoleResponse Int
+ Amazonka.WorkMail.Lens: assumeImpersonationRoleResponse_token :: Lens' AssumeImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: assumeImpersonationRole_impersonationRoleId :: Lens' AssumeImpersonationRole Text
+ Amazonka.WorkMail.Lens: assumeImpersonationRole_organizationId :: Lens' AssumeImpersonationRole Text
+ Amazonka.WorkMail.Lens: availabilityConfiguration_dateCreated :: Lens' AvailabilityConfiguration (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: availabilityConfiguration_dateModified :: Lens' AvailabilityConfiguration (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: availabilityConfiguration_domainName :: Lens' AvailabilityConfiguration (Maybe Text)
+ Amazonka.WorkMail.Lens: availabilityConfiguration_ewsProvider :: Lens' AvailabilityConfiguration (Maybe RedactedEwsAvailabilityProvider)
+ Amazonka.WorkMail.Lens: availabilityConfiguration_lambdaProvider :: Lens' AvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.Lens: availabilityConfiguration_providerType :: Lens' AvailabilityConfiguration (Maybe AvailabilityProviderType)
+ Amazonka.WorkMail.Lens: bookingOptions_autoAcceptRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Lens: bookingOptions_autoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Lens: bookingOptions_autoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Lens: cancelMailboxExportJobResponse_httpStatus :: Lens' CancelMailboxExportJobResponse Int
+ Amazonka.WorkMail.Lens: cancelMailboxExportJob_clientToken :: Lens' CancelMailboxExportJob Text
+ Amazonka.WorkMail.Lens: cancelMailboxExportJob_jobId :: Lens' CancelMailboxExportJob Text
+ Amazonka.WorkMail.Lens: cancelMailboxExportJob_organizationId :: Lens' CancelMailboxExportJob Text
+ Amazonka.WorkMail.Lens: createAliasResponse_httpStatus :: Lens' CreateAliasResponse Int
+ Amazonka.WorkMail.Lens: createAlias_alias :: Lens' CreateAlias Text
+ Amazonka.WorkMail.Lens: createAlias_entityId :: Lens' CreateAlias Text
+ Amazonka.WorkMail.Lens: createAlias_organizationId :: Lens' CreateAlias Text
+ Amazonka.WorkMail.Lens: createAvailabilityConfigurationResponse_httpStatus :: Lens' CreateAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.Lens: createAvailabilityConfiguration_clientToken :: Lens' CreateAvailabilityConfiguration (Maybe Text)
+ Amazonka.WorkMail.Lens: createAvailabilityConfiguration_domainName :: Lens' CreateAvailabilityConfiguration Text
+ Amazonka.WorkMail.Lens: createAvailabilityConfiguration_ewsProvider :: Lens' CreateAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
+ Amazonka.WorkMail.Lens: createAvailabilityConfiguration_lambdaProvider :: Lens' CreateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.Lens: createAvailabilityConfiguration_organizationId :: Lens' CreateAvailabilityConfiguration Text
+ Amazonka.WorkMail.Lens: createGroupResponse_groupId :: Lens' CreateGroupResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int
+ Amazonka.WorkMail.Lens: createGroup_name :: Lens' CreateGroup Text
+ Amazonka.WorkMail.Lens: createGroup_organizationId :: Lens' CreateGroup Text
+ Amazonka.WorkMail.Lens: createImpersonationRoleResponse_httpStatus :: Lens' CreateImpersonationRoleResponse Int
+ Amazonka.WorkMail.Lens: createImpersonationRoleResponse_impersonationRoleId :: Lens' CreateImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: createImpersonationRole_clientToken :: Lens' CreateImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Lens: createImpersonationRole_description :: Lens' CreateImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Lens: createImpersonationRole_name :: Lens' CreateImpersonationRole Text
+ Amazonka.WorkMail.Lens: createImpersonationRole_organizationId :: Lens' CreateImpersonationRole Text
+ Amazonka.WorkMail.Lens: createImpersonationRole_rules :: Lens' CreateImpersonationRole [ImpersonationRule]
+ Amazonka.WorkMail.Lens: createImpersonationRole_type :: Lens' CreateImpersonationRole ImpersonationRoleType
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRuleResponse_httpStatus :: Lens' CreateMobileDeviceAccessRuleResponse Int
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRuleResponse_mobileDeviceAccessRuleId :: Lens' CreateMobileDeviceAccessRuleResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_clientToken :: Lens' CreateMobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_description :: Lens' CreateMobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_deviceModels :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_deviceOperatingSystems :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_deviceTypes :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_deviceUserAgents :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_effect :: Lens' CreateMobileDeviceAccessRule MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_name :: Lens' CreateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_notDeviceModels :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_notDeviceTypes :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_notDeviceUserAgents :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: createMobileDeviceAccessRule_organizationId :: Lens' CreateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.Lens: createOrganizationResponse_httpStatus :: Lens' CreateOrganizationResponse Int
+ Amazonka.WorkMail.Lens: createOrganizationResponse_organizationId :: Lens' CreateOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: createOrganization_alias :: Lens' CreateOrganization Text
+ Amazonka.WorkMail.Lens: createOrganization_clientToken :: Lens' CreateOrganization (Maybe Text)
+ Amazonka.WorkMail.Lens: createOrganization_directoryId :: Lens' CreateOrganization (Maybe Text)
+ Amazonka.WorkMail.Lens: createOrganization_domains :: Lens' CreateOrganization (Maybe [Domain])
+ Amazonka.WorkMail.Lens: createOrganization_enableInteroperability :: Lens' CreateOrganization (Maybe Bool)
+ Amazonka.WorkMail.Lens: createOrganization_kmsKeyArn :: Lens' CreateOrganization (Maybe Text)
+ Amazonka.WorkMail.Lens: createResourceResponse_httpStatus :: Lens' CreateResourceResponse Int
+ Amazonka.WorkMail.Lens: createResourceResponse_resourceId :: Lens' CreateResourceResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: createResource_name :: Lens' CreateResource Text
+ Amazonka.WorkMail.Lens: createResource_organizationId :: Lens' CreateResource Text
+ Amazonka.WorkMail.Lens: createResource_type :: Lens' CreateResource ResourceType
+ Amazonka.WorkMail.Lens: createUserResponse_httpStatus :: Lens' CreateUserResponse Int
+ Amazonka.WorkMail.Lens: createUserResponse_userId :: Lens' CreateUserResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: createUser_displayName :: Lens' CreateUser Text
+ Amazonka.WorkMail.Lens: createUser_name :: Lens' CreateUser Text
+ Amazonka.WorkMail.Lens: createUser_organizationId :: Lens' CreateUser Text
+ Amazonka.WorkMail.Lens: createUser_password :: Lens' CreateUser Text
+ Amazonka.WorkMail.Lens: delegate_id :: Lens' Delegate Text
+ Amazonka.WorkMail.Lens: delegate_type :: Lens' Delegate MemberType
+ Amazonka.WorkMail.Lens: deleteAccessControlRuleResponse_httpStatus :: Lens' DeleteAccessControlRuleResponse Int
+ Amazonka.WorkMail.Lens: deleteAccessControlRule_name :: Lens' DeleteAccessControlRule Text
+ Amazonka.WorkMail.Lens: deleteAccessControlRule_organizationId :: Lens' DeleteAccessControlRule Text
+ Amazonka.WorkMail.Lens: deleteAliasResponse_httpStatus :: Lens' DeleteAliasResponse Int
+ Amazonka.WorkMail.Lens: deleteAlias_alias :: Lens' DeleteAlias Text
+ Amazonka.WorkMail.Lens: deleteAlias_entityId :: Lens' DeleteAlias Text
+ Amazonka.WorkMail.Lens: deleteAlias_organizationId :: Lens' DeleteAlias Text
+ Amazonka.WorkMail.Lens: deleteAvailabilityConfigurationResponse_httpStatus :: Lens' DeleteAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.Lens: deleteAvailabilityConfiguration_domainName :: Lens' DeleteAvailabilityConfiguration Text
+ Amazonka.WorkMail.Lens: deleteAvailabilityConfiguration_organizationId :: Lens' DeleteAvailabilityConfiguration Text
+ Amazonka.WorkMail.Lens: deleteEmailMonitoringConfigurationResponse_httpStatus :: Lens' DeleteEmailMonitoringConfigurationResponse Int
+ Amazonka.WorkMail.Lens: deleteEmailMonitoringConfiguration_organizationId :: Lens' DeleteEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.Lens: deleteGroupResponse_httpStatus :: Lens' DeleteGroupResponse Int
+ Amazonka.WorkMail.Lens: deleteGroup_groupId :: Lens' DeleteGroup Text
+ Amazonka.WorkMail.Lens: deleteGroup_organizationId :: Lens' DeleteGroup Text
+ Amazonka.WorkMail.Lens: deleteImpersonationRoleResponse_httpStatus :: Lens' DeleteImpersonationRoleResponse Int
+ Amazonka.WorkMail.Lens: deleteImpersonationRole_impersonationRoleId :: Lens' DeleteImpersonationRole Text
+ Amazonka.WorkMail.Lens: deleteImpersonationRole_organizationId :: Lens' DeleteImpersonationRole Text
+ Amazonka.WorkMail.Lens: deleteMailboxPermissionsResponse_httpStatus :: Lens' DeleteMailboxPermissionsResponse Int
+ Amazonka.WorkMail.Lens: deleteMailboxPermissions_entityId :: Lens' DeleteMailboxPermissions Text
+ Amazonka.WorkMail.Lens: deleteMailboxPermissions_granteeId :: Lens' DeleteMailboxPermissions Text
+ Amazonka.WorkMail.Lens: deleteMailboxPermissions_organizationId :: Lens' DeleteMailboxPermissions Text
+ Amazonka.WorkMail.Lens: deleteMobileDeviceAccessOverrideResponse_httpStatus :: Lens' DeleteMobileDeviceAccessOverrideResponse Int
+ Amazonka.WorkMail.Lens: deleteMobileDeviceAccessOverride_deviceId :: Lens' DeleteMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: deleteMobileDeviceAccessOverride_organizationId :: Lens' DeleteMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: deleteMobileDeviceAccessOverride_userId :: Lens' DeleteMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: deleteMobileDeviceAccessRuleResponse_httpStatus :: Lens' DeleteMobileDeviceAccessRuleResponse Int
+ Amazonka.WorkMail.Lens: deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' DeleteMobileDeviceAccessRule Text
+ Amazonka.WorkMail.Lens: deleteMobileDeviceAccessRule_organizationId :: Lens' DeleteMobileDeviceAccessRule Text
+ Amazonka.WorkMail.Lens: deleteOrganizationResponse_httpStatus :: Lens' DeleteOrganizationResponse Int
+ Amazonka.WorkMail.Lens: deleteOrganizationResponse_organizationId :: Lens' DeleteOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: deleteOrganizationResponse_state :: Lens' DeleteOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: deleteOrganization_clientToken :: Lens' DeleteOrganization (Maybe Text)
+ Amazonka.WorkMail.Lens: deleteOrganization_deleteDirectory :: Lens' DeleteOrganization Bool
+ Amazonka.WorkMail.Lens: deleteOrganization_organizationId :: Lens' DeleteOrganization Text
+ Amazonka.WorkMail.Lens: deleteResourceResponse_httpStatus :: Lens' DeleteResourceResponse Int
+ Amazonka.WorkMail.Lens: deleteResource_organizationId :: Lens' DeleteResource Text
+ Amazonka.WorkMail.Lens: deleteResource_resourceId :: Lens' DeleteResource Text
+ Amazonka.WorkMail.Lens: deleteRetentionPolicyResponse_httpStatus :: Lens' DeleteRetentionPolicyResponse Int
+ Amazonka.WorkMail.Lens: deleteRetentionPolicy_id :: Lens' DeleteRetentionPolicy Text
+ Amazonka.WorkMail.Lens: deleteRetentionPolicy_organizationId :: Lens' DeleteRetentionPolicy Text
+ Amazonka.WorkMail.Lens: deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
+ Amazonka.WorkMail.Lens: deleteUser_organizationId :: Lens' DeleteUser Text
+ Amazonka.WorkMail.Lens: deleteUser_userId :: Lens' DeleteUser Text
+ Amazonka.WorkMail.Lens: deregisterFromWorkMailResponse_httpStatus :: Lens' DeregisterFromWorkMailResponse Int
+ Amazonka.WorkMail.Lens: deregisterFromWorkMail_entityId :: Lens' DeregisterFromWorkMail Text
+ Amazonka.WorkMail.Lens: deregisterFromWorkMail_organizationId :: Lens' DeregisterFromWorkMail Text
+ Amazonka.WorkMail.Lens: deregisterMailDomainResponse_httpStatus :: Lens' DeregisterMailDomainResponse Int
+ Amazonka.WorkMail.Lens: deregisterMailDomain_domainName :: Lens' DeregisterMailDomain Text
+ Amazonka.WorkMail.Lens: deregisterMailDomain_organizationId :: Lens' DeregisterMailDomain Text
+ Amazonka.WorkMail.Lens: describeEmailMonitoringConfigurationResponse_httpStatus :: Lens' DescribeEmailMonitoringConfigurationResponse Int
+ Amazonka.WorkMail.Lens: describeEmailMonitoringConfigurationResponse_logGroupArn :: Lens' DescribeEmailMonitoringConfigurationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeEmailMonitoringConfigurationResponse_roleArn :: Lens' DescribeEmailMonitoringConfigurationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeEmailMonitoringConfiguration_organizationId :: Lens' DescribeEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.Lens: describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeGroupResponse_email :: Lens' DescribeGroupResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeGroupResponse_enabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeGroupResponse_groupId :: Lens' DescribeGroupResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeGroupResponse_httpStatus :: Lens' DescribeGroupResponse Int
+ Amazonka.WorkMail.Lens: describeGroupResponse_name :: Lens' DescribeGroupResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState)
+ Amazonka.WorkMail.Lens: describeGroup_groupId :: Lens' DescribeGroup Text
+ Amazonka.WorkMail.Lens: describeGroup_organizationId :: Lens' DescribeGroup Text
+ Amazonka.WorkMail.Lens: describeInboundDmarcSettingsResponse_enforced :: Lens' DescribeInboundDmarcSettingsResponse (Maybe Bool)
+ Amazonka.WorkMail.Lens: describeInboundDmarcSettingsResponse_httpStatus :: Lens' DescribeInboundDmarcSettingsResponse Int
+ Amazonka.WorkMail.Lens: describeInboundDmarcSettings_organizationId :: Lens' DescribeInboundDmarcSettings Text
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_description :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_endTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_entityId :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_errorInfo :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_estimatedProgress :: Lens' DescribeMailboxExportJobResponse (Maybe Natural)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_httpStatus :: Lens' DescribeMailboxExportJobResponse Int
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_kmsKeyArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_roleArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_s3BucketName :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_s3Path :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_s3Prefix :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_startTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeMailboxExportJobResponse_state :: Lens' DescribeMailboxExportJobResponse (Maybe MailboxExportJobState)
+ Amazonka.WorkMail.Lens: describeMailboxExportJob_jobId :: Lens' DescribeMailboxExportJob Text
+ Amazonka.WorkMail.Lens: describeMailboxExportJob_organizationId :: Lens' DescribeMailboxExportJob Text
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_alias :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_arn :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_completedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_directoryId :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_directoryType :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_errorMessage :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_organizationId :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganizationResponse_state :: Lens' DescribeOrganizationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeOrganization_organizationId :: Lens' DescribeOrganization Text
+ Amazonka.WorkMail.Lens: describeResourceResponse_bookingOptions :: Lens' DescribeResourceResponse (Maybe BookingOptions)
+ Amazonka.WorkMail.Lens: describeResourceResponse_disabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeResourceResponse_email :: Lens' DescribeResourceResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeResourceResponse_enabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeResourceResponse_httpStatus :: Lens' DescribeResourceResponse Int
+ Amazonka.WorkMail.Lens: describeResourceResponse_name :: Lens' DescribeResourceResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeResourceResponse_resourceId :: Lens' DescribeResourceResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeResourceResponse_state :: Lens' DescribeResourceResponse (Maybe EntityState)
+ Amazonka.WorkMail.Lens: describeResourceResponse_type :: Lens' DescribeResourceResponse (Maybe ResourceType)
+ Amazonka.WorkMail.Lens: describeResource_organizationId :: Lens' DescribeResource Text
+ Amazonka.WorkMail.Lens: describeResource_resourceId :: Lens' DescribeResource Text
+ Amazonka.WorkMail.Lens: describeUserResponse_disabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeUserResponse_displayName :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeUserResponse_email :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeUserResponse_enabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int
+ Amazonka.WorkMail.Lens: describeUserResponse_name :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeUserResponse_state :: Lens' DescribeUserResponse (Maybe EntityState)
+ Amazonka.WorkMail.Lens: describeUserResponse_userId :: Lens' DescribeUserResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: describeUserResponse_userRole :: Lens' DescribeUserResponse (Maybe UserRole)
+ Amazonka.WorkMail.Lens: describeUser_organizationId :: Lens' DescribeUser Text
+ Amazonka.WorkMail.Lens: describeUser_userId :: Lens' DescribeUser Text
+ Amazonka.WorkMail.Lens: disassociateDelegateFromResourceResponse_httpStatus :: Lens' DisassociateDelegateFromResourceResponse Int
+ Amazonka.WorkMail.Lens: disassociateDelegateFromResource_entityId :: Lens' DisassociateDelegateFromResource Text
+ Amazonka.WorkMail.Lens: disassociateDelegateFromResource_organizationId :: Lens' DisassociateDelegateFromResource Text
+ Amazonka.WorkMail.Lens: disassociateDelegateFromResource_resourceId :: Lens' DisassociateDelegateFromResource Text
+ Amazonka.WorkMail.Lens: disassociateMemberFromGroupResponse_httpStatus :: Lens' DisassociateMemberFromGroupResponse Int
+ Amazonka.WorkMail.Lens: disassociateMemberFromGroup_groupId :: Lens' DisassociateMemberFromGroup Text
+ Amazonka.WorkMail.Lens: disassociateMemberFromGroup_memberId :: Lens' DisassociateMemberFromGroup Text
+ Amazonka.WorkMail.Lens: disassociateMemberFromGroup_organizationId :: Lens' DisassociateMemberFromGroup Text
+ Amazonka.WorkMail.Lens: dnsRecord_hostname :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Lens: dnsRecord_type :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Lens: dnsRecord_value :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Lens: domain_domainName :: Lens' Domain (Maybe Text)
+ Amazonka.WorkMail.Lens: domain_hostedZoneId :: Lens' Domain (Maybe Text)
+ Amazonka.WorkMail.Lens: ewsAvailabilityProvider_ewsEndpoint :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Lens: ewsAvailabilityProvider_ewsPassword :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Lens: ewsAvailabilityProvider_ewsUsername :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Lens: folderConfiguration_action :: Lens' FolderConfiguration RetentionAction
+ Amazonka.WorkMail.Lens: folderConfiguration_name :: Lens' FolderConfiguration FolderName
+ Amazonka.WorkMail.Lens: folderConfiguration_period :: Lens' FolderConfiguration (Maybe Natural)
+ Amazonka.WorkMail.Lens: getAccessControlEffectResponse_effect :: Lens' GetAccessControlEffectResponse (Maybe AccessControlRuleEffect)
+ Amazonka.WorkMail.Lens: getAccessControlEffectResponse_httpStatus :: Lens' GetAccessControlEffectResponse Int
+ Amazonka.WorkMail.Lens: getAccessControlEffectResponse_matchedRules :: Lens' GetAccessControlEffectResponse (Maybe [Text])
+ Amazonka.WorkMail.Lens: getAccessControlEffect_action :: Lens' GetAccessControlEffect Text
+ Amazonka.WorkMail.Lens: getAccessControlEffect_impersonationRoleId :: Lens' GetAccessControlEffect (Maybe Text)
+ Amazonka.WorkMail.Lens: getAccessControlEffect_ipAddress :: Lens' GetAccessControlEffect Text
+ Amazonka.WorkMail.Lens: getAccessControlEffect_organizationId :: Lens' GetAccessControlEffect Text
+ Amazonka.WorkMail.Lens: getAccessControlEffect_userId :: Lens' GetAccessControlEffect (Maybe Text)
+ Amazonka.WorkMail.Lens: getDefaultRetentionPolicyResponse_description :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getDefaultRetentionPolicyResponse_folderConfigurations :: Lens' GetDefaultRetentionPolicyResponse (Maybe [FolderConfiguration])
+ Amazonka.WorkMail.Lens: getDefaultRetentionPolicyResponse_httpStatus :: Lens' GetDefaultRetentionPolicyResponse Int
+ Amazonka.WorkMail.Lens: getDefaultRetentionPolicyResponse_id :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getDefaultRetentionPolicyResponse_name :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getDefaultRetentionPolicy_organizationId :: Lens' GetDefaultRetentionPolicy Text
+ Amazonka.WorkMail.Lens: getImpersonationRoleEffectResponse_effect :: Lens' GetImpersonationRoleEffectResponse (Maybe AccessEffect)
+ Amazonka.WorkMail.Lens: getImpersonationRoleEffectResponse_httpStatus :: Lens' GetImpersonationRoleEffectResponse Int
+ Amazonka.WorkMail.Lens: getImpersonationRoleEffectResponse_matchedRules :: Lens' GetImpersonationRoleEffectResponse (Maybe [ImpersonationMatchedRule])
+ Amazonka.WorkMail.Lens: getImpersonationRoleEffectResponse_type :: Lens' GetImpersonationRoleEffectResponse (Maybe ImpersonationRoleType)
+ Amazonka.WorkMail.Lens: getImpersonationRoleEffect_impersonationRoleId :: Lens' GetImpersonationRoleEffect Text
+ Amazonka.WorkMail.Lens: getImpersonationRoleEffect_organizationId :: Lens' GetImpersonationRoleEffect Text
+ Amazonka.WorkMail.Lens: getImpersonationRoleEffect_targetUser :: Lens' GetImpersonationRoleEffect Text
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_dateCreated :: Lens' GetImpersonationRoleResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_dateModified :: Lens' GetImpersonationRoleResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_description :: Lens' GetImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_httpStatus :: Lens' GetImpersonationRoleResponse Int
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_impersonationRoleId :: Lens' GetImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_name :: Lens' GetImpersonationRoleResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_rules :: Lens' GetImpersonationRoleResponse (Maybe [ImpersonationRule])
+ Amazonka.WorkMail.Lens: getImpersonationRoleResponse_type :: Lens' GetImpersonationRoleResponse (Maybe ImpersonationRoleType)
+ Amazonka.WorkMail.Lens: getImpersonationRole_impersonationRoleId :: Lens' GetImpersonationRole Text
+ Amazonka.WorkMail.Lens: getImpersonationRole_organizationId :: Lens' GetImpersonationRole Text
+ Amazonka.WorkMail.Lens: getMailDomainResponse_dkimVerificationStatus :: Lens' GetMailDomainResponse (Maybe DnsRecordVerificationStatus)
+ Amazonka.WorkMail.Lens: getMailDomainResponse_httpStatus :: Lens' GetMailDomainResponse Int
+ Amazonka.WorkMail.Lens: getMailDomainResponse_isDefault :: Lens' GetMailDomainResponse (Maybe Bool)
+ Amazonka.WorkMail.Lens: getMailDomainResponse_isTestDomain :: Lens' GetMailDomainResponse (Maybe Bool)
+ Amazonka.WorkMail.Lens: getMailDomainResponse_ownershipVerificationStatus :: Lens' GetMailDomainResponse (Maybe DnsRecordVerificationStatus)
+ Amazonka.WorkMail.Lens: getMailDomainResponse_records :: Lens' GetMailDomainResponse (Maybe [DnsRecord])
+ Amazonka.WorkMail.Lens: getMailDomain_domainName :: Lens' GetMailDomain Text
+ Amazonka.WorkMail.Lens: getMailDomain_organizationId :: Lens' GetMailDomain Text
+ Amazonka.WorkMail.Lens: getMailboxDetailsResponse_httpStatus :: Lens' GetMailboxDetailsResponse Int
+ Amazonka.WorkMail.Lens: getMailboxDetailsResponse_mailboxQuota :: Lens' GetMailboxDetailsResponse (Maybe Natural)
+ Amazonka.WorkMail.Lens: getMailboxDetailsResponse_mailboxSize :: Lens' GetMailboxDetailsResponse (Maybe Double)
+ Amazonka.WorkMail.Lens: getMailboxDetails_organizationId :: Lens' GetMailboxDetails Text
+ Amazonka.WorkMail.Lens: getMailboxDetails_userId :: Lens' GetMailboxDetails Text
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffectResponse_effect :: Lens' GetMobileDeviceAccessEffectResponse (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffectResponse_httpStatus :: Lens' GetMobileDeviceAccessEffectResponse Int
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffectResponse_matchedRules :: Lens' GetMobileDeviceAccessEffectResponse (Maybe [MobileDeviceAccessMatchedRule])
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffect_deviceModel :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffect_deviceType :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffect_deviceUserAgent :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessEffect_organizationId :: Lens' GetMobileDeviceAccessEffect Text
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverrideResponse_dateCreated :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverrideResponse_dateModified :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverrideResponse_description :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverrideResponse_deviceId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverrideResponse_effect :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverrideResponse_httpStatus :: Lens' GetMobileDeviceAccessOverrideResponse Int
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverrideResponse_userId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverride_deviceId :: Lens' GetMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverride_organizationId :: Lens' GetMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: getMobileDeviceAccessOverride_userId :: Lens' GetMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: group_disabledDate :: Lens' Group (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: group_email :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Lens: group_enabledDate :: Lens' Group (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: group_id :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Lens: group_name :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Lens: group_state :: Lens' Group (Maybe EntityState)
+ Amazonka.WorkMail.Lens: impersonationMatchedRule_impersonationRuleId :: Lens' ImpersonationMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Lens: impersonationMatchedRule_name :: Lens' ImpersonationMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Lens: impersonationRole_dateCreated :: Lens' ImpersonationRole (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: impersonationRole_dateModified :: Lens' ImpersonationRole (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: impersonationRole_impersonationRoleId :: Lens' ImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Lens: impersonationRole_name :: Lens' ImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Lens: impersonationRole_type :: Lens' ImpersonationRole (Maybe ImpersonationRoleType)
+ Amazonka.WorkMail.Lens: impersonationRule_description :: Lens' ImpersonationRule (Maybe Text)
+ Amazonka.WorkMail.Lens: impersonationRule_effect :: Lens' ImpersonationRule AccessEffect
+ Amazonka.WorkMail.Lens: impersonationRule_impersonationRuleId :: Lens' ImpersonationRule Text
+ Amazonka.WorkMail.Lens: impersonationRule_name :: Lens' ImpersonationRule (Maybe Text)
+ Amazonka.WorkMail.Lens: impersonationRule_notTargetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: impersonationRule_targetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: lambdaAvailabilityProvider_lambdaArn :: Lens' LambdaAvailabilityProvider Text
+ Amazonka.WorkMail.Lens: listAccessControlRulesResponse_httpStatus :: Lens' ListAccessControlRulesResponse Int
+ Amazonka.WorkMail.Lens: listAccessControlRulesResponse_rules :: Lens' ListAccessControlRulesResponse (Maybe [AccessControlRule])
+ Amazonka.WorkMail.Lens: listAccessControlRules_organizationId :: Lens' ListAccessControlRules Text
+ Amazonka.WorkMail.Lens: listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [Text])
+ Amazonka.WorkMail.Lens: listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int
+ Amazonka.WorkMail.Lens: listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listAliases_entityId :: Lens' ListAliases Text
+ Amazonka.WorkMail.Lens: listAliases_maxResults :: Lens' ListAliases (Maybe Natural)
+ Amazonka.WorkMail.Lens: listAliases_nextToken :: Lens' ListAliases (Maybe Text)
+ Amazonka.WorkMail.Lens: listAliases_organizationId :: Lens' ListAliases Text
+ Amazonka.WorkMail.Lens: listAvailabilityConfigurationsResponse_availabilityConfigurations :: Lens' ListAvailabilityConfigurationsResponse (Maybe [AvailabilityConfiguration])
+ Amazonka.WorkMail.Lens: listAvailabilityConfigurationsResponse_httpStatus :: Lens' ListAvailabilityConfigurationsResponse Int
+ Amazonka.WorkMail.Lens: listAvailabilityConfigurationsResponse_nextToken :: Lens' ListAvailabilityConfigurationsResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listAvailabilityConfigurations_maxResults :: Lens' ListAvailabilityConfigurations (Maybe Natural)
+ Amazonka.WorkMail.Lens: listAvailabilityConfigurations_nextToken :: Lens' ListAvailabilityConfigurations (Maybe Text)
+ Amazonka.WorkMail.Lens: listAvailabilityConfigurations_organizationId :: Lens' ListAvailabilityConfigurations Text
+ Amazonka.WorkMail.Lens: listGroupMembersResponse_httpStatus :: Lens' ListGroupMembersResponse Int
+ Amazonka.WorkMail.Lens: listGroupMembersResponse_members :: Lens' ListGroupMembersResponse (Maybe [Member])
+ Amazonka.WorkMail.Lens: listGroupMembersResponse_nextToken :: Lens' ListGroupMembersResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listGroupMembers_groupId :: Lens' ListGroupMembers Text
+ Amazonka.WorkMail.Lens: listGroupMembers_maxResults :: Lens' ListGroupMembers (Maybe Natural)
+ Amazonka.WorkMail.Lens: listGroupMembers_nextToken :: Lens' ListGroupMembers (Maybe Text)
+ Amazonka.WorkMail.Lens: listGroupMembers_organizationId :: Lens' ListGroupMembers Text
+ Amazonka.WorkMail.Lens: listGroupsResponse_groups :: Lens' ListGroupsResponse (Maybe [Group])
+ Amazonka.WorkMail.Lens: listGroupsResponse_httpStatus :: Lens' ListGroupsResponse Int
+ Amazonka.WorkMail.Lens: listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listGroups_maxResults :: Lens' ListGroups (Maybe Natural)
+ Amazonka.WorkMail.Lens: listGroups_nextToken :: Lens' ListGroups (Maybe Text)
+ Amazonka.WorkMail.Lens: listGroups_organizationId :: Lens' ListGroups Text
+ Amazonka.WorkMail.Lens: listImpersonationRolesResponse_httpStatus :: Lens' ListImpersonationRolesResponse Int
+ Amazonka.WorkMail.Lens: listImpersonationRolesResponse_nextToken :: Lens' ListImpersonationRolesResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listImpersonationRolesResponse_roles :: Lens' ListImpersonationRolesResponse (Maybe [ImpersonationRole])
+ Amazonka.WorkMail.Lens: listImpersonationRoles_maxResults :: Lens' ListImpersonationRoles (Maybe Natural)
+ Amazonka.WorkMail.Lens: listImpersonationRoles_nextToken :: Lens' ListImpersonationRoles (Maybe Text)
+ Amazonka.WorkMail.Lens: listImpersonationRoles_organizationId :: Lens' ListImpersonationRoles Text
+ Amazonka.WorkMail.Lens: listMailDomainsResponse_httpStatus :: Lens' ListMailDomainsResponse Int
+ Amazonka.WorkMail.Lens: listMailDomainsResponse_mailDomains :: Lens' ListMailDomainsResponse (Maybe [MailDomainSummary])
+ Amazonka.WorkMail.Lens: listMailDomainsResponse_nextToken :: Lens' ListMailDomainsResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listMailDomains_maxResults :: Lens' ListMailDomains (Maybe Natural)
+ Amazonka.WorkMail.Lens: listMailDomains_nextToken :: Lens' ListMailDomains (Maybe Text)
+ Amazonka.WorkMail.Lens: listMailDomains_organizationId :: Lens' ListMailDomains Text
+ Amazonka.WorkMail.Lens: listMailboxExportJobsResponse_httpStatus :: Lens' ListMailboxExportJobsResponse Int
+ Amazonka.WorkMail.Lens: listMailboxExportJobsResponse_jobs :: Lens' ListMailboxExportJobsResponse (Maybe [MailboxExportJob])
+ Amazonka.WorkMail.Lens: listMailboxExportJobsResponse_nextToken :: Lens' ListMailboxExportJobsResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listMailboxExportJobs_maxResults :: Lens' ListMailboxExportJobs (Maybe Natural)
+ Amazonka.WorkMail.Lens: listMailboxExportJobs_nextToken :: Lens' ListMailboxExportJobs (Maybe Text)
+ Amazonka.WorkMail.Lens: listMailboxExportJobs_organizationId :: Lens' ListMailboxExportJobs Text
+ Amazonka.WorkMail.Lens: listMailboxPermissionsResponse_httpStatus :: Lens' ListMailboxPermissionsResponse Int
+ Amazonka.WorkMail.Lens: listMailboxPermissionsResponse_nextToken :: Lens' ListMailboxPermissionsResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listMailboxPermissionsResponse_permissions :: Lens' ListMailboxPermissionsResponse (Maybe [Permission])
+ Amazonka.WorkMail.Lens: listMailboxPermissions_entityId :: Lens' ListMailboxPermissions Text
+ Amazonka.WorkMail.Lens: listMailboxPermissions_maxResults :: Lens' ListMailboxPermissions (Maybe Natural)
+ Amazonka.WorkMail.Lens: listMailboxPermissions_nextToken :: Lens' ListMailboxPermissions (Maybe Text)
+ Amazonka.WorkMail.Lens: listMailboxPermissions_organizationId :: Lens' ListMailboxPermissions Text
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverridesResponse_httpStatus :: Lens' ListMobileDeviceAccessOverridesResponse Int
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverridesResponse_nextToken :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverridesResponse_overrides :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe [MobileDeviceAccessOverride])
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverrides_deviceId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverrides_maxResults :: Lens' ListMobileDeviceAccessOverrides (Maybe Natural)
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverrides_nextToken :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverrides_organizationId :: Lens' ListMobileDeviceAccessOverrides Text
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessOverrides_userId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessRulesResponse_httpStatus :: Lens' ListMobileDeviceAccessRulesResponse Int
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessRulesResponse_rules :: Lens' ListMobileDeviceAccessRulesResponse (Maybe [MobileDeviceAccessRule])
+ Amazonka.WorkMail.Lens: listMobileDeviceAccessRules_organizationId :: Lens' ListMobileDeviceAccessRules Text
+ Amazonka.WorkMail.Lens: listOrganizationsResponse_httpStatus :: Lens' ListOrganizationsResponse Int
+ Amazonka.WorkMail.Lens: listOrganizationsResponse_nextToken :: Lens' ListOrganizationsResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listOrganizationsResponse_organizationSummaries :: Lens' ListOrganizationsResponse (Maybe [OrganizationSummary])
+ Amazonka.WorkMail.Lens: listOrganizations_maxResults :: Lens' ListOrganizations (Maybe Natural)
+ Amazonka.WorkMail.Lens: listOrganizations_nextToken :: Lens' ListOrganizations (Maybe Text)
+ Amazonka.WorkMail.Lens: listResourceDelegatesResponse_delegates :: Lens' ListResourceDelegatesResponse (Maybe [Delegate])
+ Amazonka.WorkMail.Lens: listResourceDelegatesResponse_httpStatus :: Lens' ListResourceDelegatesResponse Int
+ Amazonka.WorkMail.Lens: listResourceDelegatesResponse_nextToken :: Lens' ListResourceDelegatesResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listResourceDelegates_maxResults :: Lens' ListResourceDelegates (Maybe Natural)
+ Amazonka.WorkMail.Lens: listResourceDelegates_nextToken :: Lens' ListResourceDelegates (Maybe Text)
+ Amazonka.WorkMail.Lens: listResourceDelegates_organizationId :: Lens' ListResourceDelegates Text
+ Amazonka.WorkMail.Lens: listResourceDelegates_resourceId :: Lens' ListResourceDelegates Text
+ Amazonka.WorkMail.Lens: listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int
+ Amazonka.WorkMail.Lens: listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource])
+ Amazonka.WorkMail.Lens: listResources_maxResults :: Lens' ListResources (Maybe Natural)
+ Amazonka.WorkMail.Lens: listResources_nextToken :: Lens' ListResources (Maybe Text)
+ Amazonka.WorkMail.Lens: listResources_organizationId :: Lens' ListResources Text
+ Amazonka.WorkMail.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.WorkMail.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.WorkMail.Lens: listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
+ Amazonka.WorkMail.Lens: listUsersResponse_httpStatus :: Lens' ListUsersResponse Int
+ Amazonka.WorkMail.Lens: listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User])
+ Amazonka.WorkMail.Lens: listUsers_maxResults :: Lens' ListUsers (Maybe Natural)
+ Amazonka.WorkMail.Lens: listUsers_nextToken :: Lens' ListUsers (Maybe Text)
+ Amazonka.WorkMail.Lens: listUsers_organizationId :: Lens' ListUsers Text
+ Amazonka.WorkMail.Lens: mailDomainSummary_defaultDomain :: Lens' MailDomainSummary (Maybe Bool)
+ Amazonka.WorkMail.Lens: mailDomainSummary_domainName :: Lens' MailDomainSummary (Maybe Text)
+ Amazonka.WorkMail.Lens: mailboxExportJob_description :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Lens: mailboxExportJob_endTime :: Lens' MailboxExportJob (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: mailboxExportJob_entityId :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Lens: mailboxExportJob_estimatedProgress :: Lens' MailboxExportJob (Maybe Natural)
+ Amazonka.WorkMail.Lens: mailboxExportJob_jobId :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Lens: mailboxExportJob_s3BucketName :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Lens: mailboxExportJob_s3Path :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Lens: mailboxExportJob_startTime :: Lens' MailboxExportJob (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: mailboxExportJob_state :: Lens' MailboxExportJob (Maybe MailboxExportJobState)
+ Amazonka.WorkMail.Lens: member_disabledDate :: Lens' Member (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: member_enabledDate :: Lens' Member (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: member_id :: Lens' Member (Maybe Text)
+ Amazonka.WorkMail.Lens: member_name :: Lens' Member (Maybe Text)
+ Amazonka.WorkMail.Lens: member_state :: Lens' Member (Maybe EntityState)
+ Amazonka.WorkMail.Lens: member_type :: Lens' Member (Maybe MemberType)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessMatchedRule_name :: Lens' MobileDeviceAccessMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessOverride_dateCreated :: Lens' MobileDeviceAccessOverride (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessOverride_dateModified :: Lens' MobileDeviceAccessOverride (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessOverride_description :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessOverride_deviceId :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessOverride_effect :: Lens' MobileDeviceAccessOverride (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessOverride_userId :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_dateCreated :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_dateModified :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_description :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_deviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_deviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_deviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_deviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_effect :: Lens' MobileDeviceAccessRule (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_name :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_notDeviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_notDeviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: mobileDeviceAccessRule_notDeviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: organizationSummary_alias :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Lens: organizationSummary_defaultMailDomain :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Lens: organizationSummary_errorMessage :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Lens: organizationSummary_organizationId :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Lens: organizationSummary_state :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Lens: permission_granteeId :: Lens' Permission Text
+ Amazonka.WorkMail.Lens: permission_granteeType :: Lens' Permission MemberType
+ Amazonka.WorkMail.Lens: permission_permissionValues :: Lens' Permission [PermissionType]
+ Amazonka.WorkMail.Lens: putAccessControlRuleResponse_httpStatus :: Lens' PutAccessControlRuleResponse Int
+ Amazonka.WorkMail.Lens: putAccessControlRule_actions :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putAccessControlRule_description :: Lens' PutAccessControlRule Text
+ Amazonka.WorkMail.Lens: putAccessControlRule_effect :: Lens' PutAccessControlRule AccessControlRuleEffect
+ Amazonka.WorkMail.Lens: putAccessControlRule_impersonationRoleIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putAccessControlRule_ipRanges :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putAccessControlRule_name :: Lens' PutAccessControlRule Text
+ Amazonka.WorkMail.Lens: putAccessControlRule_notActions :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putAccessControlRule_notImpersonationRoleIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putAccessControlRule_notIpRanges :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putAccessControlRule_notUserIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putAccessControlRule_organizationId :: Lens' PutAccessControlRule Text
+ Amazonka.WorkMail.Lens: putAccessControlRule_userIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Lens: putEmailMonitoringConfigurationResponse_httpStatus :: Lens' PutEmailMonitoringConfigurationResponse Int
+ Amazonka.WorkMail.Lens: putEmailMonitoringConfiguration_logGroupArn :: Lens' PutEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.Lens: putEmailMonitoringConfiguration_organizationId :: Lens' PutEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.Lens: putEmailMonitoringConfiguration_roleArn :: Lens' PutEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.Lens: putInboundDmarcSettingsResponse_httpStatus :: Lens' PutInboundDmarcSettingsResponse Int
+ Amazonka.WorkMail.Lens: putInboundDmarcSettings_enforced :: Lens' PutInboundDmarcSettings Bool
+ Amazonka.WorkMail.Lens: putInboundDmarcSettings_organizationId :: Lens' PutInboundDmarcSettings Text
+ Amazonka.WorkMail.Lens: putMailboxPermissionsResponse_httpStatus :: Lens' PutMailboxPermissionsResponse Int
+ Amazonka.WorkMail.Lens: putMailboxPermissions_entityId :: Lens' PutMailboxPermissions Text
+ Amazonka.WorkMail.Lens: putMailboxPermissions_granteeId :: Lens' PutMailboxPermissions Text
+ Amazonka.WorkMail.Lens: putMailboxPermissions_organizationId :: Lens' PutMailboxPermissions Text
+ Amazonka.WorkMail.Lens: putMailboxPermissions_permissionValues :: Lens' PutMailboxPermissions [PermissionType]
+ Amazonka.WorkMail.Lens: putMobileDeviceAccessOverrideResponse_httpStatus :: Lens' PutMobileDeviceAccessOverrideResponse Int
+ Amazonka.WorkMail.Lens: putMobileDeviceAccessOverride_description :: Lens' PutMobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Lens: putMobileDeviceAccessOverride_deviceId :: Lens' PutMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: putMobileDeviceAccessOverride_effect :: Lens' PutMobileDeviceAccessOverride MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Lens: putMobileDeviceAccessOverride_organizationId :: Lens' PutMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: putMobileDeviceAccessOverride_userId :: Lens' PutMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.Lens: putRetentionPolicyResponse_httpStatus :: Lens' PutRetentionPolicyResponse Int
+ Amazonka.WorkMail.Lens: putRetentionPolicy_description :: Lens' PutRetentionPolicy (Maybe Text)
+ Amazonka.WorkMail.Lens: putRetentionPolicy_folderConfigurations :: Lens' PutRetentionPolicy [FolderConfiguration]
+ Amazonka.WorkMail.Lens: putRetentionPolicy_id :: Lens' PutRetentionPolicy (Maybe Text)
+ Amazonka.WorkMail.Lens: putRetentionPolicy_name :: Lens' PutRetentionPolicy Text
+ Amazonka.WorkMail.Lens: putRetentionPolicy_organizationId :: Lens' PutRetentionPolicy Text
+ Amazonka.WorkMail.Lens: redactedEwsAvailabilityProvider_ewsEndpoint :: Lens' RedactedEwsAvailabilityProvider (Maybe Text)
+ Amazonka.WorkMail.Lens: redactedEwsAvailabilityProvider_ewsUsername :: Lens' RedactedEwsAvailabilityProvider (Maybe Text)
+ Amazonka.WorkMail.Lens: registerMailDomainResponse_httpStatus :: Lens' RegisterMailDomainResponse Int
+ Amazonka.WorkMail.Lens: registerMailDomain_clientToken :: Lens' RegisterMailDomain (Maybe Text)
+ Amazonka.WorkMail.Lens: registerMailDomain_domainName :: Lens' RegisterMailDomain Text
+ Amazonka.WorkMail.Lens: registerMailDomain_organizationId :: Lens' RegisterMailDomain Text
+ Amazonka.WorkMail.Lens: registerToWorkMailResponse_httpStatus :: Lens' RegisterToWorkMailResponse Int
+ Amazonka.WorkMail.Lens: registerToWorkMail_email :: Lens' RegisterToWorkMail Text
+ Amazonka.WorkMail.Lens: registerToWorkMail_entityId :: Lens' RegisterToWorkMail Text
+ Amazonka.WorkMail.Lens: registerToWorkMail_organizationId :: Lens' RegisterToWorkMail Text
+ Amazonka.WorkMail.Lens: resetPasswordResponse_httpStatus :: Lens' ResetPasswordResponse Int
+ Amazonka.WorkMail.Lens: resetPassword_organizationId :: Lens' ResetPassword Text
+ Amazonka.WorkMail.Lens: resetPassword_password :: Lens' ResetPassword Text
+ Amazonka.WorkMail.Lens: resetPassword_userId :: Lens' ResetPassword Text
+ Amazonka.WorkMail.Lens: resource_disabledDate :: Lens' Resource (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: resource_email :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Lens: resource_enabledDate :: Lens' Resource (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: resource_id :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Lens: resource_name :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Lens: resource_state :: Lens' Resource (Maybe EntityState)
+ Amazonka.WorkMail.Lens: resource_type :: Lens' Resource (Maybe ResourceType)
+ Amazonka.WorkMail.Lens: startMailboxExportJobResponse_httpStatus :: Lens' StartMailboxExportJobResponse Int
+ Amazonka.WorkMail.Lens: startMailboxExportJobResponse_jobId :: Lens' StartMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: startMailboxExportJob_clientToken :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.Lens: startMailboxExportJob_description :: Lens' StartMailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Lens: startMailboxExportJob_entityId :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.Lens: startMailboxExportJob_kmsKeyArn :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.Lens: startMailboxExportJob_organizationId :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.Lens: startMailboxExportJob_roleArn :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.Lens: startMailboxExportJob_s3BucketName :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.Lens: startMailboxExportJob_s3Prefix :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.WorkMail.Lens: tagResource_resourceARN :: Lens' TagResource Text
+ Amazonka.WorkMail.Lens: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.WorkMail.Lens: tag_key :: Lens' Tag Text
+ Amazonka.WorkMail.Lens: tag_value :: Lens' Tag Text
+ Amazonka.WorkMail.Lens: testAvailabilityConfigurationResponse_failureReason :: Lens' TestAvailabilityConfigurationResponse (Maybe Text)
+ Amazonka.WorkMail.Lens: testAvailabilityConfigurationResponse_httpStatus :: Lens' TestAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.Lens: testAvailabilityConfigurationResponse_testPassed :: Lens' TestAvailabilityConfigurationResponse (Maybe Bool)
+ Amazonka.WorkMail.Lens: testAvailabilityConfiguration_domainName :: Lens' TestAvailabilityConfiguration (Maybe Text)
+ Amazonka.WorkMail.Lens: testAvailabilityConfiguration_ewsProvider :: Lens' TestAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
+ Amazonka.WorkMail.Lens: testAvailabilityConfiguration_lambdaProvider :: Lens' TestAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.Lens: testAvailabilityConfiguration_organizationId :: Lens' TestAvailabilityConfiguration Text
+ Amazonka.WorkMail.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.WorkMail.Lens: untagResource_resourceARN :: Lens' UntagResource Text
+ Amazonka.WorkMail.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.WorkMail.Lens: updateAvailabilityConfigurationResponse_httpStatus :: Lens' UpdateAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.Lens: updateAvailabilityConfiguration_domainName :: Lens' UpdateAvailabilityConfiguration Text
+ Amazonka.WorkMail.Lens: updateAvailabilityConfiguration_ewsProvider :: Lens' UpdateAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
+ Amazonka.WorkMail.Lens: updateAvailabilityConfiguration_lambdaProvider :: Lens' UpdateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.Lens: updateAvailabilityConfiguration_organizationId :: Lens' UpdateAvailabilityConfiguration Text
+ Amazonka.WorkMail.Lens: updateDefaultMailDomainResponse_httpStatus :: Lens' UpdateDefaultMailDomainResponse Int
+ Amazonka.WorkMail.Lens: updateDefaultMailDomain_domainName :: Lens' UpdateDefaultMailDomain Text
+ Amazonka.WorkMail.Lens: updateDefaultMailDomain_organizationId :: Lens' UpdateDefaultMailDomain Text
+ Amazonka.WorkMail.Lens: updateImpersonationRoleResponse_httpStatus :: Lens' UpdateImpersonationRoleResponse Int
+ Amazonka.WorkMail.Lens: updateImpersonationRole_description :: Lens' UpdateImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Lens: updateImpersonationRole_impersonationRoleId :: Lens' UpdateImpersonationRole Text
+ Amazonka.WorkMail.Lens: updateImpersonationRole_name :: Lens' UpdateImpersonationRole Text
+ Amazonka.WorkMail.Lens: updateImpersonationRole_organizationId :: Lens' UpdateImpersonationRole Text
+ Amazonka.WorkMail.Lens: updateImpersonationRole_rules :: Lens' UpdateImpersonationRole [ImpersonationRule]
+ Amazonka.WorkMail.Lens: updateImpersonationRole_type :: Lens' UpdateImpersonationRole ImpersonationRoleType
+ Amazonka.WorkMail.Lens: updateMailboxQuotaResponse_httpStatus :: Lens' UpdateMailboxQuotaResponse Int
+ Amazonka.WorkMail.Lens: updateMailboxQuota_mailboxQuota :: Lens' UpdateMailboxQuota Natural
+ Amazonka.WorkMail.Lens: updateMailboxQuota_organizationId :: Lens' UpdateMailboxQuota Text
+ Amazonka.WorkMail.Lens: updateMailboxQuota_userId :: Lens' UpdateMailboxQuota Text
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRuleResponse_httpStatus :: Lens' UpdateMobileDeviceAccessRuleResponse Int
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_description :: Lens' UpdateMobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_deviceModels :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_deviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_deviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_deviceUserAgents :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_effect :: Lens' UpdateMobileDeviceAccessRule MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' UpdateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_name :: Lens' UpdateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_notDeviceModels :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_notDeviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_notDeviceUserAgents :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Lens: updateMobileDeviceAccessRule_organizationId :: Lens' UpdateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.Lens: updatePrimaryEmailAddressResponse_httpStatus :: Lens' UpdatePrimaryEmailAddressResponse Int
+ Amazonka.WorkMail.Lens: updatePrimaryEmailAddress_email :: Lens' UpdatePrimaryEmailAddress Text
+ Amazonka.WorkMail.Lens: updatePrimaryEmailAddress_entityId :: Lens' UpdatePrimaryEmailAddress Text
+ Amazonka.WorkMail.Lens: updatePrimaryEmailAddress_organizationId :: Lens' UpdatePrimaryEmailAddress Text
+ Amazonka.WorkMail.Lens: updateResourceResponse_httpStatus :: Lens' UpdateResourceResponse Int
+ Amazonka.WorkMail.Lens: updateResource_bookingOptions :: Lens' UpdateResource (Maybe BookingOptions)
+ Amazonka.WorkMail.Lens: updateResource_name :: Lens' UpdateResource (Maybe Text)
+ Amazonka.WorkMail.Lens: updateResource_organizationId :: Lens' UpdateResource Text
+ Amazonka.WorkMail.Lens: updateResource_resourceId :: Lens' UpdateResource Text
+ Amazonka.WorkMail.Lens: user_disabledDate :: Lens' User (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: user_displayName :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Lens: user_email :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Lens: user_enabledDate :: Lens' User (Maybe UTCTime)
+ Amazonka.WorkMail.Lens: user_id :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Lens: user_name :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Lens: user_state :: Lens' User (Maybe EntityState)
+ Amazonka.WorkMail.Lens: user_userRole :: Lens' User (Maybe UserRole)
+ Amazonka.WorkMail.ListAccessControlRules: ListAccessControlRules' :: Text -> ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: ListAccessControlRulesResponse' :: Maybe [AccessControlRule] -> Int -> ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAccessControlRules: [$sel:httpStatus:ListAccessControlRulesResponse'] :: ListAccessControlRulesResponse -> Int
+ Amazonka.WorkMail.ListAccessControlRules: [$sel:organizationId:ListAccessControlRules'] :: ListAccessControlRules -> Text
+ Amazonka.WorkMail.ListAccessControlRules: [$sel:rules:ListAccessControlRulesResponse'] :: ListAccessControlRulesResponse -> Maybe [AccessControlRule]
+ Amazonka.WorkMail.ListAccessControlRules: data ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: data ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAccessControlRules: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAccessControlRules: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Classes.Eq Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Classes.Eq Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Generics.Generic Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Generics.Generic Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Read.Read Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Read.Read Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Show.Show Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: instance GHC.Show.Show Amazonka.WorkMail.ListAccessControlRules.ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAccessControlRules: listAccessControlRulesResponse_httpStatus :: Lens' ListAccessControlRulesResponse Int
+ Amazonka.WorkMail.ListAccessControlRules: listAccessControlRulesResponse_rules :: Lens' ListAccessControlRulesResponse (Maybe [AccessControlRule])
+ Amazonka.WorkMail.ListAccessControlRules: listAccessControlRules_organizationId :: Lens' ListAccessControlRules Text
+ Amazonka.WorkMail.ListAccessControlRules: newListAccessControlRules :: Text -> ListAccessControlRules
+ Amazonka.WorkMail.ListAccessControlRules: newListAccessControlRulesResponse :: Int -> ListAccessControlRulesResponse
+ Amazonka.WorkMail.ListAliases: ListAliases' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListAliases
+ Amazonka.WorkMail.ListAliases: ListAliasesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListAliasesResponse
+ Amazonka.WorkMail.ListAliases: [$sel:aliases:ListAliasesResponse'] :: ListAliasesResponse -> Maybe [Text]
+ Amazonka.WorkMail.ListAliases: [$sel:entityId:ListAliases'] :: ListAliases -> Text
+ Amazonka.WorkMail.ListAliases: [$sel:httpStatus:ListAliasesResponse'] :: ListAliasesResponse -> Int
+ Amazonka.WorkMail.ListAliases: [$sel:maxResults:ListAliases'] :: ListAliases -> Maybe Natural
+ Amazonka.WorkMail.ListAliases: [$sel:nextToken:ListAliases'] :: ListAliases -> Maybe Text
+ Amazonka.WorkMail.ListAliases: [$sel:nextToken:ListAliasesResponse'] :: ListAliasesResponse -> Maybe Text
+ Amazonka.WorkMail.ListAliases: [$sel:organizationId:ListAliases'] :: ListAliases -> Text
+ Amazonka.WorkMail.ListAliases: data ListAliases
+ Amazonka.WorkMail.ListAliases: data ListAliasesResponse
+ Amazonka.WorkMail.ListAliases: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListAliases.ListAliasesResponse
+ Amazonka.WorkMail.ListAliases: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance GHC.Classes.Eq Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance GHC.Classes.Eq Amazonka.WorkMail.ListAliases.ListAliasesResponse
+ Amazonka.WorkMail.ListAliases: instance GHC.Generics.Generic Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance GHC.Generics.Generic Amazonka.WorkMail.ListAliases.ListAliasesResponse
+ Amazonka.WorkMail.ListAliases: instance GHC.Read.Read Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance GHC.Read.Read Amazonka.WorkMail.ListAliases.ListAliasesResponse
+ Amazonka.WorkMail.ListAliases: instance GHC.Show.Show Amazonka.WorkMail.ListAliases.ListAliases
+ Amazonka.WorkMail.ListAliases: instance GHC.Show.Show Amazonka.WorkMail.ListAliases.ListAliasesResponse
+ Amazonka.WorkMail.ListAliases: listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [Text])
+ Amazonka.WorkMail.ListAliases: listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int
+ Amazonka.WorkMail.ListAliases: listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text)
+ Amazonka.WorkMail.ListAliases: listAliases_entityId :: Lens' ListAliases Text
+ Amazonka.WorkMail.ListAliases: listAliases_maxResults :: Lens' ListAliases (Maybe Natural)
+ Amazonka.WorkMail.ListAliases: listAliases_nextToken :: Lens' ListAliases (Maybe Text)
+ Amazonka.WorkMail.ListAliases: listAliases_organizationId :: Lens' ListAliases Text
+ Amazonka.WorkMail.ListAliases: newListAliases :: Text -> Text -> ListAliases
+ Amazonka.WorkMail.ListAliases: newListAliasesResponse :: Int -> ListAliasesResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: ListAvailabilityConfigurations' :: Maybe Natural -> Maybe Text -> Text -> ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: ListAvailabilityConfigurationsResponse' :: Maybe [AvailabilityConfiguration] -> Maybe Text -> Int -> ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: [$sel:availabilityConfigurations:ListAvailabilityConfigurationsResponse'] :: ListAvailabilityConfigurationsResponse -> Maybe [AvailabilityConfiguration]
+ Amazonka.WorkMail.ListAvailabilityConfigurations: [$sel:httpStatus:ListAvailabilityConfigurationsResponse'] :: ListAvailabilityConfigurationsResponse -> Int
+ Amazonka.WorkMail.ListAvailabilityConfigurations: [$sel:maxResults:ListAvailabilityConfigurations'] :: ListAvailabilityConfigurations -> Maybe Natural
+ Amazonka.WorkMail.ListAvailabilityConfigurations: [$sel:nextToken:ListAvailabilityConfigurations'] :: ListAvailabilityConfigurations -> Maybe Text
+ Amazonka.WorkMail.ListAvailabilityConfigurations: [$sel:nextToken:ListAvailabilityConfigurationsResponse'] :: ListAvailabilityConfigurationsResponse -> Maybe Text
+ Amazonka.WorkMail.ListAvailabilityConfigurations: [$sel:organizationId:ListAvailabilityConfigurations'] :: ListAvailabilityConfigurations -> Text
+ Amazonka.WorkMail.ListAvailabilityConfigurations: data ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: data ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Classes.Eq Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Classes.Eq Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Generics.Generic Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Generics.Generic Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Read.Read Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Read.Read Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Show.Show Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: instance GHC.Show.Show Amazonka.WorkMail.ListAvailabilityConfigurations.ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListAvailabilityConfigurations: listAvailabilityConfigurationsResponse_availabilityConfigurations :: Lens' ListAvailabilityConfigurationsResponse (Maybe [AvailabilityConfiguration])
+ Amazonka.WorkMail.ListAvailabilityConfigurations: listAvailabilityConfigurationsResponse_httpStatus :: Lens' ListAvailabilityConfigurationsResponse Int
+ Amazonka.WorkMail.ListAvailabilityConfigurations: listAvailabilityConfigurationsResponse_nextToken :: Lens' ListAvailabilityConfigurationsResponse (Maybe Text)
+ Amazonka.WorkMail.ListAvailabilityConfigurations: listAvailabilityConfigurations_maxResults :: Lens' ListAvailabilityConfigurations (Maybe Natural)
+ Amazonka.WorkMail.ListAvailabilityConfigurations: listAvailabilityConfigurations_nextToken :: Lens' ListAvailabilityConfigurations (Maybe Text)
+ Amazonka.WorkMail.ListAvailabilityConfigurations: listAvailabilityConfigurations_organizationId :: Lens' ListAvailabilityConfigurations Text
+ Amazonka.WorkMail.ListAvailabilityConfigurations: newListAvailabilityConfigurations :: Text -> ListAvailabilityConfigurations
+ Amazonka.WorkMail.ListAvailabilityConfigurations: newListAvailabilityConfigurationsResponse :: Int -> ListAvailabilityConfigurationsResponse
+ Amazonka.WorkMail.ListGroupMembers: ListGroupMembers' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: ListGroupMembersResponse' :: Maybe [Member] -> Maybe Text -> Int -> ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroupMembers: [$sel:groupId:ListGroupMembers'] :: ListGroupMembers -> Text
+ Amazonka.WorkMail.ListGroupMembers: [$sel:httpStatus:ListGroupMembersResponse'] :: ListGroupMembersResponse -> Int
+ Amazonka.WorkMail.ListGroupMembers: [$sel:maxResults:ListGroupMembers'] :: ListGroupMembers -> Maybe Natural
+ Amazonka.WorkMail.ListGroupMembers: [$sel:members:ListGroupMembersResponse'] :: ListGroupMembersResponse -> Maybe [Member]
+ Amazonka.WorkMail.ListGroupMembers: [$sel:nextToken:ListGroupMembers'] :: ListGroupMembers -> Maybe Text
+ Amazonka.WorkMail.ListGroupMembers: [$sel:nextToken:ListGroupMembersResponse'] :: ListGroupMembersResponse -> Maybe Text
+ Amazonka.WorkMail.ListGroupMembers: [$sel:organizationId:ListGroupMembers'] :: ListGroupMembers -> Text
+ Amazonka.WorkMail.ListGroupMembers: data ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: data ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroupMembers: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListGroupMembers.ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroupMembers: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Classes.Eq Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Classes.Eq Amazonka.WorkMail.ListGroupMembers.ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Generics.Generic Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Generics.Generic Amazonka.WorkMail.ListGroupMembers.ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Read.Read Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Read.Read Amazonka.WorkMail.ListGroupMembers.ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Show.Show Amazonka.WorkMail.ListGroupMembers.ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: instance GHC.Show.Show Amazonka.WorkMail.ListGroupMembers.ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroupMembers: listGroupMembersResponse_httpStatus :: Lens' ListGroupMembersResponse Int
+ Amazonka.WorkMail.ListGroupMembers: listGroupMembersResponse_members :: Lens' ListGroupMembersResponse (Maybe [Member])
+ Amazonka.WorkMail.ListGroupMembers: listGroupMembersResponse_nextToken :: Lens' ListGroupMembersResponse (Maybe Text)
+ Amazonka.WorkMail.ListGroupMembers: listGroupMembers_groupId :: Lens' ListGroupMembers Text
+ Amazonka.WorkMail.ListGroupMembers: listGroupMembers_maxResults :: Lens' ListGroupMembers (Maybe Natural)
+ Amazonka.WorkMail.ListGroupMembers: listGroupMembers_nextToken :: Lens' ListGroupMembers (Maybe Text)
+ Amazonka.WorkMail.ListGroupMembers: listGroupMembers_organizationId :: Lens' ListGroupMembers Text
+ Amazonka.WorkMail.ListGroupMembers: newListGroupMembers :: Text -> Text -> ListGroupMembers
+ Amazonka.WorkMail.ListGroupMembers: newListGroupMembersResponse :: Int -> ListGroupMembersResponse
+ Amazonka.WorkMail.ListGroups: ListGroups' :: Maybe Natural -> Maybe Text -> Text -> ListGroups
+ Amazonka.WorkMail.ListGroups: ListGroupsResponse' :: Maybe [Group] -> Maybe Text -> Int -> ListGroupsResponse
+ Amazonka.WorkMail.ListGroups: [$sel:groups:ListGroupsResponse'] :: ListGroupsResponse -> Maybe [Group]
+ Amazonka.WorkMail.ListGroups: [$sel:httpStatus:ListGroupsResponse'] :: ListGroupsResponse -> Int
+ Amazonka.WorkMail.ListGroups: [$sel:maxResults:ListGroups'] :: ListGroups -> Maybe Natural
+ Amazonka.WorkMail.ListGroups: [$sel:nextToken:ListGroups'] :: ListGroups -> Maybe Text
+ Amazonka.WorkMail.ListGroups: [$sel:nextToken:ListGroupsResponse'] :: ListGroupsResponse -> Maybe Text
+ Amazonka.WorkMail.ListGroups: [$sel:organizationId:ListGroups'] :: ListGroups -> Text
+ Amazonka.WorkMail.ListGroups: data ListGroups
+ Amazonka.WorkMail.ListGroups: data ListGroupsResponse
+ Amazonka.WorkMail.ListGroups: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListGroups.ListGroupsResponse
+ Amazonka.WorkMail.ListGroups: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance GHC.Classes.Eq Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance GHC.Classes.Eq Amazonka.WorkMail.ListGroups.ListGroupsResponse
+ Amazonka.WorkMail.ListGroups: instance GHC.Generics.Generic Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance GHC.Generics.Generic Amazonka.WorkMail.ListGroups.ListGroupsResponse
+ Amazonka.WorkMail.ListGroups: instance GHC.Read.Read Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance GHC.Read.Read Amazonka.WorkMail.ListGroups.ListGroupsResponse
+ Amazonka.WorkMail.ListGroups: instance GHC.Show.Show Amazonka.WorkMail.ListGroups.ListGroups
+ Amazonka.WorkMail.ListGroups: instance GHC.Show.Show Amazonka.WorkMail.ListGroups.ListGroupsResponse
+ Amazonka.WorkMail.ListGroups: listGroupsResponse_groups :: Lens' ListGroupsResponse (Maybe [Group])
+ Amazonka.WorkMail.ListGroups: listGroupsResponse_httpStatus :: Lens' ListGroupsResponse Int
+ Amazonka.WorkMail.ListGroups: listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text)
+ Amazonka.WorkMail.ListGroups: listGroups_maxResults :: Lens' ListGroups (Maybe Natural)
+ Amazonka.WorkMail.ListGroups: listGroups_nextToken :: Lens' ListGroups (Maybe Text)
+ Amazonka.WorkMail.ListGroups: listGroups_organizationId :: Lens' ListGroups Text
+ Amazonka.WorkMail.ListGroups: newListGroups :: Text -> ListGroups
+ Amazonka.WorkMail.ListGroups: newListGroupsResponse :: Int -> ListGroupsResponse
+ Amazonka.WorkMail.ListImpersonationRoles: ListImpersonationRoles' :: Maybe Natural -> Maybe Text -> Text -> ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: ListImpersonationRolesResponse' :: Maybe Text -> Maybe [ImpersonationRole] -> Int -> ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListImpersonationRoles: [$sel:httpStatus:ListImpersonationRolesResponse'] :: ListImpersonationRolesResponse -> Int
+ Amazonka.WorkMail.ListImpersonationRoles: [$sel:maxResults:ListImpersonationRoles'] :: ListImpersonationRoles -> Maybe Natural
+ Amazonka.WorkMail.ListImpersonationRoles: [$sel:nextToken:ListImpersonationRoles'] :: ListImpersonationRoles -> Maybe Text
+ Amazonka.WorkMail.ListImpersonationRoles: [$sel:nextToken:ListImpersonationRolesResponse'] :: ListImpersonationRolesResponse -> Maybe Text
+ Amazonka.WorkMail.ListImpersonationRoles: [$sel:organizationId:ListImpersonationRoles'] :: ListImpersonationRoles -> Text
+ Amazonka.WorkMail.ListImpersonationRoles: [$sel:roles:ListImpersonationRolesResponse'] :: ListImpersonationRolesResponse -> Maybe [ImpersonationRole]
+ Amazonka.WorkMail.ListImpersonationRoles: data ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: data ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListImpersonationRoles: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListImpersonationRoles: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Classes.Eq Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Classes.Eq Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Generics.Generic Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Generics.Generic Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Read.Read Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Read.Read Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Show.Show Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: instance GHC.Show.Show Amazonka.WorkMail.ListImpersonationRoles.ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListImpersonationRoles: listImpersonationRolesResponse_httpStatus :: Lens' ListImpersonationRolesResponse Int
+ Amazonka.WorkMail.ListImpersonationRoles: listImpersonationRolesResponse_nextToken :: Lens' ListImpersonationRolesResponse (Maybe Text)
+ Amazonka.WorkMail.ListImpersonationRoles: listImpersonationRolesResponse_roles :: Lens' ListImpersonationRolesResponse (Maybe [ImpersonationRole])
+ Amazonka.WorkMail.ListImpersonationRoles: listImpersonationRoles_maxResults :: Lens' ListImpersonationRoles (Maybe Natural)
+ Amazonka.WorkMail.ListImpersonationRoles: listImpersonationRoles_nextToken :: Lens' ListImpersonationRoles (Maybe Text)
+ Amazonka.WorkMail.ListImpersonationRoles: listImpersonationRoles_organizationId :: Lens' ListImpersonationRoles Text
+ Amazonka.WorkMail.ListImpersonationRoles: newListImpersonationRoles :: Text -> ListImpersonationRoles
+ Amazonka.WorkMail.ListImpersonationRoles: newListImpersonationRolesResponse :: Int -> ListImpersonationRolesResponse
+ Amazonka.WorkMail.ListMailDomains: ListMailDomains' :: Maybe Natural -> Maybe Text -> Text -> ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: ListMailDomainsResponse' :: Maybe [MailDomainSummary] -> Maybe Text -> Int -> ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailDomains: [$sel:httpStatus:ListMailDomainsResponse'] :: ListMailDomainsResponse -> Int
+ Amazonka.WorkMail.ListMailDomains: [$sel:mailDomains:ListMailDomainsResponse'] :: ListMailDomainsResponse -> Maybe [MailDomainSummary]
+ Amazonka.WorkMail.ListMailDomains: [$sel:maxResults:ListMailDomains'] :: ListMailDomains -> Maybe Natural
+ Amazonka.WorkMail.ListMailDomains: [$sel:nextToken:ListMailDomains'] :: ListMailDomains -> Maybe Text
+ Amazonka.WorkMail.ListMailDomains: [$sel:nextToken:ListMailDomainsResponse'] :: ListMailDomainsResponse -> Maybe Text
+ Amazonka.WorkMail.ListMailDomains: [$sel:organizationId:ListMailDomains'] :: ListMailDomains -> Text
+ Amazonka.WorkMail.ListMailDomains: data ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: data ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailDomains: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMailDomains.ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailDomains: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Classes.Eq Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Classes.Eq Amazonka.WorkMail.ListMailDomains.ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Generics.Generic Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Generics.Generic Amazonka.WorkMail.ListMailDomains.ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Read.Read Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Read.Read Amazonka.WorkMail.ListMailDomains.ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Show.Show Amazonka.WorkMail.ListMailDomains.ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: instance GHC.Show.Show Amazonka.WorkMail.ListMailDomains.ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailDomains: listMailDomainsResponse_httpStatus :: Lens' ListMailDomainsResponse Int
+ Amazonka.WorkMail.ListMailDomains: listMailDomainsResponse_mailDomains :: Lens' ListMailDomainsResponse (Maybe [MailDomainSummary])
+ Amazonka.WorkMail.ListMailDomains: listMailDomainsResponse_nextToken :: Lens' ListMailDomainsResponse (Maybe Text)
+ Amazonka.WorkMail.ListMailDomains: listMailDomains_maxResults :: Lens' ListMailDomains (Maybe Natural)
+ Amazonka.WorkMail.ListMailDomains: listMailDomains_nextToken :: Lens' ListMailDomains (Maybe Text)
+ Amazonka.WorkMail.ListMailDomains: listMailDomains_organizationId :: Lens' ListMailDomains Text
+ Amazonka.WorkMail.ListMailDomains: newListMailDomains :: Text -> ListMailDomains
+ Amazonka.WorkMail.ListMailDomains: newListMailDomainsResponse :: Int -> ListMailDomainsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: ListMailboxExportJobs' :: Maybe Natural -> Maybe Text -> Text -> ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: ListMailboxExportJobsResponse' :: Maybe [MailboxExportJob] -> Maybe Text -> Int -> ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: [$sel:httpStatus:ListMailboxExportJobsResponse'] :: ListMailboxExportJobsResponse -> Int
+ Amazonka.WorkMail.ListMailboxExportJobs: [$sel:jobs:ListMailboxExportJobsResponse'] :: ListMailboxExportJobsResponse -> Maybe [MailboxExportJob]
+ Amazonka.WorkMail.ListMailboxExportJobs: [$sel:maxResults:ListMailboxExportJobs'] :: ListMailboxExportJobs -> Maybe Natural
+ Amazonka.WorkMail.ListMailboxExportJobs: [$sel:nextToken:ListMailboxExportJobs'] :: ListMailboxExportJobs -> Maybe Text
+ Amazonka.WorkMail.ListMailboxExportJobs: [$sel:nextToken:ListMailboxExportJobsResponse'] :: ListMailboxExportJobsResponse -> Maybe Text
+ Amazonka.WorkMail.ListMailboxExportJobs: [$sel:organizationId:ListMailboxExportJobs'] :: ListMailboxExportJobs -> Text
+ Amazonka.WorkMail.ListMailboxExportJobs: data ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: data ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Classes.Eq Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Classes.Eq Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Generics.Generic Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Generics.Generic Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Read.Read Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Read.Read Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Show.Show Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: instance GHC.Show.Show Amazonka.WorkMail.ListMailboxExportJobs.ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxExportJobs: listMailboxExportJobsResponse_httpStatus :: Lens' ListMailboxExportJobsResponse Int
+ Amazonka.WorkMail.ListMailboxExportJobs: listMailboxExportJobsResponse_jobs :: Lens' ListMailboxExportJobsResponse (Maybe [MailboxExportJob])
+ Amazonka.WorkMail.ListMailboxExportJobs: listMailboxExportJobsResponse_nextToken :: Lens' ListMailboxExportJobsResponse (Maybe Text)
+ Amazonka.WorkMail.ListMailboxExportJobs: listMailboxExportJobs_maxResults :: Lens' ListMailboxExportJobs (Maybe Natural)
+ Amazonka.WorkMail.ListMailboxExportJobs: listMailboxExportJobs_nextToken :: Lens' ListMailboxExportJobs (Maybe Text)
+ Amazonka.WorkMail.ListMailboxExportJobs: listMailboxExportJobs_organizationId :: Lens' ListMailboxExportJobs Text
+ Amazonka.WorkMail.ListMailboxExportJobs: newListMailboxExportJobs :: Text -> ListMailboxExportJobs
+ Amazonka.WorkMail.ListMailboxExportJobs: newListMailboxExportJobsResponse :: Int -> ListMailboxExportJobsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: ListMailboxPermissions' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: ListMailboxPermissionsResponse' :: Maybe Text -> Maybe [Permission] -> Int -> ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: [$sel:entityId:ListMailboxPermissions'] :: ListMailboxPermissions -> Text
+ Amazonka.WorkMail.ListMailboxPermissions: [$sel:httpStatus:ListMailboxPermissionsResponse'] :: ListMailboxPermissionsResponse -> Int
+ Amazonka.WorkMail.ListMailboxPermissions: [$sel:maxResults:ListMailboxPermissions'] :: ListMailboxPermissions -> Maybe Natural
+ Amazonka.WorkMail.ListMailboxPermissions: [$sel:nextToken:ListMailboxPermissions'] :: ListMailboxPermissions -> Maybe Text
+ Amazonka.WorkMail.ListMailboxPermissions: [$sel:nextToken:ListMailboxPermissionsResponse'] :: ListMailboxPermissionsResponse -> Maybe Text
+ Amazonka.WorkMail.ListMailboxPermissions: [$sel:organizationId:ListMailboxPermissions'] :: ListMailboxPermissions -> Text
+ Amazonka.WorkMail.ListMailboxPermissions: [$sel:permissions:ListMailboxPermissionsResponse'] :: ListMailboxPermissionsResponse -> Maybe [Permission]
+ Amazonka.WorkMail.ListMailboxPermissions: data ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: data ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Classes.Eq Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Classes.Eq Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Generics.Generic Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Generics.Generic Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Read.Read Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Read.Read Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Show.Show Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: instance GHC.Show.Show Amazonka.WorkMail.ListMailboxPermissions.ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMailboxPermissions: listMailboxPermissionsResponse_httpStatus :: Lens' ListMailboxPermissionsResponse Int
+ Amazonka.WorkMail.ListMailboxPermissions: listMailboxPermissionsResponse_nextToken :: Lens' ListMailboxPermissionsResponse (Maybe Text)
+ Amazonka.WorkMail.ListMailboxPermissions: listMailboxPermissionsResponse_permissions :: Lens' ListMailboxPermissionsResponse (Maybe [Permission])
+ Amazonka.WorkMail.ListMailboxPermissions: listMailboxPermissions_entityId :: Lens' ListMailboxPermissions Text
+ Amazonka.WorkMail.ListMailboxPermissions: listMailboxPermissions_maxResults :: Lens' ListMailboxPermissions (Maybe Natural)
+ Amazonka.WorkMail.ListMailboxPermissions: listMailboxPermissions_nextToken :: Lens' ListMailboxPermissions (Maybe Text)
+ Amazonka.WorkMail.ListMailboxPermissions: listMailboxPermissions_organizationId :: Lens' ListMailboxPermissions Text
+ Amazonka.WorkMail.ListMailboxPermissions: newListMailboxPermissions :: Text -> Text -> ListMailboxPermissions
+ Amazonka.WorkMail.ListMailboxPermissions: newListMailboxPermissionsResponse :: Int -> ListMailboxPermissionsResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: ListMobileDeviceAccessOverrides' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: ListMobileDeviceAccessOverridesResponse' :: Maybe Text -> Maybe [MobileDeviceAccessOverride] -> Int -> ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:deviceId:ListMobileDeviceAccessOverrides'] :: ListMobileDeviceAccessOverrides -> Maybe Text
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:httpStatus:ListMobileDeviceAccessOverridesResponse'] :: ListMobileDeviceAccessOverridesResponse -> Int
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:maxResults:ListMobileDeviceAccessOverrides'] :: ListMobileDeviceAccessOverrides -> Maybe Natural
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:nextToken:ListMobileDeviceAccessOverrides'] :: ListMobileDeviceAccessOverrides -> Maybe Text
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:nextToken:ListMobileDeviceAccessOverridesResponse'] :: ListMobileDeviceAccessOverridesResponse -> Maybe Text
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:organizationId:ListMobileDeviceAccessOverrides'] :: ListMobileDeviceAccessOverrides -> Text
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:overrides:ListMobileDeviceAccessOverridesResponse'] :: ListMobileDeviceAccessOverridesResponse -> Maybe [MobileDeviceAccessOverride]
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: [$sel:userId:ListMobileDeviceAccessOverrides'] :: ListMobileDeviceAccessOverrides -> Maybe Text
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: data ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: data ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Classes.Eq Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Classes.Eq Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Generics.Generic Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Generics.Generic Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Read.Read Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Read.Read Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Show.Show Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: instance GHC.Show.Show Amazonka.WorkMail.ListMobileDeviceAccessOverrides.ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverridesResponse_httpStatus :: Lens' ListMobileDeviceAccessOverridesResponse Int
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverridesResponse_nextToken :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe Text)
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverridesResponse_overrides :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe [MobileDeviceAccessOverride])
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverrides_deviceId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverrides_maxResults :: Lens' ListMobileDeviceAccessOverrides (Maybe Natural)
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverrides_nextToken :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverrides_organizationId :: Lens' ListMobileDeviceAccessOverrides Text
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: listMobileDeviceAccessOverrides_userId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: newListMobileDeviceAccessOverrides :: Text -> ListMobileDeviceAccessOverrides
+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides: newListMobileDeviceAccessOverridesResponse :: Int -> ListMobileDeviceAccessOverridesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: ListMobileDeviceAccessRules' :: Text -> ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: ListMobileDeviceAccessRulesResponse' :: Maybe [MobileDeviceAccessRule] -> Int -> ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: [$sel:httpStatus:ListMobileDeviceAccessRulesResponse'] :: ListMobileDeviceAccessRulesResponse -> Int
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: [$sel:organizationId:ListMobileDeviceAccessRules'] :: ListMobileDeviceAccessRules -> Text
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: [$sel:rules:ListMobileDeviceAccessRulesResponse'] :: ListMobileDeviceAccessRulesResponse -> Maybe [MobileDeviceAccessRule]
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: data ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: data ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Classes.Eq Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Classes.Eq Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Generics.Generic Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Generics.Generic Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Read.Read Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Read.Read Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Show.Show Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: instance GHC.Show.Show Amazonka.WorkMail.ListMobileDeviceAccessRules.ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: listMobileDeviceAccessRulesResponse_httpStatus :: Lens' ListMobileDeviceAccessRulesResponse Int
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: listMobileDeviceAccessRulesResponse_rules :: Lens' ListMobileDeviceAccessRulesResponse (Maybe [MobileDeviceAccessRule])
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: listMobileDeviceAccessRules_organizationId :: Lens' ListMobileDeviceAccessRules Text
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: newListMobileDeviceAccessRules :: Text -> ListMobileDeviceAccessRules
+ Amazonka.WorkMail.ListMobileDeviceAccessRules: newListMobileDeviceAccessRulesResponse :: Int -> ListMobileDeviceAccessRulesResponse
+ Amazonka.WorkMail.ListOrganizations: ListOrganizations' :: Maybe Natural -> Maybe Text -> ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: ListOrganizationsResponse' :: Maybe Text -> Maybe [OrganizationSummary] -> Int -> ListOrganizationsResponse
+ Amazonka.WorkMail.ListOrganizations: [$sel:httpStatus:ListOrganizationsResponse'] :: ListOrganizationsResponse -> Int
+ Amazonka.WorkMail.ListOrganizations: [$sel:maxResults:ListOrganizations'] :: ListOrganizations -> Maybe Natural
+ Amazonka.WorkMail.ListOrganizations: [$sel:nextToken:ListOrganizations'] :: ListOrganizations -> Maybe Text
+ Amazonka.WorkMail.ListOrganizations: [$sel:nextToken:ListOrganizationsResponse'] :: ListOrganizationsResponse -> Maybe Text
+ Amazonka.WorkMail.ListOrganizations: [$sel:organizationSummaries:ListOrganizationsResponse'] :: ListOrganizationsResponse -> Maybe [OrganizationSummary]
+ Amazonka.WorkMail.ListOrganizations: data ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: data ListOrganizationsResponse
+ Amazonka.WorkMail.ListOrganizations: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListOrganizations.ListOrganizationsResponse
+ Amazonka.WorkMail.ListOrganizations: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Classes.Eq Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Classes.Eq Amazonka.WorkMail.ListOrganizations.ListOrganizationsResponse
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Generics.Generic Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Generics.Generic Amazonka.WorkMail.ListOrganizations.ListOrganizationsResponse
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Read.Read Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Read.Read Amazonka.WorkMail.ListOrganizations.ListOrganizationsResponse
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Show.Show Amazonka.WorkMail.ListOrganizations.ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: instance GHC.Show.Show Amazonka.WorkMail.ListOrganizations.ListOrganizationsResponse
+ Amazonka.WorkMail.ListOrganizations: listOrganizationsResponse_httpStatus :: Lens' ListOrganizationsResponse Int
+ Amazonka.WorkMail.ListOrganizations: listOrganizationsResponse_nextToken :: Lens' ListOrganizationsResponse (Maybe Text)
+ Amazonka.WorkMail.ListOrganizations: listOrganizationsResponse_organizationSummaries :: Lens' ListOrganizationsResponse (Maybe [OrganizationSummary])
+ Amazonka.WorkMail.ListOrganizations: listOrganizations_maxResults :: Lens' ListOrganizations (Maybe Natural)
+ Amazonka.WorkMail.ListOrganizations: listOrganizations_nextToken :: Lens' ListOrganizations (Maybe Text)
+ Amazonka.WorkMail.ListOrganizations: newListOrganizations :: ListOrganizations
+ Amazonka.WorkMail.ListOrganizations: newListOrganizationsResponse :: Int -> ListOrganizationsResponse
+ Amazonka.WorkMail.ListResourceDelegates: ListResourceDelegates' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: ListResourceDelegatesResponse' :: Maybe [Delegate] -> Maybe Text -> Int -> ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResourceDelegates: [$sel:delegates:ListResourceDelegatesResponse'] :: ListResourceDelegatesResponse -> Maybe [Delegate]
+ Amazonka.WorkMail.ListResourceDelegates: [$sel:httpStatus:ListResourceDelegatesResponse'] :: ListResourceDelegatesResponse -> Int
+ Amazonka.WorkMail.ListResourceDelegates: [$sel:maxResults:ListResourceDelegates'] :: ListResourceDelegates -> Maybe Natural
+ Amazonka.WorkMail.ListResourceDelegates: [$sel:nextToken:ListResourceDelegates'] :: ListResourceDelegates -> Maybe Text
+ Amazonka.WorkMail.ListResourceDelegates: [$sel:nextToken:ListResourceDelegatesResponse'] :: ListResourceDelegatesResponse -> Maybe Text
+ Amazonka.WorkMail.ListResourceDelegates: [$sel:organizationId:ListResourceDelegates'] :: ListResourceDelegates -> Text
+ Amazonka.WorkMail.ListResourceDelegates: [$sel:resourceId:ListResourceDelegates'] :: ListResourceDelegates -> Text
+ Amazonka.WorkMail.ListResourceDelegates: data ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: data ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResourceDelegates: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResourceDelegates: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Classes.Eq Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Classes.Eq Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Generics.Generic Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Generics.Generic Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Read.Read Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Read.Read Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Show.Show Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: instance GHC.Show.Show Amazonka.WorkMail.ListResourceDelegates.ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResourceDelegates: listResourceDelegatesResponse_delegates :: Lens' ListResourceDelegatesResponse (Maybe [Delegate])
+ Amazonka.WorkMail.ListResourceDelegates: listResourceDelegatesResponse_httpStatus :: Lens' ListResourceDelegatesResponse Int
+ Amazonka.WorkMail.ListResourceDelegates: listResourceDelegatesResponse_nextToken :: Lens' ListResourceDelegatesResponse (Maybe Text)
+ Amazonka.WorkMail.ListResourceDelegates: listResourceDelegates_maxResults :: Lens' ListResourceDelegates (Maybe Natural)
+ Amazonka.WorkMail.ListResourceDelegates: listResourceDelegates_nextToken :: Lens' ListResourceDelegates (Maybe Text)
+ Amazonka.WorkMail.ListResourceDelegates: listResourceDelegates_organizationId :: Lens' ListResourceDelegates Text
+ Amazonka.WorkMail.ListResourceDelegates: listResourceDelegates_resourceId :: Lens' ListResourceDelegates Text
+ Amazonka.WorkMail.ListResourceDelegates: newListResourceDelegates :: Text -> Text -> ListResourceDelegates
+ Amazonka.WorkMail.ListResourceDelegates: newListResourceDelegatesResponse :: Int -> ListResourceDelegatesResponse
+ Amazonka.WorkMail.ListResources: ListResources' :: Maybe Natural -> Maybe Text -> Text -> ListResources
+ Amazonka.WorkMail.ListResources: ListResourcesResponse' :: Maybe Text -> Maybe [Resource] -> Int -> ListResourcesResponse
+ Amazonka.WorkMail.ListResources: [$sel:httpStatus:ListResourcesResponse'] :: ListResourcesResponse -> Int
+ Amazonka.WorkMail.ListResources: [$sel:maxResults:ListResources'] :: ListResources -> Maybe Natural
+ Amazonka.WorkMail.ListResources: [$sel:nextToken:ListResources'] :: ListResources -> Maybe Text
+ Amazonka.WorkMail.ListResources: [$sel:nextToken:ListResourcesResponse'] :: ListResourcesResponse -> Maybe Text
+ Amazonka.WorkMail.ListResources: [$sel:organizationId:ListResources'] :: ListResources -> Text
+ Amazonka.WorkMail.ListResources: [$sel:resources:ListResourcesResponse'] :: ListResourcesResponse -> Maybe [Resource]
+ Amazonka.WorkMail.ListResources: data ListResources
+ Amazonka.WorkMail.ListResources: data ListResourcesResponse
+ Amazonka.WorkMail.ListResources: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListResources.ListResourcesResponse
+ Amazonka.WorkMail.ListResources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance GHC.Classes.Eq Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance GHC.Classes.Eq Amazonka.WorkMail.ListResources.ListResourcesResponse
+ Amazonka.WorkMail.ListResources: instance GHC.Generics.Generic Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance GHC.Generics.Generic Amazonka.WorkMail.ListResources.ListResourcesResponse
+ Amazonka.WorkMail.ListResources: instance GHC.Read.Read Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance GHC.Read.Read Amazonka.WorkMail.ListResources.ListResourcesResponse
+ Amazonka.WorkMail.ListResources: instance GHC.Show.Show Amazonka.WorkMail.ListResources.ListResources
+ Amazonka.WorkMail.ListResources: instance GHC.Show.Show Amazonka.WorkMail.ListResources.ListResourcesResponse
+ Amazonka.WorkMail.ListResources: listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int
+ Amazonka.WorkMail.ListResources: listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text)
+ Amazonka.WorkMail.ListResources: listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource])
+ Amazonka.WorkMail.ListResources: listResources_maxResults :: Lens' ListResources (Maybe Natural)
+ Amazonka.WorkMail.ListResources: listResources_nextToken :: Lens' ListResources (Maybe Text)
+ Amazonka.WorkMail.ListResources: listResources_organizationId :: Lens' ListResources Text
+ Amazonka.WorkMail.ListResources: newListResources :: Text -> ListResources
+ Amazonka.WorkMail.ListResources: newListResourcesResponse :: Int -> ListResourcesResponse
+ Amazonka.WorkMail.ListTagsForResource: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.WorkMail.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.WorkMail.ListTagsForResource: [$sel:resourceARN:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.WorkMail.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
+ Amazonka.WorkMail.ListTagsForResource: data ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.WorkMail.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.WorkMail.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Classes.Eq Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Classes.Eq Amazonka.WorkMail.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Generics.Generic Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Generics.Generic Amazonka.WorkMail.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Read.Read Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Read.Read Amazonka.WorkMail.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Show.Show Amazonka.WorkMail.ListTagsForResource.ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: instance GHC.Show.Show Amazonka.WorkMail.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.WorkMail.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.WorkMail.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.WorkMail.ListTagsForResource: listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
+ Amazonka.WorkMail.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.WorkMail.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.WorkMail.ListUsers: ListUsers' :: Maybe Natural -> Maybe Text -> Text -> ListUsers
+ Amazonka.WorkMail.ListUsers: ListUsersResponse' :: Maybe Text -> Maybe [User] -> Int -> ListUsersResponse
+ Amazonka.WorkMail.ListUsers: [$sel:httpStatus:ListUsersResponse'] :: ListUsersResponse -> Int
+ Amazonka.WorkMail.ListUsers: [$sel:maxResults:ListUsers'] :: ListUsers -> Maybe Natural
+ Amazonka.WorkMail.ListUsers: [$sel:nextToken:ListUsers'] :: ListUsers -> Maybe Text
+ Amazonka.WorkMail.ListUsers: [$sel:nextToken:ListUsersResponse'] :: ListUsersResponse -> Maybe Text
+ Amazonka.WorkMail.ListUsers: [$sel:organizationId:ListUsers'] :: ListUsers -> Text
+ Amazonka.WorkMail.ListUsers: [$sel:users:ListUsersResponse'] :: ListUsersResponse -> Maybe [User]
+ Amazonka.WorkMail.ListUsers: data ListUsers
+ Amazonka.WorkMail.ListUsers: data ListUsersResponse
+ Amazonka.WorkMail.ListUsers: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance Amazonka.Pager.AWSPager Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance Control.DeepSeq.NFData Amazonka.WorkMail.ListUsers.ListUsersResponse
+ Amazonka.WorkMail.ListUsers: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance GHC.Classes.Eq Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance GHC.Classes.Eq Amazonka.WorkMail.ListUsers.ListUsersResponse
+ Amazonka.WorkMail.ListUsers: instance GHC.Generics.Generic Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance GHC.Generics.Generic Amazonka.WorkMail.ListUsers.ListUsersResponse
+ Amazonka.WorkMail.ListUsers: instance GHC.Read.Read Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance GHC.Read.Read Amazonka.WorkMail.ListUsers.ListUsersResponse
+ Amazonka.WorkMail.ListUsers: instance GHC.Show.Show Amazonka.WorkMail.ListUsers.ListUsers
+ Amazonka.WorkMail.ListUsers: instance GHC.Show.Show Amazonka.WorkMail.ListUsers.ListUsersResponse
+ Amazonka.WorkMail.ListUsers: listUsersResponse_httpStatus :: Lens' ListUsersResponse Int
+ Amazonka.WorkMail.ListUsers: listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text)
+ Amazonka.WorkMail.ListUsers: listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User])
+ Amazonka.WorkMail.ListUsers: listUsers_maxResults :: Lens' ListUsers (Maybe Natural)
+ Amazonka.WorkMail.ListUsers: listUsers_nextToken :: Lens' ListUsers (Maybe Text)
+ Amazonka.WorkMail.ListUsers: listUsers_organizationId :: Lens' ListUsers Text
+ Amazonka.WorkMail.ListUsers: newListUsers :: Text -> ListUsers
+ Amazonka.WorkMail.ListUsers: newListUsersResponse :: Int -> ListUsersResponse
+ Amazonka.WorkMail.PutAccessControlRule: PutAccessControlRule' :: Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Text -> AccessControlRuleEffect -> Text -> Text -> PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: PutAccessControlRuleResponse' :: Int -> PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:actions:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:description:PutAccessControlRule'] :: PutAccessControlRule -> Text
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:effect:PutAccessControlRule'] :: PutAccessControlRule -> AccessControlRuleEffect
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:httpStatus:PutAccessControlRuleResponse'] :: PutAccessControlRuleResponse -> Int
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:impersonationRoleIds:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:ipRanges:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:name:PutAccessControlRule'] :: PutAccessControlRule -> Text
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:notActions:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:notImpersonationRoleIds:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:notIpRanges:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:notUserIds:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:organizationId:PutAccessControlRule'] :: PutAccessControlRule -> Text
+ Amazonka.WorkMail.PutAccessControlRule: [$sel:userIds:PutAccessControlRule'] :: PutAccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.PutAccessControlRule: data PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: data PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Classes.Eq Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Classes.Eq Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Generics.Generic Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Generics.Generic Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Read.Read Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Read.Read Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Show.Show Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: instance GHC.Show.Show Amazonka.WorkMail.PutAccessControlRule.PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: newPutAccessControlRule :: Text -> AccessControlRuleEffect -> Text -> Text -> PutAccessControlRule
+ Amazonka.WorkMail.PutAccessControlRule: newPutAccessControlRuleResponse :: Int -> PutAccessControlRuleResponse
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRuleResponse_httpStatus :: Lens' PutAccessControlRuleResponse Int
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_actions :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_description :: Lens' PutAccessControlRule Text
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_effect :: Lens' PutAccessControlRule AccessControlRuleEffect
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_impersonationRoleIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_ipRanges :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_name :: Lens' PutAccessControlRule Text
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_notActions :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_notImpersonationRoleIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_notIpRanges :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_notUserIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_organizationId :: Lens' PutAccessControlRule Text
+ Amazonka.WorkMail.PutAccessControlRule: putAccessControlRule_userIds :: Lens' PutAccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: PutEmailMonitoringConfiguration' :: Text -> Text -> Text -> PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: PutEmailMonitoringConfigurationResponse' :: Int -> PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: [$sel:httpStatus:PutEmailMonitoringConfigurationResponse'] :: PutEmailMonitoringConfigurationResponse -> Int
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: [$sel:logGroupArn:PutEmailMonitoringConfiguration'] :: PutEmailMonitoringConfiguration -> Text
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: [$sel:organizationId:PutEmailMonitoringConfiguration'] :: PutEmailMonitoringConfiguration -> Text
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: [$sel:roleArn:PutEmailMonitoringConfiguration'] :: PutEmailMonitoringConfiguration -> Text
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: data PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: data PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Read.Read Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Read.Read Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Show.Show Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: instance GHC.Show.Show Amazonka.WorkMail.PutEmailMonitoringConfiguration.PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: newPutEmailMonitoringConfiguration :: Text -> Text -> Text -> PutEmailMonitoringConfiguration
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: newPutEmailMonitoringConfigurationResponse :: Int -> PutEmailMonitoringConfigurationResponse
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: putEmailMonitoringConfigurationResponse_httpStatus :: Lens' PutEmailMonitoringConfigurationResponse Int
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: putEmailMonitoringConfiguration_logGroupArn :: Lens' PutEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: putEmailMonitoringConfiguration_organizationId :: Lens' PutEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.PutEmailMonitoringConfiguration: putEmailMonitoringConfiguration_roleArn :: Lens' PutEmailMonitoringConfiguration Text
+ Amazonka.WorkMail.PutInboundDmarcSettings: PutInboundDmarcSettings' :: Text -> Bool -> PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: PutInboundDmarcSettingsResponse' :: Int -> PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: [$sel:enforced:PutInboundDmarcSettings'] :: PutInboundDmarcSettings -> Bool
+ Amazonka.WorkMail.PutInboundDmarcSettings: [$sel:httpStatus:PutInboundDmarcSettingsResponse'] :: PutInboundDmarcSettingsResponse -> Int
+ Amazonka.WorkMail.PutInboundDmarcSettings: [$sel:organizationId:PutInboundDmarcSettings'] :: PutInboundDmarcSettings -> Text
+ Amazonka.WorkMail.PutInboundDmarcSettings: data PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: data PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Classes.Eq Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Classes.Eq Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Generics.Generic Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Generics.Generic Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Read.Read Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Read.Read Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Show.Show Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: instance GHC.Show.Show Amazonka.WorkMail.PutInboundDmarcSettings.PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: newPutInboundDmarcSettings :: Text -> Bool -> PutInboundDmarcSettings
+ Amazonka.WorkMail.PutInboundDmarcSettings: newPutInboundDmarcSettingsResponse :: Int -> PutInboundDmarcSettingsResponse
+ Amazonka.WorkMail.PutInboundDmarcSettings: putInboundDmarcSettingsResponse_httpStatus :: Lens' PutInboundDmarcSettingsResponse Int
+ Amazonka.WorkMail.PutInboundDmarcSettings: putInboundDmarcSettings_enforced :: Lens' PutInboundDmarcSettings Bool
+ Amazonka.WorkMail.PutInboundDmarcSettings: putInboundDmarcSettings_organizationId :: Lens' PutInboundDmarcSettings Text
+ Amazonka.WorkMail.PutMailboxPermissions: PutMailboxPermissions' :: Text -> Text -> Text -> [PermissionType] -> PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: PutMailboxPermissionsResponse' :: Int -> PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: [$sel:entityId:PutMailboxPermissions'] :: PutMailboxPermissions -> Text
+ Amazonka.WorkMail.PutMailboxPermissions: [$sel:granteeId:PutMailboxPermissions'] :: PutMailboxPermissions -> Text
+ Amazonka.WorkMail.PutMailboxPermissions: [$sel:httpStatus:PutMailboxPermissionsResponse'] :: PutMailboxPermissionsResponse -> Int
+ Amazonka.WorkMail.PutMailboxPermissions: [$sel:organizationId:PutMailboxPermissions'] :: PutMailboxPermissions -> Text
+ Amazonka.WorkMail.PutMailboxPermissions: [$sel:permissionValues:PutMailboxPermissions'] :: PutMailboxPermissions -> [PermissionType]
+ Amazonka.WorkMail.PutMailboxPermissions: data PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: data PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Classes.Eq Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Classes.Eq Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Generics.Generic Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Generics.Generic Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Read.Read Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Read.Read Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Show.Show Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: instance GHC.Show.Show Amazonka.WorkMail.PutMailboxPermissions.PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: newPutMailboxPermissions :: Text -> Text -> Text -> PutMailboxPermissions
+ Amazonka.WorkMail.PutMailboxPermissions: newPutMailboxPermissionsResponse :: Int -> PutMailboxPermissionsResponse
+ Amazonka.WorkMail.PutMailboxPermissions: putMailboxPermissionsResponse_httpStatus :: Lens' PutMailboxPermissionsResponse Int
+ Amazonka.WorkMail.PutMailboxPermissions: putMailboxPermissions_entityId :: Lens' PutMailboxPermissions Text
+ Amazonka.WorkMail.PutMailboxPermissions: putMailboxPermissions_granteeId :: Lens' PutMailboxPermissions Text
+ Amazonka.WorkMail.PutMailboxPermissions: putMailboxPermissions_organizationId :: Lens' PutMailboxPermissions Text
+ Amazonka.WorkMail.PutMailboxPermissions: putMailboxPermissions_permissionValues :: Lens' PutMailboxPermissions [PermissionType]
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: PutMobileDeviceAccessOverride' :: Maybe Text -> Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: PutMobileDeviceAccessOverrideResponse' :: Int -> PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: [$sel:description:PutMobileDeviceAccessOverride'] :: PutMobileDeviceAccessOverride -> Maybe Text
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: [$sel:deviceId:PutMobileDeviceAccessOverride'] :: PutMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: [$sel:effect:PutMobileDeviceAccessOverride'] :: PutMobileDeviceAccessOverride -> MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: [$sel:httpStatus:PutMobileDeviceAccessOverrideResponse'] :: PutMobileDeviceAccessOverrideResponse -> Int
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: [$sel:organizationId:PutMobileDeviceAccessOverride'] :: PutMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: [$sel:userId:PutMobileDeviceAccessOverride'] :: PutMobileDeviceAccessOverride -> Text
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: data PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: data PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Classes.Eq Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Classes.Eq Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Generics.Generic Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Generics.Generic Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Read.Read Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Read.Read Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Show.Show Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: instance GHC.Show.Show Amazonka.WorkMail.PutMobileDeviceAccessOverride.PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: newPutMobileDeviceAccessOverride :: Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> PutMobileDeviceAccessOverride
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: newPutMobileDeviceAccessOverrideResponse :: Int -> PutMobileDeviceAccessOverrideResponse
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: putMobileDeviceAccessOverrideResponse_httpStatus :: Lens' PutMobileDeviceAccessOverrideResponse Int
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: putMobileDeviceAccessOverride_description :: Lens' PutMobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: putMobileDeviceAccessOverride_deviceId :: Lens' PutMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: putMobileDeviceAccessOverride_effect :: Lens' PutMobileDeviceAccessOverride MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: putMobileDeviceAccessOverride_organizationId :: Lens' PutMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.PutMobileDeviceAccessOverride: putMobileDeviceAccessOverride_userId :: Lens' PutMobileDeviceAccessOverride Text
+ Amazonka.WorkMail.PutRetentionPolicy: PutRetentionPolicy' :: Maybe (Sensitive Text) -> Maybe Text -> Text -> Text -> [FolderConfiguration] -> PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: PutRetentionPolicyResponse' :: Int -> PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: [$sel:description:PutRetentionPolicy'] :: PutRetentionPolicy -> Maybe (Sensitive Text)
+ Amazonka.WorkMail.PutRetentionPolicy: [$sel:folderConfigurations:PutRetentionPolicy'] :: PutRetentionPolicy -> [FolderConfiguration]
+ Amazonka.WorkMail.PutRetentionPolicy: [$sel:httpStatus:PutRetentionPolicyResponse'] :: PutRetentionPolicyResponse -> Int
+ Amazonka.WorkMail.PutRetentionPolicy: [$sel:id:PutRetentionPolicy'] :: PutRetentionPolicy -> Maybe Text
+ Amazonka.WorkMail.PutRetentionPolicy: [$sel:name:PutRetentionPolicy'] :: PutRetentionPolicy -> Text
+ Amazonka.WorkMail.PutRetentionPolicy: [$sel:organizationId:PutRetentionPolicy'] :: PutRetentionPolicy -> Text
+ Amazonka.WorkMail.PutRetentionPolicy: data PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: data PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance Control.DeepSeq.NFData Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance GHC.Classes.Eq Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance GHC.Classes.Eq Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: instance GHC.Generics.Generic Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance GHC.Generics.Generic Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: instance GHC.Read.Read Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: instance GHC.Show.Show Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: instance GHC.Show.Show Amazonka.WorkMail.PutRetentionPolicy.PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: newPutRetentionPolicy :: Text -> Text -> PutRetentionPolicy
+ Amazonka.WorkMail.PutRetentionPolicy: newPutRetentionPolicyResponse :: Int -> PutRetentionPolicyResponse
+ Amazonka.WorkMail.PutRetentionPolicy: putRetentionPolicyResponse_httpStatus :: Lens' PutRetentionPolicyResponse Int
+ Amazonka.WorkMail.PutRetentionPolicy: putRetentionPolicy_description :: Lens' PutRetentionPolicy (Maybe Text)
+ Amazonka.WorkMail.PutRetentionPolicy: putRetentionPolicy_folderConfigurations :: Lens' PutRetentionPolicy [FolderConfiguration]
+ Amazonka.WorkMail.PutRetentionPolicy: putRetentionPolicy_id :: Lens' PutRetentionPolicy (Maybe Text)
+ Amazonka.WorkMail.PutRetentionPolicy: putRetentionPolicy_name :: Lens' PutRetentionPolicy Text
+ Amazonka.WorkMail.PutRetentionPolicy: putRetentionPolicy_organizationId :: Lens' PutRetentionPolicy Text
+ Amazonka.WorkMail.RegisterMailDomain: RegisterMailDomain' :: Maybe Text -> Text -> Text -> RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: RegisterMailDomainResponse' :: Int -> RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: [$sel:clientToken:RegisterMailDomain'] :: RegisterMailDomain -> Maybe Text
+ Amazonka.WorkMail.RegisterMailDomain: [$sel:domainName:RegisterMailDomain'] :: RegisterMailDomain -> Text
+ Amazonka.WorkMail.RegisterMailDomain: [$sel:httpStatus:RegisterMailDomainResponse'] :: RegisterMailDomainResponse -> Int
+ Amazonka.WorkMail.RegisterMailDomain: [$sel:organizationId:RegisterMailDomain'] :: RegisterMailDomain -> Text
+ Amazonka.WorkMail.RegisterMailDomain: data RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: data RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Read.Read Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Read.Read Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Show.Show Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: instance GHC.Show.Show Amazonka.WorkMail.RegisterMailDomain.RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: newRegisterMailDomain :: Text -> Text -> RegisterMailDomain
+ Amazonka.WorkMail.RegisterMailDomain: newRegisterMailDomainResponse :: Int -> RegisterMailDomainResponse
+ Amazonka.WorkMail.RegisterMailDomain: registerMailDomainResponse_httpStatus :: Lens' RegisterMailDomainResponse Int
+ Amazonka.WorkMail.RegisterMailDomain: registerMailDomain_clientToken :: Lens' RegisterMailDomain (Maybe Text)
+ Amazonka.WorkMail.RegisterMailDomain: registerMailDomain_domainName :: Lens' RegisterMailDomain Text
+ Amazonka.WorkMail.RegisterMailDomain: registerMailDomain_organizationId :: Lens' RegisterMailDomain Text
+ Amazonka.WorkMail.RegisterToWorkMail: RegisterToWorkMail' :: Text -> Text -> Text -> RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: RegisterToWorkMailResponse' :: Int -> RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: [$sel:email:RegisterToWorkMail'] :: RegisterToWorkMail -> Text
+ Amazonka.WorkMail.RegisterToWorkMail: [$sel:entityId:RegisterToWorkMail'] :: RegisterToWorkMail -> Text
+ Amazonka.WorkMail.RegisterToWorkMail: [$sel:httpStatus:RegisterToWorkMailResponse'] :: RegisterToWorkMailResponse -> Int
+ Amazonka.WorkMail.RegisterToWorkMail: [$sel:organizationId:RegisterToWorkMail'] :: RegisterToWorkMail -> Text
+ Amazonka.WorkMail.RegisterToWorkMail: data RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: data RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance Control.DeepSeq.NFData Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance Control.DeepSeq.NFData Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Classes.Eq Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Classes.Eq Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Generics.Generic Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Generics.Generic Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Read.Read Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Read.Read Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Show.Show Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: instance GHC.Show.Show Amazonka.WorkMail.RegisterToWorkMail.RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: newRegisterToWorkMail :: Text -> Text -> Text -> RegisterToWorkMail
+ Amazonka.WorkMail.RegisterToWorkMail: newRegisterToWorkMailResponse :: Int -> RegisterToWorkMailResponse
+ Amazonka.WorkMail.RegisterToWorkMail: registerToWorkMailResponse_httpStatus :: Lens' RegisterToWorkMailResponse Int
+ Amazonka.WorkMail.RegisterToWorkMail: registerToWorkMail_email :: Lens' RegisterToWorkMail Text
+ Amazonka.WorkMail.RegisterToWorkMail: registerToWorkMail_entityId :: Lens' RegisterToWorkMail Text
+ Amazonka.WorkMail.RegisterToWorkMail: registerToWorkMail_organizationId :: Lens' RegisterToWorkMail Text
+ Amazonka.WorkMail.ResetPassword: ResetPassword' :: Text -> Text -> Sensitive Text -> ResetPassword
+ Amazonka.WorkMail.ResetPassword: ResetPasswordResponse' :: Int -> ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: [$sel:httpStatus:ResetPasswordResponse'] :: ResetPasswordResponse -> Int
+ Amazonka.WorkMail.ResetPassword: [$sel:organizationId:ResetPassword'] :: ResetPassword -> Text
+ Amazonka.WorkMail.ResetPassword: [$sel:password:ResetPassword'] :: ResetPassword -> Sensitive Text
+ Amazonka.WorkMail.ResetPassword: [$sel:userId:ResetPassword'] :: ResetPassword -> Text
+ Amazonka.WorkMail.ResetPassword: data ResetPassword
+ Amazonka.WorkMail.ResetPassword: data ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance Control.DeepSeq.NFData Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance Control.DeepSeq.NFData Amazonka.WorkMail.ResetPassword.ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance GHC.Classes.Eq Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance GHC.Classes.Eq Amazonka.WorkMail.ResetPassword.ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: instance GHC.Generics.Generic Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance GHC.Generics.Generic Amazonka.WorkMail.ResetPassword.ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: instance GHC.Read.Read Amazonka.WorkMail.ResetPassword.ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: instance GHC.Show.Show Amazonka.WorkMail.ResetPassword.ResetPassword
+ Amazonka.WorkMail.ResetPassword: instance GHC.Show.Show Amazonka.WorkMail.ResetPassword.ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: newResetPassword :: Text -> Text -> Text -> ResetPassword
+ Amazonka.WorkMail.ResetPassword: newResetPasswordResponse :: Int -> ResetPasswordResponse
+ Amazonka.WorkMail.ResetPassword: resetPasswordResponse_httpStatus :: Lens' ResetPasswordResponse Int
+ Amazonka.WorkMail.ResetPassword: resetPassword_organizationId :: Lens' ResetPassword Text
+ Amazonka.WorkMail.ResetPassword: resetPassword_password :: Lens' ResetPassword Text
+ Amazonka.WorkMail.ResetPassword: resetPassword_userId :: Lens' ResetPassword Text
+ Amazonka.WorkMail.StartMailboxExportJob: StartMailboxExportJob' :: Maybe Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: StartMailboxExportJobResponse' :: Maybe Text -> Int -> StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:clientToken:StartMailboxExportJob'] :: StartMailboxExportJob -> Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:description:StartMailboxExportJob'] :: StartMailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:entityId:StartMailboxExportJob'] :: StartMailboxExportJob -> Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:httpStatus:StartMailboxExportJobResponse'] :: StartMailboxExportJobResponse -> Int
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:jobId:StartMailboxExportJobResponse'] :: StartMailboxExportJobResponse -> Maybe Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:kmsKeyArn:StartMailboxExportJob'] :: StartMailboxExportJob -> Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:organizationId:StartMailboxExportJob'] :: StartMailboxExportJob -> Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:roleArn:StartMailboxExportJob'] :: StartMailboxExportJob -> Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:s3BucketName:StartMailboxExportJob'] :: StartMailboxExportJob -> Text
+ Amazonka.WorkMail.StartMailboxExportJob: [$sel:s3Prefix:StartMailboxExportJob'] :: StartMailboxExportJob -> Text
+ Amazonka.WorkMail.StartMailboxExportJob: data StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: data StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance Control.DeepSeq.NFData Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance Control.DeepSeq.NFData Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Classes.Eq Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Classes.Eq Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Generics.Generic Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Generics.Generic Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Read.Read Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Read.Read Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Show.Show Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: instance GHC.Show.Show Amazonka.WorkMail.StartMailboxExportJob.StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: newStartMailboxExportJob :: Text -> Text -> Text -> Text -> Text -> Text -> Text -> StartMailboxExportJob
+ Amazonka.WorkMail.StartMailboxExportJob: newStartMailboxExportJobResponse :: Int -> StartMailboxExportJobResponse
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJobResponse_httpStatus :: Lens' StartMailboxExportJobResponse Int
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJobResponse_jobId :: Lens' StartMailboxExportJobResponse (Maybe Text)
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_clientToken :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_description :: Lens' StartMailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_entityId :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_kmsKeyArn :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_organizationId :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_roleArn :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_s3BucketName :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.StartMailboxExportJob: startMailboxExportJob_s3Prefix :: Lens' StartMailboxExportJob Text
+ Amazonka.WorkMail.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.WorkMail.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.WorkMail.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.WorkMail.TagResource: [$sel:resourceARN:TagResource'] :: TagResource -> Text
+ Amazonka.WorkMail.TagResource: [$sel:tags:TagResource'] :: TagResource -> [Tag]
+ Amazonka.WorkMail.TagResource: data TagResource
+ Amazonka.WorkMail.TagResource: data TagResourceResponse
+ Amazonka.WorkMail.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.TagResource.TagResourceResponse
+ Amazonka.WorkMail.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance GHC.Classes.Eq Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance GHC.Classes.Eq Amazonka.WorkMail.TagResource.TagResourceResponse
+ Amazonka.WorkMail.TagResource: instance GHC.Generics.Generic Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance GHC.Generics.Generic Amazonka.WorkMail.TagResource.TagResourceResponse
+ Amazonka.WorkMail.TagResource: instance GHC.Read.Read Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance GHC.Read.Read Amazonka.WorkMail.TagResource.TagResourceResponse
+ Amazonka.WorkMail.TagResource: instance GHC.Show.Show Amazonka.WorkMail.TagResource.TagResource
+ Amazonka.WorkMail.TagResource: instance GHC.Show.Show Amazonka.WorkMail.TagResource.TagResourceResponse
+ Amazonka.WorkMail.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.WorkMail.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.WorkMail.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.WorkMail.TagResource: tagResource_resourceARN :: Lens' TagResource Text
+ Amazonka.WorkMail.TagResource: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.WorkMail.TestAvailabilityConfiguration: TestAvailabilityConfiguration' :: Maybe Text -> Maybe EwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Text -> TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: TestAvailabilityConfigurationResponse' :: Maybe Text -> Maybe Bool -> Int -> TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: [$sel:domainName:TestAvailabilityConfiguration'] :: TestAvailabilityConfiguration -> Maybe Text
+ Amazonka.WorkMail.TestAvailabilityConfiguration: [$sel:ewsProvider:TestAvailabilityConfiguration'] :: TestAvailabilityConfiguration -> Maybe EwsAvailabilityProvider
+ Amazonka.WorkMail.TestAvailabilityConfiguration: [$sel:failureReason:TestAvailabilityConfigurationResponse'] :: TestAvailabilityConfigurationResponse -> Maybe Text
+ Amazonka.WorkMail.TestAvailabilityConfiguration: [$sel:httpStatus:TestAvailabilityConfigurationResponse'] :: TestAvailabilityConfigurationResponse -> Int
+ Amazonka.WorkMail.TestAvailabilityConfiguration: [$sel:lambdaProvider:TestAvailabilityConfiguration'] :: TestAvailabilityConfiguration -> Maybe LambdaAvailabilityProvider
+ Amazonka.WorkMail.TestAvailabilityConfiguration: [$sel:organizationId:TestAvailabilityConfiguration'] :: TestAvailabilityConfiguration -> Text
+ Amazonka.WorkMail.TestAvailabilityConfiguration: [$sel:testPassed:TestAvailabilityConfigurationResponse'] :: TestAvailabilityConfigurationResponse -> Maybe Bool
+ Amazonka.WorkMail.TestAvailabilityConfiguration: data TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: data TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance GHC.Read.Read Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.TestAvailabilityConfiguration.TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: newTestAvailabilityConfiguration :: Text -> TestAvailabilityConfiguration
+ Amazonka.WorkMail.TestAvailabilityConfiguration: newTestAvailabilityConfigurationResponse :: Int -> TestAvailabilityConfigurationResponse
+ Amazonka.WorkMail.TestAvailabilityConfiguration: testAvailabilityConfigurationResponse_failureReason :: Lens' TestAvailabilityConfigurationResponse (Maybe Text)
+ Amazonka.WorkMail.TestAvailabilityConfiguration: testAvailabilityConfigurationResponse_httpStatus :: Lens' TestAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.TestAvailabilityConfiguration: testAvailabilityConfigurationResponse_testPassed :: Lens' TestAvailabilityConfigurationResponse (Maybe Bool)
+ Amazonka.WorkMail.TestAvailabilityConfiguration: testAvailabilityConfiguration_domainName :: Lens' TestAvailabilityConfiguration (Maybe Text)
+ Amazonka.WorkMail.TestAvailabilityConfiguration: testAvailabilityConfiguration_ewsProvider :: Lens' TestAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
+ Amazonka.WorkMail.TestAvailabilityConfiguration: testAvailabilityConfiguration_lambdaProvider :: Lens' TestAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.TestAvailabilityConfiguration: testAvailabilityConfiguration_organizationId :: Lens' TestAvailabilityConfiguration Text
+ Amazonka.WorkMail.Types: AccessControlRule' :: Maybe [Text] -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe AccessControlRuleEffect -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> AccessControlRule
+ Amazonka.WorkMail.Types: AccessControlRuleEffect' :: Text -> AccessControlRuleEffect
+ Amazonka.WorkMail.Types: AccessEffect' :: Text -> AccessEffect
+ Amazonka.WorkMail.Types: AvailabilityConfiguration' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe RedactedEwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Maybe AvailabilityProviderType -> AvailabilityConfiguration
+ Amazonka.WorkMail.Types: AvailabilityProviderType' :: Text -> AvailabilityProviderType
+ Amazonka.WorkMail.Types: BookingOptions' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> BookingOptions
+ Amazonka.WorkMail.Types: Delegate' :: Text -> MemberType -> Delegate
+ Amazonka.WorkMail.Types: DnsRecord' :: Maybe Text -> Maybe Text -> Maybe Text -> DnsRecord
+ Amazonka.WorkMail.Types: DnsRecordVerificationStatus' :: Text -> DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types: Domain' :: Maybe Text -> Maybe Text -> Domain
+ Amazonka.WorkMail.Types: EntityState' :: Text -> EntityState
+ Amazonka.WorkMail.Types: EwsAvailabilityProvider' :: Text -> Text -> Sensitive Text -> EwsAvailabilityProvider
+ Amazonka.WorkMail.Types: FolderConfiguration' :: Maybe Natural -> FolderName -> RetentionAction -> FolderConfiguration
+ Amazonka.WorkMail.Types: FolderName' :: Text -> FolderName
+ Amazonka.WorkMail.Types: Group' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Group
+ Amazonka.WorkMail.Types: ImpersonationMatchedRule' :: Maybe Text -> Maybe Text -> ImpersonationMatchedRule
+ Amazonka.WorkMail.Types: ImpersonationRole' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe ImpersonationRoleType -> ImpersonationRole
+ Amazonka.WorkMail.Types: ImpersonationRoleType' :: Text -> ImpersonationRoleType
+ Amazonka.WorkMail.Types: ImpersonationRule' :: Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> AccessEffect -> ImpersonationRule
+ Amazonka.WorkMail.Types: LambdaAvailabilityProvider' :: Text -> LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types: MailDomainSummary' :: Maybe Bool -> Maybe Text -> MailDomainSummary
+ Amazonka.WorkMail.Types: MailboxExportJob' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe MailboxExportJobState -> MailboxExportJob
+ Amazonka.WorkMail.Types: MailboxExportJobState' :: Text -> MailboxExportJobState
+ Amazonka.WorkMail.Types: Member' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe MemberType -> Member
+ Amazonka.WorkMail.Types: MemberType' :: Text -> MemberType
+ Amazonka.WorkMail.Types: MobileDeviceAccessMatchedRule' :: Maybe Text -> Maybe Text -> MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types: MobileDeviceAccessOverride' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types: MobileDeviceAccessRule' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> MobileDeviceAccessRule
+ Amazonka.WorkMail.Types: MobileDeviceAccessRuleEffect' :: Text -> MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types: OrganizationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationSummary
+ Amazonka.WorkMail.Types: Permission' :: Text -> MemberType -> [PermissionType] -> Permission
+ Amazonka.WorkMail.Types: PermissionType' :: Text -> PermissionType
+ Amazonka.WorkMail.Types: RedactedEwsAvailabilityProvider' :: Maybe Text -> Maybe Text -> RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types: Resource' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe ResourceType -> Resource
+ Amazonka.WorkMail.Types: ResourceType' :: Text -> ResourceType
+ Amazonka.WorkMail.Types: RetentionAction' :: Text -> RetentionAction
+ Amazonka.WorkMail.Types: Tag' :: Text -> Text -> Tag
+ Amazonka.WorkMail.Types: User' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe UserRole -> User
+ Amazonka.WorkMail.Types: UserRole' :: Text -> UserRole
+ Amazonka.WorkMail.Types: [$sel:action:FolderConfiguration'] :: FolderConfiguration -> RetentionAction
+ Amazonka.WorkMail.Types: [$sel:actions:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:alias:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:autoAcceptRequests:BookingOptions'] :: BookingOptions -> Maybe Bool
+ Amazonka.WorkMail.Types: [$sel:autoDeclineConflictingRequests:BookingOptions'] :: BookingOptions -> Maybe Bool
+ Amazonka.WorkMail.Types: [$sel:autoDeclineRecurringRequests:BookingOptions'] :: BookingOptions -> Maybe Bool
+ Amazonka.WorkMail.Types: [$sel:dateCreated:AccessControlRule'] :: AccessControlRule -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateCreated:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateCreated:ImpersonationRole'] :: ImpersonationRole -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateCreated:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateCreated:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateModified:AccessControlRule'] :: AccessControlRule -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateModified:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateModified:ImpersonationRole'] :: ImpersonationRole -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateModified:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:dateModified:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:defaultDomain:MailDomainSummary'] :: MailDomainSummary -> Maybe Bool
+ Amazonka.WorkMail.Types: [$sel:defaultMailDomain:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:description:AccessControlRule'] :: AccessControlRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:description:ImpersonationRule'] :: ImpersonationRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:description:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:description:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:description:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:deviceId:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:deviceModels:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:deviceOperatingSystems:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:deviceTypes:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:deviceUserAgents:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:disabledDate:Group'] :: Group -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:disabledDate:Member'] :: Member -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:disabledDate:Resource'] :: Resource -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:disabledDate:User'] :: User -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:displayName:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:domainName:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:domainName:Domain'] :: Domain -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:domainName:MailDomainSummary'] :: MailDomainSummary -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:effect:AccessControlRule'] :: AccessControlRule -> Maybe AccessControlRuleEffect
+ Amazonka.WorkMail.Types: [$sel:effect:ImpersonationRule'] :: ImpersonationRule -> AccessEffect
+ Amazonka.WorkMail.Types: [$sel:effect:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types: [$sel:effect:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types: [$sel:email:Group'] :: Group -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:email:Resource'] :: Resource -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:email:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:enabledDate:Group'] :: Group -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:enabledDate:Member'] :: Member -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:enabledDate:Resource'] :: Resource -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:enabledDate:User'] :: User -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:endTime:MailboxExportJob'] :: MailboxExportJob -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:entityId:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:errorMessage:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:estimatedProgress:MailboxExportJob'] :: MailboxExportJob -> Maybe Natural
+ Amazonka.WorkMail.Types: [$sel:ewsEndpoint:EwsAvailabilityProvider'] :: EwsAvailabilityProvider -> Text
+ Amazonka.WorkMail.Types: [$sel:ewsEndpoint:RedactedEwsAvailabilityProvider'] :: RedactedEwsAvailabilityProvider -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:ewsPassword:EwsAvailabilityProvider'] :: EwsAvailabilityProvider -> Sensitive Text
+ Amazonka.WorkMail.Types: [$sel:ewsProvider:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types: [$sel:ewsUsername:EwsAvailabilityProvider'] :: EwsAvailabilityProvider -> Text
+ Amazonka.WorkMail.Types: [$sel:ewsUsername:RedactedEwsAvailabilityProvider'] :: RedactedEwsAvailabilityProvider -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:granteeId:Permission'] :: Permission -> Text
+ Amazonka.WorkMail.Types: [$sel:granteeType:Permission'] :: Permission -> MemberType
+ Amazonka.WorkMail.Types: [$sel:hostedZoneId:Domain'] :: Domain -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:hostname:DnsRecord'] :: DnsRecord -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:id:Delegate'] :: Delegate -> Text
+ Amazonka.WorkMail.Types: [$sel:id:Group'] :: Group -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:id:Member'] :: Member -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:id:Resource'] :: Resource -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:id:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:impersonationRoleId:ImpersonationRole'] :: ImpersonationRole -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:impersonationRoleIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:impersonationRuleId:ImpersonationMatchedRule'] :: ImpersonationMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:impersonationRuleId:ImpersonationRule'] :: ImpersonationRule -> Text
+ Amazonka.WorkMail.Types: [$sel:ipRanges:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:jobId:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.WorkMail.Types: [$sel:lambdaArn:LambdaAvailabilityProvider'] :: LambdaAvailabilityProvider -> Text
+ Amazonka.WorkMail.Types: [$sel:lambdaProvider:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types: [$sel:mobileDeviceAccessRuleId:MobileDeviceAccessMatchedRule'] :: MobileDeviceAccessMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:mobileDeviceAccessRuleId:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:AccessControlRule'] :: AccessControlRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:FolderConfiguration'] :: FolderConfiguration -> FolderName
+ Amazonka.WorkMail.Types: [$sel:name:Group'] :: Group -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:ImpersonationMatchedRule'] :: ImpersonationMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:ImpersonationRole'] :: ImpersonationRole -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:ImpersonationRule'] :: ImpersonationRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:Member'] :: Member -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:MobileDeviceAccessMatchedRule'] :: MobileDeviceAccessMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:Resource'] :: Resource -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:name:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:notActions:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:notDeviceModels:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:notDeviceOperatingSystems:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:notDeviceTypes:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:notDeviceUserAgents:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:notImpersonationRoleIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:notIpRanges:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:notTargetUsers:ImpersonationRule'] :: ImpersonationRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:notUserIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:organizationId:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:period:FolderConfiguration'] :: FolderConfiguration -> Maybe Natural
+ Amazonka.WorkMail.Types: [$sel:permissionValues:Permission'] :: Permission -> [PermissionType]
+ Amazonka.WorkMail.Types: [$sel:providerType:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe AvailabilityProviderType
+ Amazonka.WorkMail.Types: [$sel:s3BucketName:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:s3Path:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:startTime:MailboxExportJob'] :: MailboxExportJob -> Maybe POSIX
+ Amazonka.WorkMail.Types: [$sel:state:Group'] :: Group -> Maybe EntityState
+ Amazonka.WorkMail.Types: [$sel:state:MailboxExportJob'] :: MailboxExportJob -> Maybe MailboxExportJobState
+ Amazonka.WorkMail.Types: [$sel:state:Member'] :: Member -> Maybe EntityState
+ Amazonka.WorkMail.Types: [$sel:state:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:state:Resource'] :: Resource -> Maybe EntityState
+ Amazonka.WorkMail.Types: [$sel:state:User'] :: User -> Maybe EntityState
+ Amazonka.WorkMail.Types: [$sel:targetUsers:ImpersonationRule'] :: ImpersonationRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types: [$sel:type':Delegate'] :: Delegate -> MemberType
+ Amazonka.WorkMail.Types: [$sel:type':DnsRecord'] :: DnsRecord -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:type':ImpersonationRole'] :: ImpersonationRole -> Maybe ImpersonationRoleType
+ Amazonka.WorkMail.Types: [$sel:type':Member'] :: Member -> Maybe MemberType
+ Amazonka.WorkMail.Types: [$sel:type':Resource'] :: Resource -> Maybe ResourceType
+ Amazonka.WorkMail.Types: [$sel:userId:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:userIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types: [$sel:userRole:User'] :: User -> Maybe UserRole
+ Amazonka.WorkMail.Types: [$sel:value:DnsRecord'] :: DnsRecord -> Maybe Text
+ Amazonka.WorkMail.Types: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.WorkMail.Types: [fromAccessControlRuleEffect] :: AccessControlRuleEffect -> Text
+ Amazonka.WorkMail.Types: [fromAccessEffect] :: AccessEffect -> Text
+ Amazonka.WorkMail.Types: [fromAvailabilityProviderType] :: AvailabilityProviderType -> Text
+ Amazonka.WorkMail.Types: [fromDnsRecordVerificationStatus] :: DnsRecordVerificationStatus -> Text
+ Amazonka.WorkMail.Types: [fromEntityState] :: EntityState -> Text
+ Amazonka.WorkMail.Types: [fromFolderName] :: FolderName -> Text
+ Amazonka.WorkMail.Types: [fromImpersonationRoleType] :: ImpersonationRoleType -> Text
+ Amazonka.WorkMail.Types: [fromMailboxExportJobState] :: MailboxExportJobState -> Text
+ Amazonka.WorkMail.Types: [fromMemberType] :: MemberType -> Text
+ Amazonka.WorkMail.Types: [fromMobileDeviceAccessRuleEffect] :: MobileDeviceAccessRuleEffect -> Text
+ Amazonka.WorkMail.Types: [fromPermissionType] :: PermissionType -> Text
+ Amazonka.WorkMail.Types: [fromResourceType] :: ResourceType -> Text
+ Amazonka.WorkMail.Types: [fromRetentionAction] :: RetentionAction -> Text
+ Amazonka.WorkMail.Types: [fromUserRole] :: UserRole -> Text
+ Amazonka.WorkMail.Types: _DirectoryInUseException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _DirectoryServiceAuthenticationFailedException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _DirectoryUnavailableException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _EmailAddressInUseException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _EntityAlreadyRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _EntityNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _EntityStateException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _InvalidConfigurationException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _InvalidCustomSesConfigurationException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _InvalidParameterException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _InvalidPasswordException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _MailDomainInUseException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _MailDomainNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _MailDomainStateException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _NameAvailabilityException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _OrganizationNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _OrganizationStateException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _ReservedNameException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _TooManyTagsException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: _UnsupportedOperationException :: AsError a => Fold a ServiceError
+ Amazonka.WorkMail.Types: accessControlRule_actions :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: accessControlRule_dateCreated :: Lens' AccessControlRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types: accessControlRule_dateModified :: Lens' AccessControlRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types: accessControlRule_description :: Lens' AccessControlRule (Maybe Text)
+ Amazonka.WorkMail.Types: accessControlRule_effect :: Lens' AccessControlRule (Maybe AccessControlRuleEffect)
+ Amazonka.WorkMail.Types: accessControlRule_impersonationRoleIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: accessControlRule_ipRanges :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: accessControlRule_name :: Lens' AccessControlRule (Maybe Text)
+ Amazonka.WorkMail.Types: accessControlRule_notActions :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: accessControlRule_notImpersonationRoleIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: accessControlRule_notIpRanges :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: accessControlRule_notUserIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: accessControlRule_userIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types: availabilityConfiguration_dateCreated :: Lens' AvailabilityConfiguration (Maybe UTCTime)
+ Amazonka.WorkMail.Types: availabilityConfiguration_dateModified :: Lens' AvailabilityConfiguration (Maybe UTCTime)
+ Amazonka.WorkMail.Types: availabilityConfiguration_domainName :: Lens' AvailabilityConfiguration (Maybe Text)
+ Amazonka.WorkMail.Types: availabilityConfiguration_ewsProvider :: Lens' AvailabilityConfiguration (Maybe RedactedEwsAvailabilityProvider)
+ Amazonka.WorkMail.Types: availabilityConfiguration_lambdaProvider :: Lens' AvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.Types: availabilityConfiguration_providerType :: Lens' AvailabilityConfiguration (Maybe AvailabilityProviderType)
+ Amazonka.WorkMail.Types: bookingOptions_autoAcceptRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Types: bookingOptions_autoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Types: bookingOptions_autoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Types: data AccessControlRule
+ Amazonka.WorkMail.Types: data AvailabilityConfiguration
+ Amazonka.WorkMail.Types: data BookingOptions
+ Amazonka.WorkMail.Types: data Delegate
+ Amazonka.WorkMail.Types: data DnsRecord
+ Amazonka.WorkMail.Types: data Domain
+ Amazonka.WorkMail.Types: data EwsAvailabilityProvider
+ Amazonka.WorkMail.Types: data FolderConfiguration
+ Amazonka.WorkMail.Types: data Group
+ Amazonka.WorkMail.Types: data ImpersonationMatchedRule
+ Amazonka.WorkMail.Types: data ImpersonationRole
+ Amazonka.WorkMail.Types: data ImpersonationRule
+ Amazonka.WorkMail.Types: data LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types: data MailDomainSummary
+ Amazonka.WorkMail.Types: data MailboxExportJob
+ Amazonka.WorkMail.Types: data Member
+ Amazonka.WorkMail.Types: data MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types: data MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types: data MobileDeviceAccessRule
+ Amazonka.WorkMail.Types: data OrganizationSummary
+ Amazonka.WorkMail.Types: data Permission
+ Amazonka.WorkMail.Types: data RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types: data Resource
+ Amazonka.WorkMail.Types: data Tag
+ Amazonka.WorkMail.Types: data User
+ Amazonka.WorkMail.Types: defaultService :: Service
+ Amazonka.WorkMail.Types: delegate_id :: Lens' Delegate Text
+ Amazonka.WorkMail.Types: delegate_type :: Lens' Delegate MemberType
+ Amazonka.WorkMail.Types: dnsRecord_hostname :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Types: dnsRecord_type :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Types: dnsRecord_value :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Types: domain_domainName :: Lens' Domain (Maybe Text)
+ Amazonka.WorkMail.Types: domain_hostedZoneId :: Lens' Domain (Maybe Text)
+ Amazonka.WorkMail.Types: ewsAvailabilityProvider_ewsEndpoint :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Types: ewsAvailabilityProvider_ewsPassword :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Types: ewsAvailabilityProvider_ewsUsername :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Types: folderConfiguration_action :: Lens' FolderConfiguration RetentionAction
+ Amazonka.WorkMail.Types: folderConfiguration_name :: Lens' FolderConfiguration FolderName
+ Amazonka.WorkMail.Types: folderConfiguration_period :: Lens' FolderConfiguration (Maybe Natural)
+ Amazonka.WorkMail.Types: group_disabledDate :: Lens' Group (Maybe UTCTime)
+ Amazonka.WorkMail.Types: group_email :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Types: group_enabledDate :: Lens' Group (Maybe UTCTime)
+ Amazonka.WorkMail.Types: group_id :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Types: group_name :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Types: group_state :: Lens' Group (Maybe EntityState)
+ Amazonka.WorkMail.Types: impersonationMatchedRule_impersonationRuleId :: Lens' ImpersonationMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types: impersonationMatchedRule_name :: Lens' ImpersonationMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types: impersonationRole_dateCreated :: Lens' ImpersonationRole (Maybe UTCTime)
+ Amazonka.WorkMail.Types: impersonationRole_dateModified :: Lens' ImpersonationRole (Maybe UTCTime)
+ Amazonka.WorkMail.Types: impersonationRole_impersonationRoleId :: Lens' ImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Types: impersonationRole_name :: Lens' ImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Types: impersonationRole_type :: Lens' ImpersonationRole (Maybe ImpersonationRoleType)
+ Amazonka.WorkMail.Types: impersonationRule_description :: Lens' ImpersonationRule (Maybe Text)
+ Amazonka.WorkMail.Types: impersonationRule_effect :: Lens' ImpersonationRule AccessEffect
+ Amazonka.WorkMail.Types: impersonationRule_impersonationRuleId :: Lens' ImpersonationRule Text
+ Amazonka.WorkMail.Types: impersonationRule_name :: Lens' ImpersonationRule (Maybe Text)
+ Amazonka.WorkMail.Types: impersonationRule_notTargetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: impersonationRule_targetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: lambdaAvailabilityProvider_lambdaArn :: Lens' LambdaAvailabilityProvider Text
+ Amazonka.WorkMail.Types: mailDomainSummary_defaultDomain :: Lens' MailDomainSummary (Maybe Bool)
+ Amazonka.WorkMail.Types: mailDomainSummary_domainName :: Lens' MailDomainSummary (Maybe Text)
+ Amazonka.WorkMail.Types: mailboxExportJob_description :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types: mailboxExportJob_endTime :: Lens' MailboxExportJob (Maybe UTCTime)
+ Amazonka.WorkMail.Types: mailboxExportJob_entityId :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types: mailboxExportJob_estimatedProgress :: Lens' MailboxExportJob (Maybe Natural)
+ Amazonka.WorkMail.Types: mailboxExportJob_jobId :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types: mailboxExportJob_s3BucketName :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types: mailboxExportJob_s3Path :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types: mailboxExportJob_startTime :: Lens' MailboxExportJob (Maybe UTCTime)
+ Amazonka.WorkMail.Types: mailboxExportJob_state :: Lens' MailboxExportJob (Maybe MailboxExportJobState)
+ Amazonka.WorkMail.Types: member_disabledDate :: Lens' Member (Maybe UTCTime)
+ Amazonka.WorkMail.Types: member_enabledDate :: Lens' Member (Maybe UTCTime)
+ Amazonka.WorkMail.Types: member_id :: Lens' Member (Maybe Text)
+ Amazonka.WorkMail.Types: member_name :: Lens' Member (Maybe Text)
+ Amazonka.WorkMail.Types: member_state :: Lens' Member (Maybe EntityState)
+ Amazonka.WorkMail.Types: member_type :: Lens' Member (Maybe MemberType)
+ Amazonka.WorkMail.Types: mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessMatchedRule_name :: Lens' MobileDeviceAccessMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessOverride_dateCreated :: Lens' MobileDeviceAccessOverride (Maybe UTCTime)
+ Amazonka.WorkMail.Types: mobileDeviceAccessOverride_dateModified :: Lens' MobileDeviceAccessOverride (Maybe UTCTime)
+ Amazonka.WorkMail.Types: mobileDeviceAccessOverride_description :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessOverride_deviceId :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessOverride_effect :: Lens' MobileDeviceAccessOverride (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Types: mobileDeviceAccessOverride_userId :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_dateCreated :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_dateModified :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_description :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_deviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_deviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_deviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_deviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_effect :: Lens' MobileDeviceAccessRule (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_name :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_notDeviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_notDeviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: mobileDeviceAccessRule_notDeviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types: newAccessControlRule :: AccessControlRule
+ Amazonka.WorkMail.Types: newAvailabilityConfiguration :: AvailabilityConfiguration
+ Amazonka.WorkMail.Types: newBookingOptions :: BookingOptions
+ Amazonka.WorkMail.Types: newDelegate :: Text -> MemberType -> Delegate
+ Amazonka.WorkMail.Types: newDnsRecord :: DnsRecord
+ Amazonka.WorkMail.Types: newDomain :: Domain
+ Amazonka.WorkMail.Types: newEwsAvailabilityProvider :: Text -> Text -> Text -> EwsAvailabilityProvider
+ Amazonka.WorkMail.Types: newFolderConfiguration :: FolderName -> RetentionAction -> FolderConfiguration
+ Amazonka.WorkMail.Types: newGroup :: Group
+ Amazonka.WorkMail.Types: newImpersonationMatchedRule :: ImpersonationMatchedRule
+ Amazonka.WorkMail.Types: newImpersonationRole :: ImpersonationRole
+ Amazonka.WorkMail.Types: newImpersonationRule :: Text -> AccessEffect -> ImpersonationRule
+ Amazonka.WorkMail.Types: newLambdaAvailabilityProvider :: Text -> LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types: newMailDomainSummary :: MailDomainSummary
+ Amazonka.WorkMail.Types: newMailboxExportJob :: MailboxExportJob
+ Amazonka.WorkMail.Types: newMember :: Member
+ Amazonka.WorkMail.Types: newMobileDeviceAccessMatchedRule :: MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types: newMobileDeviceAccessOverride :: MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types: newMobileDeviceAccessRule :: MobileDeviceAccessRule
+ Amazonka.WorkMail.Types: newOrganizationSummary :: OrganizationSummary
+ Amazonka.WorkMail.Types: newPermission :: Text -> MemberType -> Permission
+ Amazonka.WorkMail.Types: newRedactedEwsAvailabilityProvider :: RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types: newResource :: Resource
+ Amazonka.WorkMail.Types: newTag :: Text -> Text -> Tag
+ Amazonka.WorkMail.Types: newUser :: User
+ Amazonka.WorkMail.Types: newtype AccessControlRuleEffect
+ Amazonka.WorkMail.Types: newtype AccessEffect
+ Amazonka.WorkMail.Types: newtype AvailabilityProviderType
+ Amazonka.WorkMail.Types: newtype DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types: newtype EntityState
+ Amazonka.WorkMail.Types: newtype FolderName
+ Amazonka.WorkMail.Types: newtype ImpersonationRoleType
+ Amazonka.WorkMail.Types: newtype MailboxExportJobState
+ Amazonka.WorkMail.Types: newtype MemberType
+ Amazonka.WorkMail.Types: newtype MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types: newtype PermissionType
+ Amazonka.WorkMail.Types: newtype ResourceType
+ Amazonka.WorkMail.Types: newtype RetentionAction
+ Amazonka.WorkMail.Types: newtype UserRole
+ Amazonka.WorkMail.Types: organizationSummary_alias :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types: organizationSummary_defaultMailDomain :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types: organizationSummary_errorMessage :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types: organizationSummary_organizationId :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types: organizationSummary_state :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types: pattern AccessControlRuleEffect_ALLOW :: AccessControlRuleEffect
+ Amazonka.WorkMail.Types: pattern AccessControlRuleEffect_DENY :: AccessControlRuleEffect
+ Amazonka.WorkMail.Types: pattern AccessEffect_ALLOW :: AccessEffect
+ Amazonka.WorkMail.Types: pattern AccessEffect_DENY :: AccessEffect
+ Amazonka.WorkMail.Types: pattern AvailabilityProviderType_EWS :: AvailabilityProviderType
+ Amazonka.WorkMail.Types: pattern AvailabilityProviderType_LAMBDA :: AvailabilityProviderType
+ Amazonka.WorkMail.Types: pattern DnsRecordVerificationStatus_FAILED :: DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types: pattern DnsRecordVerificationStatus_PENDING :: DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types: pattern DnsRecordVerificationStatus_VERIFIED :: DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types: pattern EntityState_DELETED :: EntityState
+ Amazonka.WorkMail.Types: pattern EntityState_DISABLED :: EntityState
+ Amazonka.WorkMail.Types: pattern EntityState_ENABLED :: EntityState
+ Amazonka.WorkMail.Types: pattern FolderName_DELETED_ITEMS :: FolderName
+ Amazonka.WorkMail.Types: pattern FolderName_DRAFTS :: FolderName
+ Amazonka.WorkMail.Types: pattern FolderName_INBOX :: FolderName
+ Amazonka.WorkMail.Types: pattern FolderName_JUNK_EMAIL :: FolderName
+ Amazonka.WorkMail.Types: pattern FolderName_SENT_ITEMS :: FolderName
+ Amazonka.WorkMail.Types: pattern ImpersonationRoleType_FULL_ACCESS :: ImpersonationRoleType
+ Amazonka.WorkMail.Types: pattern ImpersonationRoleType_READ_ONLY :: ImpersonationRoleType
+ Amazonka.WorkMail.Types: pattern MailboxExportJobState_CANCELLED :: MailboxExportJobState
+ Amazonka.WorkMail.Types: pattern MailboxExportJobState_COMPLETED :: MailboxExportJobState
+ Amazonka.WorkMail.Types: pattern MailboxExportJobState_FAILED :: MailboxExportJobState
+ Amazonka.WorkMail.Types: pattern MailboxExportJobState_RUNNING :: MailboxExportJobState
+ Amazonka.WorkMail.Types: pattern MemberType_GROUP :: MemberType
+ Amazonka.WorkMail.Types: pattern MemberType_USER :: MemberType
+ Amazonka.WorkMail.Types: pattern MobileDeviceAccessRuleEffect_ALLOW :: MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types: pattern MobileDeviceAccessRuleEffect_DENY :: MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types: pattern PermissionType_FULL_ACCESS :: PermissionType
+ Amazonka.WorkMail.Types: pattern PermissionType_SEND_AS :: PermissionType
+ Amazonka.WorkMail.Types: pattern PermissionType_SEND_ON_BEHALF :: PermissionType
+ Amazonka.WorkMail.Types: pattern ResourceType_EQUIPMENT :: ResourceType
+ Amazonka.WorkMail.Types: pattern ResourceType_ROOM :: ResourceType
+ Amazonka.WorkMail.Types: pattern RetentionAction_DELETE :: RetentionAction
+ Amazonka.WorkMail.Types: pattern RetentionAction_NONE :: RetentionAction
+ Amazonka.WorkMail.Types: pattern RetentionAction_PERMANENTLY_DELETE :: RetentionAction
+ Amazonka.WorkMail.Types: pattern UserRole_RESOURCE :: UserRole
+ Amazonka.WorkMail.Types: pattern UserRole_SYSTEM_USER :: UserRole
+ Amazonka.WorkMail.Types: pattern UserRole_USER :: UserRole
+ Amazonka.WorkMail.Types: permission_granteeId :: Lens' Permission Text
+ Amazonka.WorkMail.Types: permission_granteeType :: Lens' Permission MemberType
+ Amazonka.WorkMail.Types: permission_permissionValues :: Lens' Permission [PermissionType]
+ Amazonka.WorkMail.Types: redactedEwsAvailabilityProvider_ewsEndpoint :: Lens' RedactedEwsAvailabilityProvider (Maybe Text)
+ Amazonka.WorkMail.Types: redactedEwsAvailabilityProvider_ewsUsername :: Lens' RedactedEwsAvailabilityProvider (Maybe Text)
+ Amazonka.WorkMail.Types: resource_disabledDate :: Lens' Resource (Maybe UTCTime)
+ Amazonka.WorkMail.Types: resource_email :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Types: resource_enabledDate :: Lens' Resource (Maybe UTCTime)
+ Amazonka.WorkMail.Types: resource_id :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Types: resource_name :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Types: resource_state :: Lens' Resource (Maybe EntityState)
+ Amazonka.WorkMail.Types: resource_type :: Lens' Resource (Maybe ResourceType)
+ Amazonka.WorkMail.Types: tag_key :: Lens' Tag Text
+ Amazonka.WorkMail.Types: tag_value :: Lens' Tag Text
+ Amazonka.WorkMail.Types: user_disabledDate :: Lens' User (Maybe UTCTime)
+ Amazonka.WorkMail.Types: user_displayName :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types: user_email :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types: user_enabledDate :: Lens' User (Maybe UTCTime)
+ Amazonka.WorkMail.Types: user_id :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types: user_name :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types: user_state :: Lens' User (Maybe EntityState)
+ Amazonka.WorkMail.Types: user_userRole :: Lens' User (Maybe UserRole)
+ Amazonka.WorkMail.Types.AccessControlRule: AccessControlRule' :: Maybe [Text] -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe AccessControlRuleEffect -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:actions:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:dateCreated:AccessControlRule'] :: AccessControlRule -> Maybe POSIX
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:dateModified:AccessControlRule'] :: AccessControlRule -> Maybe POSIX
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:description:AccessControlRule'] :: AccessControlRule -> Maybe Text
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:effect:AccessControlRule'] :: AccessControlRule -> Maybe AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:impersonationRoleIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:ipRanges:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:name:AccessControlRule'] :: AccessControlRule -> Maybe Text
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:notActions:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:notImpersonationRoleIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:notIpRanges:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:notUserIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: [$sel:userIds:AccessControlRule'] :: AccessControlRule -> Maybe [Text]
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_actions :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_dateCreated :: Lens' AccessControlRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_dateModified :: Lens' AccessControlRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_description :: Lens' AccessControlRule (Maybe Text)
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_effect :: Lens' AccessControlRule (Maybe AccessControlRuleEffect)
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_impersonationRoleIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_ipRanges :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_name :: Lens' AccessControlRule (Maybe Text)
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_notActions :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_notImpersonationRoleIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_notIpRanges :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_notUserIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: accessControlRule_userIds :: Lens' AccessControlRule (Maybe [Text])
+ Amazonka.WorkMail.Types.AccessControlRule: data AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.AccessControlRule.AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.AccessControlRule.AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.AccessControlRule.AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: instance GHC.Classes.Eq Amazonka.WorkMail.Types.AccessControlRule.AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: instance GHC.Generics.Generic Amazonka.WorkMail.Types.AccessControlRule.AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: instance GHC.Read.Read Amazonka.WorkMail.Types.AccessControlRule.AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: instance GHC.Show.Show Amazonka.WorkMail.Types.AccessControlRule.AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRule: newAccessControlRule :: AccessControlRule
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: AccessControlRuleEffect' :: Text -> AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: [fromAccessControlRuleEffect] :: AccessControlRuleEffect -> Text
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance GHC.Classes.Eq Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance GHC.Classes.Ord Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance GHC.Generics.Generic Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance GHC.Read.Read Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: instance GHC.Show.Show Amazonka.WorkMail.Types.AccessControlRuleEffect.AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: newtype AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: pattern AccessControlRuleEffect_ALLOW :: AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessControlRuleEffect: pattern AccessControlRuleEffect_DENY :: AccessControlRuleEffect
+ Amazonka.WorkMail.Types.AccessEffect: AccessEffect' :: Text -> AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: [fromAccessEffect] :: AccessEffect -> Text
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance GHC.Classes.Eq Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance GHC.Classes.Ord Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance GHC.Generics.Generic Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance GHC.Read.Read Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: instance GHC.Show.Show Amazonka.WorkMail.Types.AccessEffect.AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: newtype AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: pattern AccessEffect_ALLOW :: AccessEffect
+ Amazonka.WorkMail.Types.AccessEffect: pattern AccessEffect_DENY :: AccessEffect
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: AvailabilityConfiguration' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe RedactedEwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Maybe AvailabilityProviderType -> AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: [$sel:dateCreated:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe POSIX
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: [$sel:dateModified:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe POSIX
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: [$sel:domainName:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe Text
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: [$sel:ewsProvider:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: [$sel:lambdaProvider:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: [$sel:providerType:AvailabilityConfiguration'] :: AvailabilityConfiguration -> Maybe AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: availabilityConfiguration_dateCreated :: Lens' AvailabilityConfiguration (Maybe UTCTime)
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: availabilityConfiguration_dateModified :: Lens' AvailabilityConfiguration (Maybe UTCTime)
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: availabilityConfiguration_domainName :: Lens' AvailabilityConfiguration (Maybe Text)
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: availabilityConfiguration_ewsProvider :: Lens' AvailabilityConfiguration (Maybe RedactedEwsAvailabilityProvider)
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: availabilityConfiguration_lambdaProvider :: Lens' AvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: availabilityConfiguration_providerType :: Lens' AvailabilityConfiguration (Maybe AvailabilityProviderType)
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: data AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.AvailabilityConfiguration.AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.AvailabilityConfiguration.AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.AvailabilityConfiguration.AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.Types.AvailabilityConfiguration.AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.Types.AvailabilityConfiguration.AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: instance GHC.Read.Read Amazonka.WorkMail.Types.AvailabilityConfiguration.AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.Types.AvailabilityConfiguration.AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityConfiguration: newAvailabilityConfiguration :: AvailabilityConfiguration
+ Amazonka.WorkMail.Types.AvailabilityProviderType: AvailabilityProviderType' :: Text -> AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: [fromAvailabilityProviderType] :: AvailabilityProviderType -> Text
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance GHC.Classes.Eq Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance GHC.Classes.Ord Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance GHC.Generics.Generic Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance GHC.Read.Read Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: instance GHC.Show.Show Amazonka.WorkMail.Types.AvailabilityProviderType.AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: newtype AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: pattern AvailabilityProviderType_EWS :: AvailabilityProviderType
+ Amazonka.WorkMail.Types.AvailabilityProviderType: pattern AvailabilityProviderType_LAMBDA :: AvailabilityProviderType
+ Amazonka.WorkMail.Types.BookingOptions: BookingOptions' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: [$sel:autoAcceptRequests:BookingOptions'] :: BookingOptions -> Maybe Bool
+ Amazonka.WorkMail.Types.BookingOptions: [$sel:autoDeclineConflictingRequests:BookingOptions'] :: BookingOptions -> Maybe Bool
+ Amazonka.WorkMail.Types.BookingOptions: [$sel:autoDeclineRecurringRequests:BookingOptions'] :: BookingOptions -> Maybe Bool
+ Amazonka.WorkMail.Types.BookingOptions: bookingOptions_autoAcceptRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Types.BookingOptions: bookingOptions_autoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Types.BookingOptions: bookingOptions_autoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool)
+ Amazonka.WorkMail.Types.BookingOptions: data BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance GHC.Classes.Eq Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance GHC.Generics.Generic Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance GHC.Read.Read Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: instance GHC.Show.Show Amazonka.WorkMail.Types.BookingOptions.BookingOptions
+ Amazonka.WorkMail.Types.BookingOptions: newBookingOptions :: BookingOptions
+ Amazonka.WorkMail.Types.Delegate: Delegate' :: Text -> MemberType -> Delegate
+ Amazonka.WorkMail.Types.Delegate: [$sel:id:Delegate'] :: Delegate -> Text
+ Amazonka.WorkMail.Types.Delegate: [$sel:type':Delegate'] :: Delegate -> MemberType
+ Amazonka.WorkMail.Types.Delegate: data Delegate
+ Amazonka.WorkMail.Types.Delegate: delegate_id :: Lens' Delegate Text
+ Amazonka.WorkMail.Types.Delegate: delegate_type :: Lens' Delegate MemberType
+ Amazonka.WorkMail.Types.Delegate: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.Delegate.Delegate
+ Amazonka.WorkMail.Types.Delegate: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.Delegate.Delegate
+ Amazonka.WorkMail.Types.Delegate: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.Delegate.Delegate
+ Amazonka.WorkMail.Types.Delegate: instance GHC.Classes.Eq Amazonka.WorkMail.Types.Delegate.Delegate
+ Amazonka.WorkMail.Types.Delegate: instance GHC.Generics.Generic Amazonka.WorkMail.Types.Delegate.Delegate
+ Amazonka.WorkMail.Types.Delegate: instance GHC.Read.Read Amazonka.WorkMail.Types.Delegate.Delegate
+ Amazonka.WorkMail.Types.Delegate: instance GHC.Show.Show Amazonka.WorkMail.Types.Delegate.Delegate
+ Amazonka.WorkMail.Types.Delegate: newDelegate :: Text -> MemberType -> Delegate
+ Amazonka.WorkMail.Types.DnsRecord: DnsRecord' :: Maybe Text -> Maybe Text -> Maybe Text -> DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: [$sel:hostname:DnsRecord'] :: DnsRecord -> Maybe Text
+ Amazonka.WorkMail.Types.DnsRecord: [$sel:type':DnsRecord'] :: DnsRecord -> Maybe Text
+ Amazonka.WorkMail.Types.DnsRecord: [$sel:value:DnsRecord'] :: DnsRecord -> Maybe Text
+ Amazonka.WorkMail.Types.DnsRecord: data DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: dnsRecord_hostname :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Types.DnsRecord: dnsRecord_type :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Types.DnsRecord: dnsRecord_value :: Lens' DnsRecord (Maybe Text)
+ Amazonka.WorkMail.Types.DnsRecord: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.DnsRecord.DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.DnsRecord.DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.DnsRecord.DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: instance GHC.Classes.Eq Amazonka.WorkMail.Types.DnsRecord.DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: instance GHC.Generics.Generic Amazonka.WorkMail.Types.DnsRecord.DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: instance GHC.Read.Read Amazonka.WorkMail.Types.DnsRecord.DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: instance GHC.Show.Show Amazonka.WorkMail.Types.DnsRecord.DnsRecord
+ Amazonka.WorkMail.Types.DnsRecord: newDnsRecord :: DnsRecord
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: DnsRecordVerificationStatus' :: Text -> DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: [fromDnsRecordVerificationStatus] :: DnsRecordVerificationStatus -> Text
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance GHC.Classes.Eq Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance GHC.Classes.Ord Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance GHC.Generics.Generic Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance GHC.Read.Read Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: instance GHC.Show.Show Amazonka.WorkMail.Types.DnsRecordVerificationStatus.DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: newtype DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: pattern DnsRecordVerificationStatus_FAILED :: DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: pattern DnsRecordVerificationStatus_PENDING :: DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus: pattern DnsRecordVerificationStatus_VERIFIED :: DnsRecordVerificationStatus
+ Amazonka.WorkMail.Types.Domain: Domain' :: Maybe Text -> Maybe Text -> Domain
+ Amazonka.WorkMail.Types.Domain: [$sel:domainName:Domain'] :: Domain -> Maybe Text
+ Amazonka.WorkMail.Types.Domain: [$sel:hostedZoneId:Domain'] :: Domain -> Maybe Text
+ Amazonka.WorkMail.Types.Domain: data Domain
+ Amazonka.WorkMail.Types.Domain: domain_domainName :: Lens' Domain (Maybe Text)
+ Amazonka.WorkMail.Types.Domain: domain_hostedZoneId :: Lens' Domain (Maybe Text)
+ Amazonka.WorkMail.Types.Domain: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.Domain.Domain
+ Amazonka.WorkMail.Types.Domain: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.Domain.Domain
+ Amazonka.WorkMail.Types.Domain: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.Domain.Domain
+ Amazonka.WorkMail.Types.Domain: instance GHC.Classes.Eq Amazonka.WorkMail.Types.Domain.Domain
+ Amazonka.WorkMail.Types.Domain: instance GHC.Generics.Generic Amazonka.WorkMail.Types.Domain.Domain
+ Amazonka.WorkMail.Types.Domain: instance GHC.Read.Read Amazonka.WorkMail.Types.Domain.Domain
+ Amazonka.WorkMail.Types.Domain: instance GHC.Show.Show Amazonka.WorkMail.Types.Domain.Domain
+ Amazonka.WorkMail.Types.Domain: newDomain :: Domain
+ Amazonka.WorkMail.Types.EntityState: EntityState' :: Text -> EntityState
+ Amazonka.WorkMail.Types.EntityState: [fromEntityState] :: EntityState -> Text
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance GHC.Classes.Eq Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance GHC.Classes.Ord Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance GHC.Generics.Generic Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance GHC.Read.Read Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: instance GHC.Show.Show Amazonka.WorkMail.Types.EntityState.EntityState
+ Amazonka.WorkMail.Types.EntityState: newtype EntityState
+ Amazonka.WorkMail.Types.EntityState: pattern EntityState_DELETED :: EntityState
+ Amazonka.WorkMail.Types.EntityState: pattern EntityState_DISABLED :: EntityState
+ Amazonka.WorkMail.Types.EntityState: pattern EntityState_ENABLED :: EntityState
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: EwsAvailabilityProvider' :: Text -> Text -> Sensitive Text -> EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: [$sel:ewsEndpoint:EwsAvailabilityProvider'] :: EwsAvailabilityProvider -> Text
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: [$sel:ewsPassword:EwsAvailabilityProvider'] :: EwsAvailabilityProvider -> Sensitive Text
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: [$sel:ewsUsername:EwsAvailabilityProvider'] :: EwsAvailabilityProvider -> Text
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: data EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: ewsAvailabilityProvider_ewsEndpoint :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: ewsAvailabilityProvider_ewsPassword :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: ewsAvailabilityProvider_ewsUsername :: Lens' EwsAvailabilityProvider Text
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.EwsAvailabilityProvider.EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.EwsAvailabilityProvider.EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.EwsAvailabilityProvider.EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: instance GHC.Classes.Eq Amazonka.WorkMail.Types.EwsAvailabilityProvider.EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: instance GHC.Generics.Generic Amazonka.WorkMail.Types.EwsAvailabilityProvider.EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: instance GHC.Show.Show Amazonka.WorkMail.Types.EwsAvailabilityProvider.EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.EwsAvailabilityProvider: newEwsAvailabilityProvider :: Text -> Text -> Text -> EwsAvailabilityProvider
+ Amazonka.WorkMail.Types.FolderConfiguration: FolderConfiguration' :: Maybe Natural -> FolderName -> RetentionAction -> FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: [$sel:action:FolderConfiguration'] :: FolderConfiguration -> RetentionAction
+ Amazonka.WorkMail.Types.FolderConfiguration: [$sel:name:FolderConfiguration'] :: FolderConfiguration -> FolderName
+ Amazonka.WorkMail.Types.FolderConfiguration: [$sel:period:FolderConfiguration'] :: FolderConfiguration -> Maybe Natural
+ Amazonka.WorkMail.Types.FolderConfiguration: data FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: folderConfiguration_action :: Lens' FolderConfiguration RetentionAction
+ Amazonka.WorkMail.Types.FolderConfiguration: folderConfiguration_name :: Lens' FolderConfiguration FolderName
+ Amazonka.WorkMail.Types.FolderConfiguration: folderConfiguration_period :: Lens' FolderConfiguration (Maybe Natural)
+ Amazonka.WorkMail.Types.FolderConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: instance GHC.Read.Read Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: instance GHC.Show.Show Amazonka.WorkMail.Types.FolderConfiguration.FolderConfiguration
+ Amazonka.WorkMail.Types.FolderConfiguration: newFolderConfiguration :: FolderName -> RetentionAction -> FolderConfiguration
+ Amazonka.WorkMail.Types.FolderName: FolderName' :: Text -> FolderName
+ Amazonka.WorkMail.Types.FolderName: [fromFolderName] :: FolderName -> Text
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance GHC.Classes.Eq Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance GHC.Classes.Ord Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance GHC.Generics.Generic Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance GHC.Read.Read Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: instance GHC.Show.Show Amazonka.WorkMail.Types.FolderName.FolderName
+ Amazonka.WorkMail.Types.FolderName: newtype FolderName
+ Amazonka.WorkMail.Types.FolderName: pattern FolderName_DELETED_ITEMS :: FolderName
+ Amazonka.WorkMail.Types.FolderName: pattern FolderName_DRAFTS :: FolderName
+ Amazonka.WorkMail.Types.FolderName: pattern FolderName_INBOX :: FolderName
+ Amazonka.WorkMail.Types.FolderName: pattern FolderName_JUNK_EMAIL :: FolderName
+ Amazonka.WorkMail.Types.FolderName: pattern FolderName_SENT_ITEMS :: FolderName
+ Amazonka.WorkMail.Types.Group: Group' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Group
+ Amazonka.WorkMail.Types.Group: [$sel:disabledDate:Group'] :: Group -> Maybe POSIX
+ Amazonka.WorkMail.Types.Group: [$sel:email:Group'] :: Group -> Maybe Text
+ Amazonka.WorkMail.Types.Group: [$sel:enabledDate:Group'] :: Group -> Maybe POSIX
+ Amazonka.WorkMail.Types.Group: [$sel:id:Group'] :: Group -> Maybe Text
+ Amazonka.WorkMail.Types.Group: [$sel:name:Group'] :: Group -> Maybe Text
+ Amazonka.WorkMail.Types.Group: [$sel:state:Group'] :: Group -> Maybe EntityState
+ Amazonka.WorkMail.Types.Group: data Group
+ Amazonka.WorkMail.Types.Group: group_disabledDate :: Lens' Group (Maybe UTCTime)
+ Amazonka.WorkMail.Types.Group: group_email :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Types.Group: group_enabledDate :: Lens' Group (Maybe UTCTime)
+ Amazonka.WorkMail.Types.Group: group_id :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Types.Group: group_name :: Lens' Group (Maybe Text)
+ Amazonka.WorkMail.Types.Group: group_state :: Lens' Group (Maybe EntityState)
+ Amazonka.WorkMail.Types.Group: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.Group.Group
+ Amazonka.WorkMail.Types.Group: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.Group.Group
+ Amazonka.WorkMail.Types.Group: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.Group.Group
+ Amazonka.WorkMail.Types.Group: instance GHC.Classes.Eq Amazonka.WorkMail.Types.Group.Group
+ Amazonka.WorkMail.Types.Group: instance GHC.Generics.Generic Amazonka.WorkMail.Types.Group.Group
+ Amazonka.WorkMail.Types.Group: instance GHC.Read.Read Amazonka.WorkMail.Types.Group.Group
+ Amazonka.WorkMail.Types.Group: instance GHC.Show.Show Amazonka.WorkMail.Types.Group.Group
+ Amazonka.WorkMail.Types.Group: newGroup :: Group
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: ImpersonationMatchedRule' :: Maybe Text -> Maybe Text -> ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: [$sel:impersonationRuleId:ImpersonationMatchedRule'] :: ImpersonationMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: [$sel:name:ImpersonationMatchedRule'] :: ImpersonationMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: data ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: impersonationMatchedRule_impersonationRuleId :: Lens' ImpersonationMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: impersonationMatchedRule_name :: Lens' ImpersonationMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.ImpersonationMatchedRule.ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.ImpersonationMatchedRule.ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.ImpersonationMatchedRule.ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: instance GHC.Classes.Eq Amazonka.WorkMail.Types.ImpersonationMatchedRule.ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: instance GHC.Generics.Generic Amazonka.WorkMail.Types.ImpersonationMatchedRule.ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: instance GHC.Read.Read Amazonka.WorkMail.Types.ImpersonationMatchedRule.ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: instance GHC.Show.Show Amazonka.WorkMail.Types.ImpersonationMatchedRule.ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationMatchedRule: newImpersonationMatchedRule :: ImpersonationMatchedRule
+ Amazonka.WorkMail.Types.ImpersonationRole: ImpersonationRole' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe ImpersonationRoleType -> ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: [$sel:dateCreated:ImpersonationRole'] :: ImpersonationRole -> Maybe POSIX
+ Amazonka.WorkMail.Types.ImpersonationRole: [$sel:dateModified:ImpersonationRole'] :: ImpersonationRole -> Maybe POSIX
+ Amazonka.WorkMail.Types.ImpersonationRole: [$sel:impersonationRoleId:ImpersonationRole'] :: ImpersonationRole -> Maybe Text
+ Amazonka.WorkMail.Types.ImpersonationRole: [$sel:name:ImpersonationRole'] :: ImpersonationRole -> Maybe Text
+ Amazonka.WorkMail.Types.ImpersonationRole: [$sel:type':ImpersonationRole'] :: ImpersonationRole -> Maybe ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRole: data ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: impersonationRole_dateCreated :: Lens' ImpersonationRole (Maybe UTCTime)
+ Amazonka.WorkMail.Types.ImpersonationRole: impersonationRole_dateModified :: Lens' ImpersonationRole (Maybe UTCTime)
+ Amazonka.WorkMail.Types.ImpersonationRole: impersonationRole_impersonationRoleId :: Lens' ImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Types.ImpersonationRole: impersonationRole_name :: Lens' ImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.Types.ImpersonationRole: impersonationRole_type :: Lens' ImpersonationRole (Maybe ImpersonationRoleType)
+ Amazonka.WorkMail.Types.ImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.ImpersonationRole.ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.ImpersonationRole.ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.ImpersonationRole.ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.Types.ImpersonationRole.ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.Types.ImpersonationRole.ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.Types.ImpersonationRole.ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.Types.ImpersonationRole.ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRole: newImpersonationRole :: ImpersonationRole
+ Amazonka.WorkMail.Types.ImpersonationRoleType: ImpersonationRoleType' :: Text -> ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: [fromImpersonationRoleType] :: ImpersonationRoleType -> Text
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance GHC.Classes.Eq Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance GHC.Classes.Ord Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance GHC.Generics.Generic Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance GHC.Read.Read Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: instance GHC.Show.Show Amazonka.WorkMail.Types.ImpersonationRoleType.ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: newtype ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: pattern ImpersonationRoleType_FULL_ACCESS :: ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRoleType: pattern ImpersonationRoleType_READ_ONLY :: ImpersonationRoleType
+ Amazonka.WorkMail.Types.ImpersonationRule: ImpersonationRule' :: Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> AccessEffect -> ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: [$sel:description:ImpersonationRule'] :: ImpersonationRule -> Maybe Text
+ Amazonka.WorkMail.Types.ImpersonationRule: [$sel:effect:ImpersonationRule'] :: ImpersonationRule -> AccessEffect
+ Amazonka.WorkMail.Types.ImpersonationRule: [$sel:impersonationRuleId:ImpersonationRule'] :: ImpersonationRule -> Text
+ Amazonka.WorkMail.Types.ImpersonationRule: [$sel:name:ImpersonationRule'] :: ImpersonationRule -> Maybe Text
+ Amazonka.WorkMail.Types.ImpersonationRule: [$sel:notTargetUsers:ImpersonationRule'] :: ImpersonationRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.ImpersonationRule: [$sel:targetUsers:ImpersonationRule'] :: ImpersonationRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.ImpersonationRule: data ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: impersonationRule_description :: Lens' ImpersonationRule (Maybe Text)
+ Amazonka.WorkMail.Types.ImpersonationRule: impersonationRule_effect :: Lens' ImpersonationRule AccessEffect
+ Amazonka.WorkMail.Types.ImpersonationRule: impersonationRule_impersonationRuleId :: Lens' ImpersonationRule Text
+ Amazonka.WorkMail.Types.ImpersonationRule: impersonationRule_name :: Lens' ImpersonationRule (Maybe Text)
+ Amazonka.WorkMail.Types.ImpersonationRule: impersonationRule_notTargetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.ImpersonationRule: impersonationRule_targetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.ImpersonationRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: instance GHC.Classes.Eq Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: instance GHC.Generics.Generic Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: instance GHC.Read.Read Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: instance GHC.Show.Show Amazonka.WorkMail.Types.ImpersonationRule.ImpersonationRule
+ Amazonka.WorkMail.Types.ImpersonationRule: newImpersonationRule :: Text -> AccessEffect -> ImpersonationRule
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: LambdaAvailabilityProvider' :: Text -> LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: [$sel:lambdaArn:LambdaAvailabilityProvider'] :: LambdaAvailabilityProvider -> Text
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: data LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance GHC.Classes.Eq Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance GHC.Generics.Generic Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance GHC.Read.Read Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: instance GHC.Show.Show Amazonka.WorkMail.Types.LambdaAvailabilityProvider.LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: lambdaAvailabilityProvider_lambdaArn :: Lens' LambdaAvailabilityProvider Text
+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider: newLambdaAvailabilityProvider :: Text -> LambdaAvailabilityProvider
+ Amazonka.WorkMail.Types.MailDomainSummary: MailDomainSummary' :: Maybe Bool -> Maybe Text -> MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: [$sel:defaultDomain:MailDomainSummary'] :: MailDomainSummary -> Maybe Bool
+ Amazonka.WorkMail.Types.MailDomainSummary: [$sel:domainName:MailDomainSummary'] :: MailDomainSummary -> Maybe Text
+ Amazonka.WorkMail.Types.MailDomainSummary: data MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MailDomainSummary.MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MailDomainSummary.MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MailDomainSummary.MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MailDomainSummary.MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MailDomainSummary.MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: instance GHC.Read.Read Amazonka.WorkMail.Types.MailDomainSummary.MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: instance GHC.Show.Show Amazonka.WorkMail.Types.MailDomainSummary.MailDomainSummary
+ Amazonka.WorkMail.Types.MailDomainSummary: mailDomainSummary_defaultDomain :: Lens' MailDomainSummary (Maybe Bool)
+ Amazonka.WorkMail.Types.MailDomainSummary: mailDomainSummary_domainName :: Lens' MailDomainSummary (Maybe Text)
+ Amazonka.WorkMail.Types.MailDomainSummary: newMailDomainSummary :: MailDomainSummary
+ Amazonka.WorkMail.Types.MailboxExportJob: MailboxExportJob' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe MailboxExportJobState -> MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:description:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:endTime:MailboxExportJob'] :: MailboxExportJob -> Maybe POSIX
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:entityId:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:estimatedProgress:MailboxExportJob'] :: MailboxExportJob -> Maybe Natural
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:jobId:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:s3BucketName:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:s3Path:MailboxExportJob'] :: MailboxExportJob -> Maybe Text
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:startTime:MailboxExportJob'] :: MailboxExportJob -> Maybe POSIX
+ Amazonka.WorkMail.Types.MailboxExportJob: [$sel:state:MailboxExportJob'] :: MailboxExportJob -> Maybe MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJob: data MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MailboxExportJob.MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MailboxExportJob.MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MailboxExportJob.MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MailboxExportJob.MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MailboxExportJob.MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: instance GHC.Read.Read Amazonka.WorkMail.Types.MailboxExportJob.MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: instance GHC.Show.Show Amazonka.WorkMail.Types.MailboxExportJob.MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_description :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_endTime :: Lens' MailboxExportJob (Maybe UTCTime)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_entityId :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_estimatedProgress :: Lens' MailboxExportJob (Maybe Natural)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_jobId :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_s3BucketName :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_s3Path :: Lens' MailboxExportJob (Maybe Text)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_startTime :: Lens' MailboxExportJob (Maybe UTCTime)
+ Amazonka.WorkMail.Types.MailboxExportJob: mailboxExportJob_state :: Lens' MailboxExportJob (Maybe MailboxExportJobState)
+ Amazonka.WorkMail.Types.MailboxExportJob: newMailboxExportJob :: MailboxExportJob
+ Amazonka.WorkMail.Types.MailboxExportJobState: MailboxExportJobState' :: Text -> MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: [fromMailboxExportJobState] :: MailboxExportJobState -> Text
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance GHC.Classes.Ord Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance GHC.Read.Read Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: instance GHC.Show.Show Amazonka.WorkMail.Types.MailboxExportJobState.MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: newtype MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: pattern MailboxExportJobState_CANCELLED :: MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: pattern MailboxExportJobState_COMPLETED :: MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: pattern MailboxExportJobState_FAILED :: MailboxExportJobState
+ Amazonka.WorkMail.Types.MailboxExportJobState: pattern MailboxExportJobState_RUNNING :: MailboxExportJobState
+ Amazonka.WorkMail.Types.Member: Member' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe MemberType -> Member
+ Amazonka.WorkMail.Types.Member: [$sel:disabledDate:Member'] :: Member -> Maybe POSIX
+ Amazonka.WorkMail.Types.Member: [$sel:enabledDate:Member'] :: Member -> Maybe POSIX
+ Amazonka.WorkMail.Types.Member: [$sel:id:Member'] :: Member -> Maybe Text
+ Amazonka.WorkMail.Types.Member: [$sel:name:Member'] :: Member -> Maybe Text
+ Amazonka.WorkMail.Types.Member: [$sel:state:Member'] :: Member -> Maybe EntityState
+ Amazonka.WorkMail.Types.Member: [$sel:type':Member'] :: Member -> Maybe MemberType
+ Amazonka.WorkMail.Types.Member: data Member
+ Amazonka.WorkMail.Types.Member: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.Member.Member
+ Amazonka.WorkMail.Types.Member: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.Member.Member
+ Amazonka.WorkMail.Types.Member: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.Member.Member
+ Amazonka.WorkMail.Types.Member: instance GHC.Classes.Eq Amazonka.WorkMail.Types.Member.Member
+ Amazonka.WorkMail.Types.Member: instance GHC.Generics.Generic Amazonka.WorkMail.Types.Member.Member
+ Amazonka.WorkMail.Types.Member: instance GHC.Read.Read Amazonka.WorkMail.Types.Member.Member
+ Amazonka.WorkMail.Types.Member: instance GHC.Show.Show Amazonka.WorkMail.Types.Member.Member
+ Amazonka.WorkMail.Types.Member: member_disabledDate :: Lens' Member (Maybe UTCTime)
+ Amazonka.WorkMail.Types.Member: member_enabledDate :: Lens' Member (Maybe UTCTime)
+ Amazonka.WorkMail.Types.Member: member_id :: Lens' Member (Maybe Text)
+ Amazonka.WorkMail.Types.Member: member_name :: Lens' Member (Maybe Text)
+ Amazonka.WorkMail.Types.Member: member_state :: Lens' Member (Maybe EntityState)
+ Amazonka.WorkMail.Types.Member: member_type :: Lens' Member (Maybe MemberType)
+ Amazonka.WorkMail.Types.Member: newMember :: Member
+ Amazonka.WorkMail.Types.MemberType: MemberType' :: Text -> MemberType
+ Amazonka.WorkMail.Types.MemberType: [fromMemberType] :: MemberType -> Text
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance GHC.Classes.Ord Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance GHC.Read.Read Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: instance GHC.Show.Show Amazonka.WorkMail.Types.MemberType.MemberType
+ Amazonka.WorkMail.Types.MemberType: newtype MemberType
+ Amazonka.WorkMail.Types.MemberType: pattern MemberType_GROUP :: MemberType
+ Amazonka.WorkMail.Types.MemberType: pattern MemberType_USER :: MemberType
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: MobileDeviceAccessMatchedRule' :: Maybe Text -> Maybe Text -> MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: [$sel:mobileDeviceAccessRuleId:MobileDeviceAccessMatchedRule'] :: MobileDeviceAccessMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: [$sel:name:MobileDeviceAccessMatchedRule'] :: MobileDeviceAccessMatchedRule -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: data MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule.MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule.MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule.MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule.MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule.MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: instance GHC.Read.Read Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule.MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: instance GHC.Show.Show Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule.MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: mobileDeviceAccessMatchedRule_name :: Lens' MobileDeviceAccessMatchedRule (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule: newMobileDeviceAccessMatchedRule :: MobileDeviceAccessMatchedRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: MobileDeviceAccessOverride' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: [$sel:dateCreated:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe POSIX
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: [$sel:dateModified:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe POSIX
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: [$sel:description:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: [$sel:deviceId:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: [$sel:effect:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: [$sel:userId:MobileDeviceAccessOverride'] :: MobileDeviceAccessOverride -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: data MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MobileDeviceAccessOverride.MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MobileDeviceAccessOverride.MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MobileDeviceAccessOverride.MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MobileDeviceAccessOverride.MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MobileDeviceAccessOverride.MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: instance GHC.Read.Read Amazonka.WorkMail.Types.MobileDeviceAccessOverride.MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: instance GHC.Show.Show Amazonka.WorkMail.Types.MobileDeviceAccessOverride.MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: mobileDeviceAccessOverride_dateCreated :: Lens' MobileDeviceAccessOverride (Maybe UTCTime)
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: mobileDeviceAccessOverride_dateModified :: Lens' MobileDeviceAccessOverride (Maybe UTCTime)
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: mobileDeviceAccessOverride_description :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: mobileDeviceAccessOverride_deviceId :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: mobileDeviceAccessOverride_effect :: Lens' MobileDeviceAccessOverride (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: mobileDeviceAccessOverride_userId :: Lens' MobileDeviceAccessOverride (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride: newMobileDeviceAccessOverride :: MobileDeviceAccessOverride
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: MobileDeviceAccessRule' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe MobileDeviceAccessRuleEffect -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:dateCreated:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe POSIX
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:dateModified:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe POSIX
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:description:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:deviceModels:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:deviceOperatingSystems:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:deviceTypes:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:deviceUserAgents:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:effect:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:mobileDeviceAccessRuleId:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:name:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:notDeviceModels:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:notDeviceOperatingSystems:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:notDeviceTypes:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: [$sel:notDeviceUserAgents:MobileDeviceAccessRule'] :: MobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: data MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MobileDeviceAccessRule.MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MobileDeviceAccessRule.MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MobileDeviceAccessRule.MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MobileDeviceAccessRule.MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MobileDeviceAccessRule.MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: instance GHC.Read.Read Amazonka.WorkMail.Types.MobileDeviceAccessRule.MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: instance GHC.Show.Show Amazonka.WorkMail.Types.MobileDeviceAccessRule.MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_dateCreated :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_dateModified :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_description :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_deviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_deviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_deviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_deviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_effect :: Lens' MobileDeviceAccessRule (Maybe MobileDeviceAccessRuleEffect)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_name :: Lens' MobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_notDeviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_notDeviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: mobileDeviceAccessRule_notDeviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.Types.MobileDeviceAccessRule: newMobileDeviceAccessRule :: MobileDeviceAccessRule
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: MobileDeviceAccessRuleEffect' :: Text -> MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: [fromMobileDeviceAccessRuleEffect] :: MobileDeviceAccessRuleEffect -> Text
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance GHC.Classes.Eq Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance GHC.Classes.Ord Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance GHC.Generics.Generic Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance GHC.Read.Read Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: instance GHC.Show.Show Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect.MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: newtype MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: pattern MobileDeviceAccessRuleEffect_ALLOW :: MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect: pattern MobileDeviceAccessRuleEffect_DENY :: MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.Types.OrganizationSummary: OrganizationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: [$sel:alias:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types.OrganizationSummary: [$sel:defaultMailDomain:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types.OrganizationSummary: [$sel:errorMessage:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types.OrganizationSummary: [$sel:organizationId:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types.OrganizationSummary: [$sel:state:OrganizationSummary'] :: OrganizationSummary -> Maybe Text
+ Amazonka.WorkMail.Types.OrganizationSummary: data OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.OrganizationSummary.OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.OrganizationSummary.OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.OrganizationSummary.OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: instance GHC.Classes.Eq Amazonka.WorkMail.Types.OrganizationSummary.OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: instance GHC.Generics.Generic Amazonka.WorkMail.Types.OrganizationSummary.OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: instance GHC.Read.Read Amazonka.WorkMail.Types.OrganizationSummary.OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: instance GHC.Show.Show Amazonka.WorkMail.Types.OrganizationSummary.OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: newOrganizationSummary :: OrganizationSummary
+ Amazonka.WorkMail.Types.OrganizationSummary: organizationSummary_alias :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types.OrganizationSummary: organizationSummary_defaultMailDomain :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types.OrganizationSummary: organizationSummary_errorMessage :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types.OrganizationSummary: organizationSummary_organizationId :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types.OrganizationSummary: organizationSummary_state :: Lens' OrganizationSummary (Maybe Text)
+ Amazonka.WorkMail.Types.Permission: Permission' :: Text -> MemberType -> [PermissionType] -> Permission
+ Amazonka.WorkMail.Types.Permission: [$sel:granteeId:Permission'] :: Permission -> Text
+ Amazonka.WorkMail.Types.Permission: [$sel:granteeType:Permission'] :: Permission -> MemberType
+ Amazonka.WorkMail.Types.Permission: [$sel:permissionValues:Permission'] :: Permission -> [PermissionType]
+ Amazonka.WorkMail.Types.Permission: data Permission
+ Amazonka.WorkMail.Types.Permission: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.Permission.Permission
+ Amazonka.WorkMail.Types.Permission: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.Permission.Permission
+ Amazonka.WorkMail.Types.Permission: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.Permission.Permission
+ Amazonka.WorkMail.Types.Permission: instance GHC.Classes.Eq Amazonka.WorkMail.Types.Permission.Permission
+ Amazonka.WorkMail.Types.Permission: instance GHC.Generics.Generic Amazonka.WorkMail.Types.Permission.Permission
+ Amazonka.WorkMail.Types.Permission: instance GHC.Read.Read Amazonka.WorkMail.Types.Permission.Permission
+ Amazonka.WorkMail.Types.Permission: instance GHC.Show.Show Amazonka.WorkMail.Types.Permission.Permission
+ Amazonka.WorkMail.Types.Permission: newPermission :: Text -> MemberType -> Permission
+ Amazonka.WorkMail.Types.Permission: permission_granteeId :: Lens' Permission Text
+ Amazonka.WorkMail.Types.Permission: permission_granteeType :: Lens' Permission MemberType
+ Amazonka.WorkMail.Types.Permission: permission_permissionValues :: Lens' Permission [PermissionType]
+ Amazonka.WorkMail.Types.PermissionType: PermissionType' :: Text -> PermissionType
+ Amazonka.WorkMail.Types.PermissionType: [fromPermissionType] :: PermissionType -> Text
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance GHC.Classes.Eq Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance GHC.Classes.Ord Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance GHC.Generics.Generic Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance GHC.Read.Read Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: instance GHC.Show.Show Amazonka.WorkMail.Types.PermissionType.PermissionType
+ Amazonka.WorkMail.Types.PermissionType: newtype PermissionType
+ Amazonka.WorkMail.Types.PermissionType: pattern PermissionType_FULL_ACCESS :: PermissionType
+ Amazonka.WorkMail.Types.PermissionType: pattern PermissionType_SEND_AS :: PermissionType
+ Amazonka.WorkMail.Types.PermissionType: pattern PermissionType_SEND_ON_BEHALF :: PermissionType
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: RedactedEwsAvailabilityProvider' :: Maybe Text -> Maybe Text -> RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: [$sel:ewsEndpoint:RedactedEwsAvailabilityProvider'] :: RedactedEwsAvailabilityProvider -> Maybe Text
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: [$sel:ewsUsername:RedactedEwsAvailabilityProvider'] :: RedactedEwsAvailabilityProvider -> Maybe Text
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: data RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider.RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider.RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider.RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: instance GHC.Classes.Eq Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider.RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: instance GHC.Generics.Generic Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider.RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: instance GHC.Read.Read Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider.RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: instance GHC.Show.Show Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider.RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: newRedactedEwsAvailabilityProvider :: RedactedEwsAvailabilityProvider
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: redactedEwsAvailabilityProvider_ewsEndpoint :: Lens' RedactedEwsAvailabilityProvider (Maybe Text)
+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider: redactedEwsAvailabilityProvider_ewsUsername :: Lens' RedactedEwsAvailabilityProvider (Maybe Text)
+ Amazonka.WorkMail.Types.Resource: Resource' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe ResourceType -> Resource
+ Amazonka.WorkMail.Types.Resource: [$sel:disabledDate:Resource'] :: Resource -> Maybe POSIX
+ Amazonka.WorkMail.Types.Resource: [$sel:email:Resource'] :: Resource -> Maybe Text
+ Amazonka.WorkMail.Types.Resource: [$sel:enabledDate:Resource'] :: Resource -> Maybe POSIX
+ Amazonka.WorkMail.Types.Resource: [$sel:id:Resource'] :: Resource -> Maybe Text
+ Amazonka.WorkMail.Types.Resource: [$sel:name:Resource'] :: Resource -> Maybe Text
+ Amazonka.WorkMail.Types.Resource: [$sel:state:Resource'] :: Resource -> Maybe EntityState
+ Amazonka.WorkMail.Types.Resource: [$sel:type':Resource'] :: Resource -> Maybe ResourceType
+ Amazonka.WorkMail.Types.Resource: data Resource
+ Amazonka.WorkMail.Types.Resource: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.Resource.Resource
+ Amazonka.WorkMail.Types.Resource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.Resource.Resource
+ Amazonka.WorkMail.Types.Resource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.Resource.Resource
+ Amazonka.WorkMail.Types.Resource: instance GHC.Classes.Eq Amazonka.WorkMail.Types.Resource.Resource
+ Amazonka.WorkMail.Types.Resource: instance GHC.Generics.Generic Amazonka.WorkMail.Types.Resource.Resource
+ Amazonka.WorkMail.Types.Resource: instance GHC.Read.Read Amazonka.WorkMail.Types.Resource.Resource
+ Amazonka.WorkMail.Types.Resource: instance GHC.Show.Show Amazonka.WorkMail.Types.Resource.Resource
+ Amazonka.WorkMail.Types.Resource: newResource :: Resource
+ Amazonka.WorkMail.Types.Resource: resource_disabledDate :: Lens' Resource (Maybe UTCTime)
+ Amazonka.WorkMail.Types.Resource: resource_email :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Types.Resource: resource_enabledDate :: Lens' Resource (Maybe UTCTime)
+ Amazonka.WorkMail.Types.Resource: resource_id :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Types.Resource: resource_name :: Lens' Resource (Maybe Text)
+ Amazonka.WorkMail.Types.Resource: resource_state :: Lens' Resource (Maybe EntityState)
+ Amazonka.WorkMail.Types.Resource: resource_type :: Lens' Resource (Maybe ResourceType)
+ Amazonka.WorkMail.Types.ResourceType: ResourceType' :: Text -> ResourceType
+ Amazonka.WorkMail.Types.ResourceType: [fromResourceType] :: ResourceType -> Text
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance GHC.Classes.Eq Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance GHC.Classes.Ord Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance GHC.Generics.Generic Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance GHC.Read.Read Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: instance GHC.Show.Show Amazonka.WorkMail.Types.ResourceType.ResourceType
+ Amazonka.WorkMail.Types.ResourceType: newtype ResourceType
+ Amazonka.WorkMail.Types.ResourceType: pattern ResourceType_EQUIPMENT :: ResourceType
+ Amazonka.WorkMail.Types.ResourceType: pattern ResourceType_ROOM :: ResourceType
+ Amazonka.WorkMail.Types.RetentionAction: RetentionAction' :: Text -> RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: [fromRetentionAction] :: RetentionAction -> Text
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance GHC.Classes.Eq Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance GHC.Classes.Ord Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance GHC.Generics.Generic Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance GHC.Read.Read Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: instance GHC.Show.Show Amazonka.WorkMail.Types.RetentionAction.RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: newtype RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: pattern RetentionAction_DELETE :: RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: pattern RetentionAction_NONE :: RetentionAction
+ Amazonka.WorkMail.Types.RetentionAction: pattern RetentionAction_PERMANENTLY_DELETE :: RetentionAction
+ Amazonka.WorkMail.Types.Tag: Tag' :: Text -> Text -> Tag
+ Amazonka.WorkMail.Types.Tag: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.WorkMail.Types.Tag: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.WorkMail.Types.Tag: data Tag
+ Amazonka.WorkMail.Types.Tag: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: instance GHC.Classes.Eq Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: instance GHC.Generics.Generic Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: instance GHC.Read.Read Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: instance GHC.Show.Show Amazonka.WorkMail.Types.Tag.Tag
+ Amazonka.WorkMail.Types.Tag: newTag :: Text -> Text -> Tag
+ Amazonka.WorkMail.Types.Tag: tag_key :: Lens' Tag Text
+ Amazonka.WorkMail.Types.Tag: tag_value :: Lens' Tag Text
+ Amazonka.WorkMail.Types.User: User' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe EntityState -> Maybe UserRole -> User
+ Amazonka.WorkMail.Types.User: [$sel:disabledDate:User'] :: User -> Maybe POSIX
+ Amazonka.WorkMail.Types.User: [$sel:displayName:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types.User: [$sel:email:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types.User: [$sel:enabledDate:User'] :: User -> Maybe POSIX
+ Amazonka.WorkMail.Types.User: [$sel:id:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types.User: [$sel:name:User'] :: User -> Maybe Text
+ Amazonka.WorkMail.Types.User: [$sel:state:User'] :: User -> Maybe EntityState
+ Amazonka.WorkMail.Types.User: [$sel:userRole:User'] :: User -> Maybe UserRole
+ Amazonka.WorkMail.Types.User: data User
+ Amazonka.WorkMail.Types.User: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.User.User
+ Amazonka.WorkMail.Types.User: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.User.User
+ Amazonka.WorkMail.Types.User: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.User.User
+ Amazonka.WorkMail.Types.User: instance GHC.Classes.Eq Amazonka.WorkMail.Types.User.User
+ Amazonka.WorkMail.Types.User: instance GHC.Generics.Generic Amazonka.WorkMail.Types.User.User
+ Amazonka.WorkMail.Types.User: instance GHC.Read.Read Amazonka.WorkMail.Types.User.User
+ Amazonka.WorkMail.Types.User: instance GHC.Show.Show Amazonka.WorkMail.Types.User.User
+ Amazonka.WorkMail.Types.User: newUser :: User
+ Amazonka.WorkMail.Types.User: user_disabledDate :: Lens' User (Maybe UTCTime)
+ Amazonka.WorkMail.Types.User: user_displayName :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types.User: user_email :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types.User: user_enabledDate :: Lens' User (Maybe UTCTime)
+ Amazonka.WorkMail.Types.User: user_id :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types.User: user_name :: Lens' User (Maybe Text)
+ Amazonka.WorkMail.Types.User: user_state :: Lens' User (Maybe EntityState)
+ Amazonka.WorkMail.Types.User: user_userRole :: Lens' User (Maybe UserRole)
+ Amazonka.WorkMail.Types.UserRole: UserRole' :: Text -> UserRole
+ Amazonka.WorkMail.Types.UserRole: [fromUserRole] :: UserRole -> Text
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.ByteString.ToByteString Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.Headers.ToHeader Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.Log.ToLog Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.Text.FromText Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.Text.ToText Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.XML.FromXML Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Amazonka.Data.XML.ToXML Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance GHC.Classes.Eq Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance GHC.Classes.Ord Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance GHC.Generics.Generic Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance GHC.Read.Read Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: instance GHC.Show.Show Amazonka.WorkMail.Types.UserRole.UserRole
+ Amazonka.WorkMail.Types.UserRole: newtype UserRole
+ Amazonka.WorkMail.Types.UserRole: pattern UserRole_RESOURCE :: UserRole
+ Amazonka.WorkMail.Types.UserRole: pattern UserRole_SYSTEM_USER :: UserRole
+ Amazonka.WorkMail.Types.UserRole: pattern UserRole_USER :: UserRole
+ Amazonka.WorkMail.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.WorkMail.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.WorkMail.UntagResource: [$sel:resourceARN:UntagResource'] :: UntagResource -> Text
+ Amazonka.WorkMail.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.WorkMail.UntagResource: data UntagResource
+ Amazonka.WorkMail.UntagResource: data UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.UntagResource.UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance GHC.Classes.Eq Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance GHC.Classes.Eq Amazonka.WorkMail.UntagResource.UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: instance GHC.Generics.Generic Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance GHC.Generics.Generic Amazonka.WorkMail.UntagResource.UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: instance GHC.Read.Read Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance GHC.Read.Read Amazonka.WorkMail.UntagResource.UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: instance GHC.Show.Show Amazonka.WorkMail.UntagResource.UntagResource
+ Amazonka.WorkMail.UntagResource: instance GHC.Show.Show Amazonka.WorkMail.UntagResource.UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.WorkMail.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.WorkMail.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.WorkMail.UntagResource: untagResource_resourceARN :: Lens' UntagResource Text
+ Amazonka.WorkMail.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: UpdateAvailabilityConfiguration' :: Maybe EwsAvailabilityProvider -> Maybe LambdaAvailabilityProvider -> Text -> Text -> UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: UpdateAvailabilityConfigurationResponse' :: Int -> UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: [$sel:domainName:UpdateAvailabilityConfiguration'] :: UpdateAvailabilityConfiguration -> Text
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: [$sel:ewsProvider:UpdateAvailabilityConfiguration'] :: UpdateAvailabilityConfiguration -> Maybe EwsAvailabilityProvider
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: [$sel:httpStatus:UpdateAvailabilityConfigurationResponse'] :: UpdateAvailabilityConfigurationResponse -> Int
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: [$sel:lambdaProvider:UpdateAvailabilityConfiguration'] :: UpdateAvailabilityConfiguration -> Maybe LambdaAvailabilityProvider
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: [$sel:organizationId:UpdateAvailabilityConfiguration'] :: UpdateAvailabilityConfiguration -> Text
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: data UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: data UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance GHC.Read.Read Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: instance GHC.Show.Show Amazonka.WorkMail.UpdateAvailabilityConfiguration.UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: newUpdateAvailabilityConfiguration :: Text -> Text -> UpdateAvailabilityConfiguration
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: newUpdateAvailabilityConfigurationResponse :: Int -> UpdateAvailabilityConfigurationResponse
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: updateAvailabilityConfigurationResponse_httpStatus :: Lens' UpdateAvailabilityConfigurationResponse Int
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: updateAvailabilityConfiguration_domainName :: Lens' UpdateAvailabilityConfiguration Text
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: updateAvailabilityConfiguration_ewsProvider :: Lens' UpdateAvailabilityConfiguration (Maybe EwsAvailabilityProvider)
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: updateAvailabilityConfiguration_lambdaProvider :: Lens' UpdateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider)
+ Amazonka.WorkMail.UpdateAvailabilityConfiguration: updateAvailabilityConfiguration_organizationId :: Lens' UpdateAvailabilityConfiguration Text
+ Amazonka.WorkMail.UpdateDefaultMailDomain: UpdateDefaultMailDomain' :: Text -> Text -> UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: UpdateDefaultMailDomainResponse' :: Int -> UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: [$sel:domainName:UpdateDefaultMailDomain'] :: UpdateDefaultMailDomain -> Text
+ Amazonka.WorkMail.UpdateDefaultMailDomain: [$sel:httpStatus:UpdateDefaultMailDomainResponse'] :: UpdateDefaultMailDomainResponse -> Int
+ Amazonka.WorkMail.UpdateDefaultMailDomain: [$sel:organizationId:UpdateDefaultMailDomain'] :: UpdateDefaultMailDomain -> Text
+ Amazonka.WorkMail.UpdateDefaultMailDomain: data UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: data UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Read.Read Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Read.Read Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Show.Show Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: instance GHC.Show.Show Amazonka.WorkMail.UpdateDefaultMailDomain.UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: newUpdateDefaultMailDomain :: Text -> Text -> UpdateDefaultMailDomain
+ Amazonka.WorkMail.UpdateDefaultMailDomain: newUpdateDefaultMailDomainResponse :: Int -> UpdateDefaultMailDomainResponse
+ Amazonka.WorkMail.UpdateDefaultMailDomain: updateDefaultMailDomainResponse_httpStatus :: Lens' UpdateDefaultMailDomainResponse Int
+ Amazonka.WorkMail.UpdateDefaultMailDomain: updateDefaultMailDomain_domainName :: Lens' UpdateDefaultMailDomain Text
+ Amazonka.WorkMail.UpdateDefaultMailDomain: updateDefaultMailDomain_organizationId :: Lens' UpdateDefaultMailDomain Text
+ Amazonka.WorkMail.UpdateImpersonationRole: UpdateImpersonationRole' :: Maybe Text -> Text -> Text -> Text -> ImpersonationRoleType -> [ImpersonationRule] -> UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: UpdateImpersonationRoleResponse' :: Int -> UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: [$sel:description:UpdateImpersonationRole'] :: UpdateImpersonationRole -> Maybe Text
+ Amazonka.WorkMail.UpdateImpersonationRole: [$sel:httpStatus:UpdateImpersonationRoleResponse'] :: UpdateImpersonationRoleResponse -> Int
+ Amazonka.WorkMail.UpdateImpersonationRole: [$sel:impersonationRoleId:UpdateImpersonationRole'] :: UpdateImpersonationRole -> Text
+ Amazonka.WorkMail.UpdateImpersonationRole: [$sel:name:UpdateImpersonationRole'] :: UpdateImpersonationRole -> Text
+ Amazonka.WorkMail.UpdateImpersonationRole: [$sel:organizationId:UpdateImpersonationRole'] :: UpdateImpersonationRole -> Text
+ Amazonka.WorkMail.UpdateImpersonationRole: [$sel:rules:UpdateImpersonationRole'] :: UpdateImpersonationRole -> [ImpersonationRule]
+ Amazonka.WorkMail.UpdateImpersonationRole: [$sel:type':UpdateImpersonationRole'] :: UpdateImpersonationRole -> ImpersonationRoleType
+ Amazonka.WorkMail.UpdateImpersonationRole: data UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: data UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Read.Read Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: instance GHC.Show.Show Amazonka.WorkMail.UpdateImpersonationRole.UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: newUpdateImpersonationRole :: Text -> Text -> Text -> ImpersonationRoleType -> UpdateImpersonationRole
+ Amazonka.WorkMail.UpdateImpersonationRole: newUpdateImpersonationRoleResponse :: Int -> UpdateImpersonationRoleResponse
+ Amazonka.WorkMail.UpdateImpersonationRole: updateImpersonationRoleResponse_httpStatus :: Lens' UpdateImpersonationRoleResponse Int
+ Amazonka.WorkMail.UpdateImpersonationRole: updateImpersonationRole_description :: Lens' UpdateImpersonationRole (Maybe Text)
+ Amazonka.WorkMail.UpdateImpersonationRole: updateImpersonationRole_impersonationRoleId :: Lens' UpdateImpersonationRole Text
+ Amazonka.WorkMail.UpdateImpersonationRole: updateImpersonationRole_name :: Lens' UpdateImpersonationRole Text
+ Amazonka.WorkMail.UpdateImpersonationRole: updateImpersonationRole_organizationId :: Lens' UpdateImpersonationRole Text
+ Amazonka.WorkMail.UpdateImpersonationRole: updateImpersonationRole_rules :: Lens' UpdateImpersonationRole [ImpersonationRule]
+ Amazonka.WorkMail.UpdateImpersonationRole: updateImpersonationRole_type :: Lens' UpdateImpersonationRole ImpersonationRoleType
+ Amazonka.WorkMail.UpdateMailboxQuota: UpdateMailboxQuota' :: Text -> Text -> Natural -> UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: UpdateMailboxQuotaResponse' :: Int -> UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: [$sel:httpStatus:UpdateMailboxQuotaResponse'] :: UpdateMailboxQuotaResponse -> Int
+ Amazonka.WorkMail.UpdateMailboxQuota: [$sel:mailboxQuota:UpdateMailboxQuota'] :: UpdateMailboxQuota -> Natural
+ Amazonka.WorkMail.UpdateMailboxQuota: [$sel:organizationId:UpdateMailboxQuota'] :: UpdateMailboxQuota -> Text
+ Amazonka.WorkMail.UpdateMailboxQuota: [$sel:userId:UpdateMailboxQuota'] :: UpdateMailboxQuota -> Text
+ Amazonka.WorkMail.UpdateMailboxQuota: data UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: data UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Read.Read Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Read.Read Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Show.Show Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: instance GHC.Show.Show Amazonka.WorkMail.UpdateMailboxQuota.UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: newUpdateMailboxQuota :: Text -> Text -> Natural -> UpdateMailboxQuota
+ Amazonka.WorkMail.UpdateMailboxQuota: newUpdateMailboxQuotaResponse :: Int -> UpdateMailboxQuotaResponse
+ Amazonka.WorkMail.UpdateMailboxQuota: updateMailboxQuotaResponse_httpStatus :: Lens' UpdateMailboxQuotaResponse Int
+ Amazonka.WorkMail.UpdateMailboxQuota: updateMailboxQuota_mailboxQuota :: Lens' UpdateMailboxQuota Natural
+ Amazonka.WorkMail.UpdateMailboxQuota: updateMailboxQuota_organizationId :: Lens' UpdateMailboxQuota Text
+ Amazonka.WorkMail.UpdateMailboxQuota: updateMailboxQuota_userId :: Lens' UpdateMailboxQuota Text
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: UpdateMobileDeviceAccessRule' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: UpdateMobileDeviceAccessRuleResponse' :: Int -> UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:description:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe Text
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:deviceModels:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:deviceOperatingSystems:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:deviceTypes:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:deviceUserAgents:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:effect:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:httpStatus:UpdateMobileDeviceAccessRuleResponse'] :: UpdateMobileDeviceAccessRuleResponse -> Int
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:mobileDeviceAccessRuleId:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Text
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:name:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Text
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:notDeviceModels:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:notDeviceOperatingSystems:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:notDeviceTypes:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:notDeviceUserAgents:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Maybe (NonEmpty Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: [$sel:organizationId:UpdateMobileDeviceAccessRule'] :: UpdateMobileDeviceAccessRule -> Text
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: data UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: data UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Read.Read Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Read.Read Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Show.Show Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: instance GHC.Show.Show Amazonka.WorkMail.UpdateMobileDeviceAccessRule.UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: newUpdateMobileDeviceAccessRule :: Text -> Text -> Text -> MobileDeviceAccessRuleEffect -> UpdateMobileDeviceAccessRule
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: newUpdateMobileDeviceAccessRuleResponse :: Int -> UpdateMobileDeviceAccessRuleResponse
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRuleResponse_httpStatus :: Lens' UpdateMobileDeviceAccessRuleResponse Int
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_description :: Lens' UpdateMobileDeviceAccessRule (Maybe Text)
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_deviceModels :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_deviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_deviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_deviceUserAgents :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_effect :: Lens' UpdateMobileDeviceAccessRule MobileDeviceAccessRuleEffect
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' UpdateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_name :: Lens' UpdateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_notDeviceModels :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_notDeviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_notDeviceUserAgents :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text))
+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule: updateMobileDeviceAccessRule_organizationId :: Lens' UpdateMobileDeviceAccessRule Text
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: UpdatePrimaryEmailAddress' :: Text -> Text -> Text -> UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: UpdatePrimaryEmailAddressResponse' :: Int -> UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: [$sel:email:UpdatePrimaryEmailAddress'] :: UpdatePrimaryEmailAddress -> Text
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: [$sel:entityId:UpdatePrimaryEmailAddress'] :: UpdatePrimaryEmailAddress -> Text
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: [$sel:httpStatus:UpdatePrimaryEmailAddressResponse'] :: UpdatePrimaryEmailAddressResponse -> Int
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: [$sel:organizationId:UpdatePrimaryEmailAddress'] :: UpdatePrimaryEmailAddress -> Text
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: data UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: data UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Classes.Eq Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Classes.Eq Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Generics.Generic Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Generics.Generic Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Read.Read Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Read.Read Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Show.Show Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: instance GHC.Show.Show Amazonka.WorkMail.UpdatePrimaryEmailAddress.UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: newUpdatePrimaryEmailAddress :: Text -> Text -> Text -> UpdatePrimaryEmailAddress
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: newUpdatePrimaryEmailAddressResponse :: Int -> UpdatePrimaryEmailAddressResponse
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: updatePrimaryEmailAddressResponse_httpStatus :: Lens' UpdatePrimaryEmailAddressResponse Int
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: updatePrimaryEmailAddress_email :: Lens' UpdatePrimaryEmailAddress Text
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: updatePrimaryEmailAddress_entityId :: Lens' UpdatePrimaryEmailAddress Text
+ Amazonka.WorkMail.UpdatePrimaryEmailAddress: updatePrimaryEmailAddress_organizationId :: Lens' UpdatePrimaryEmailAddress Text
+ Amazonka.WorkMail.UpdateResource: UpdateResource' :: Maybe BookingOptions -> Maybe Text -> Text -> Text -> UpdateResource
+ Amazonka.WorkMail.UpdateResource: UpdateResourceResponse' :: Int -> UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: [$sel:bookingOptions:UpdateResource'] :: UpdateResource -> Maybe BookingOptions
+ Amazonka.WorkMail.UpdateResource: [$sel:httpStatus:UpdateResourceResponse'] :: UpdateResourceResponse -> Int
+ Amazonka.WorkMail.UpdateResource: [$sel:name:UpdateResource'] :: UpdateResource -> Maybe Text
+ Amazonka.WorkMail.UpdateResource: [$sel:organizationId:UpdateResource'] :: UpdateResource -> Text
+ Amazonka.WorkMail.UpdateResource: [$sel:resourceId:UpdateResource'] :: UpdateResource -> Text
+ Amazonka.WorkMail.UpdateResource: data UpdateResource
+ Amazonka.WorkMail.UpdateResource: data UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance Amazonka.Data.Path.ToPath Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance Amazonka.Data.Query.ToQuery Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance Amazonka.Types.AWSRequest Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance Control.DeepSeq.NFData Amazonka.WorkMail.UpdateResource.UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance Data.Hashable.Class.Hashable Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance GHC.Classes.Eq Amazonka.WorkMail.UpdateResource.UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance GHC.Generics.Generic Amazonka.WorkMail.UpdateResource.UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: instance GHC.Read.Read Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance GHC.Read.Read Amazonka.WorkMail.UpdateResource.UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: instance GHC.Show.Show Amazonka.WorkMail.UpdateResource.UpdateResource
+ Amazonka.WorkMail.UpdateResource: instance GHC.Show.Show Amazonka.WorkMail.UpdateResource.UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: newUpdateResource :: Text -> Text -> UpdateResource
+ Amazonka.WorkMail.UpdateResource: newUpdateResourceResponse :: Int -> UpdateResourceResponse
+ Amazonka.WorkMail.UpdateResource: updateResourceResponse_httpStatus :: Lens' UpdateResourceResponse Int
+ Amazonka.WorkMail.UpdateResource: updateResource_bookingOptions :: Lens' UpdateResource (Maybe BookingOptions)
+ Amazonka.WorkMail.UpdateResource: updateResource_name :: Lens' UpdateResource (Maybe Text)
+ Amazonka.WorkMail.UpdateResource: updateResource_organizationId :: Lens' UpdateResource Text
+ Amazonka.WorkMail.UpdateResource: updateResource_resourceId :: Lens' UpdateResource Text
Files
- README.md +3/−4
- Setup.hs +0/−2
- amazonka-workmail.cabal +191/−105
- fixture/AssumeImpersonationRole.yaml +10/−0
- fixture/AssumeImpersonationRoleResponse.proto +0/−0
- fixture/CancelMailboxExportJob.yaml +10/−0
- fixture/CancelMailboxExportJobResponse.proto +0/−0
- fixture/CreateAvailabilityConfiguration.yaml +10/−0
- fixture/CreateAvailabilityConfigurationResponse.proto +0/−0
- fixture/CreateImpersonationRole.yaml +10/−0
- fixture/CreateImpersonationRoleResponse.proto +0/−0
- fixture/CreateMobileDeviceAccessRule.yaml +10/−0
- fixture/CreateMobileDeviceAccessRuleResponse.proto +0/−0
- fixture/CreateOrganization.yaml +10/−0
- fixture/CreateOrganizationResponse.proto +0/−0
- fixture/DeleteAccessControlRule.yaml +10/−0
- fixture/DeleteAccessControlRuleResponse.proto +0/−0
- fixture/DeleteAvailabilityConfiguration.yaml +10/−0
- fixture/DeleteAvailabilityConfigurationResponse.proto +0/−0
- fixture/DeleteEmailMonitoringConfiguration.yaml +10/−0
- fixture/DeleteEmailMonitoringConfigurationResponse.proto +0/−0
- fixture/DeleteImpersonationRole.yaml +10/−0
- fixture/DeleteImpersonationRoleResponse.proto +0/−0
- fixture/DeleteMobileDeviceAccessOverride.yaml +10/−0
- fixture/DeleteMobileDeviceAccessOverrideResponse.proto +0/−0
- fixture/DeleteMobileDeviceAccessRule.yaml +10/−0
- fixture/DeleteMobileDeviceAccessRuleResponse.proto +0/−0
- fixture/DeleteOrganization.yaml +10/−0
- fixture/DeleteOrganizationResponse.proto +0/−0
- fixture/DeleteRetentionPolicy.yaml +10/−0
- fixture/DeleteRetentionPolicyResponse.proto +0/−0
- fixture/DeregisterMailDomain.yaml +10/−0
- fixture/DeregisterMailDomainResponse.proto +0/−0
- fixture/DescribeEmailMonitoringConfiguration.yaml +10/−0
- fixture/DescribeEmailMonitoringConfigurationResponse.proto +0/−0
- fixture/DescribeInboundDmarcSettings.yaml +10/−0
- fixture/DescribeInboundDmarcSettingsResponse.proto +0/−0
- fixture/DescribeMailboxExportJob.yaml +10/−0
- fixture/DescribeMailboxExportJobResponse.proto +0/−0
- fixture/GetAccessControlEffect.yaml +10/−0
- fixture/GetAccessControlEffectResponse.proto +0/−0
- fixture/GetDefaultRetentionPolicy.yaml +10/−0
- fixture/GetDefaultRetentionPolicyResponse.proto +0/−0
- fixture/GetImpersonationRole.yaml +10/−0
- fixture/GetImpersonationRoleEffect.yaml +10/−0
- fixture/GetImpersonationRoleEffectResponse.proto +0/−0
- fixture/GetImpersonationRoleResponse.proto +0/−0
- fixture/GetMailDomain.yaml +10/−0
- fixture/GetMailDomainResponse.proto +0/−0
- fixture/GetMailboxDetails.yaml +10/−0
- fixture/GetMailboxDetailsResponse.proto +0/−0
- fixture/GetMobileDeviceAccessEffect.yaml +10/−0
- fixture/GetMobileDeviceAccessEffectResponse.proto +0/−0
- fixture/GetMobileDeviceAccessOverride.yaml +10/−0
- fixture/GetMobileDeviceAccessOverrideResponse.proto +0/−0
- fixture/ListAccessControlRules.yaml +10/−0
- fixture/ListAccessControlRulesResponse.proto +0/−0
- fixture/ListAvailabilityConfigurations.yaml +10/−0
- fixture/ListAvailabilityConfigurationsResponse.proto +0/−0
- fixture/ListImpersonationRoles.yaml +10/−0
- fixture/ListImpersonationRolesResponse.proto +0/−0
- fixture/ListMailDomains.yaml +10/−0
- fixture/ListMailDomainsResponse.proto +0/−0
- fixture/ListMailboxExportJobs.yaml +10/−0
- fixture/ListMailboxExportJobsResponse.proto +0/−0
- fixture/ListMobileDeviceAccessOverrides.yaml +10/−0
- fixture/ListMobileDeviceAccessOverridesResponse.proto +0/−0
- fixture/ListMobileDeviceAccessRules.yaml +10/−0
- fixture/ListMobileDeviceAccessRulesResponse.proto +0/−0
- fixture/ListTagsForResource.yaml +10/−0
- fixture/ListTagsForResourceResponse.proto +0/−0
- fixture/PutAccessControlRule.yaml +10/−0
- fixture/PutAccessControlRuleResponse.proto +0/−0
- fixture/PutEmailMonitoringConfiguration.yaml +10/−0
- fixture/PutEmailMonitoringConfigurationResponse.proto +0/−0
- fixture/PutInboundDmarcSettings.yaml +10/−0
- fixture/PutInboundDmarcSettingsResponse.proto +0/−0
- fixture/PutMobileDeviceAccessOverride.yaml +10/−0
- fixture/PutMobileDeviceAccessOverrideResponse.proto +0/−0
- fixture/PutRetentionPolicy.yaml +10/−0
- fixture/PutRetentionPolicyResponse.proto +0/−0
- fixture/RegisterMailDomain.yaml +10/−0
- fixture/RegisterMailDomainResponse.proto +0/−0
- fixture/StartMailboxExportJob.yaml +10/−0
- fixture/StartMailboxExportJobResponse.proto +0/−0
- fixture/TagResource.yaml +10/−0
- fixture/TagResourceResponse.proto +0/−0
- fixture/TestAvailabilityConfiguration.yaml +10/−0
- fixture/TestAvailabilityConfigurationResponse.proto +0/−0
- fixture/UntagResource.yaml +10/−0
- fixture/UntagResourceResponse.proto +0/−0
- fixture/UpdateAvailabilityConfiguration.yaml +10/−0
- fixture/UpdateAvailabilityConfigurationResponse.proto +0/−0
- fixture/UpdateDefaultMailDomain.yaml +10/−0
- fixture/UpdateDefaultMailDomainResponse.proto +0/−0
- fixture/UpdateImpersonationRole.yaml +10/−0
- fixture/UpdateImpersonationRoleResponse.proto +0/−0
- fixture/UpdateMailboxQuota.yaml +10/−0
- fixture/UpdateMailboxQuotaResponse.proto +0/−0
- fixture/UpdateMobileDeviceAccessRule.yaml +10/−0
- fixture/UpdateMobileDeviceAccessRuleResponse.proto +0/−0
- gen/Amazonka/WorkMail.hs +857/−0
- gen/Amazonka/WorkMail/AssociateDelegateToResource.hs +199/−0
- gen/Amazonka/WorkMail/AssociateMemberToGroup.hs +199/−0
- gen/Amazonka/WorkMail/AssumeImpersonationRole.hs +213/−0
- gen/Amazonka/WorkMail/CancelMailboxExportJob.hs +202/−0
- gen/Amazonka/WorkMail/CreateAlias.hs +186/−0
- gen/Amazonka/WorkMail/CreateAvailabilityConfiguration.hs +257/−0
- gen/Amazonka/WorkMail/CreateGroup.hs +187/−0
- gen/Amazonka/WorkMail/CreateImpersonationRole.hs +258/−0
- gen/Amazonka/WorkMail/CreateMobileDeviceAccessRule.hs +366/−0
- gen/Amazonka/WorkMail/CreateOrganization.hs +266/−0
- gen/Amazonka/WorkMail/CreateResource.hs +210/−0
- gen/Amazonka/WorkMail/CreateUser.hs +222/−0
- gen/Amazonka/WorkMail/DeleteAccessControlRule.hs +185/−0
- gen/Amazonka/WorkMail/DeleteAlias.hs +196/−0
- gen/Amazonka/WorkMail/DeleteAvailabilityConfiguration.hs +202/−0
- gen/Amazonka/WorkMail/DeleteEmailMonitoringConfiguration.hs +193/−0
- gen/Amazonka/WorkMail/DeleteGroup.hs +171/−0
- gen/Amazonka/WorkMail/DeleteImpersonationRole.hs +184/−0
- gen/Amazonka/WorkMail/DeleteMailboxPermissions.hs +205/−0
- gen/Amazonka/WorkMail/DeleteMobileDeviceAccessOverride.hs +249/−0
- gen/Amazonka/WorkMail/DeleteMobileDeviceAccessRule.hs +195/−0
- gen/Amazonka/WorkMail/DeleteOrganization.hs +224/−0
- gen/Amazonka/WorkMail/DeleteResource.hs +177/−0
- gen/Amazonka/WorkMail/DeleteRetentionPolicy.hs +178/−0
- gen/Amazonka/WorkMail/DeleteUser.hs +174/−0
- gen/Amazonka/WorkMail/DeregisterFromWorkMail.hs +187/−0
- gen/Amazonka/WorkMail/DeregisterMailDomain.hs +181/−0
- gen/Amazonka/WorkMail/DescribeEmailMonitoringConfiguration.hs +224/−0
- gen/Amazonka/WorkMail/DescribeGroup.hs +258/−0
- gen/Amazonka/WorkMail/DescribeInboundDmarcSettings.hs +180/−0
- gen/Amazonka/WorkMail/DescribeMailboxExportJob.hs +336/−0
- gen/Amazonka/WorkMail/DescribeOrganization.hs +280/−0
- gen/Amazonka/WorkMail/DescribeResource.hs +286/−0
- gen/Amazonka/WorkMail/DescribeUser.hs +295/−0
- gen/Amazonka/WorkMail/DisassociateDelegateFromResource.hs +223/−0
- gen/Amazonka/WorkMail/DisassociateMemberFromGroup.hs +199/−0
- gen/Amazonka/WorkMail/GetAccessControlEffect.hs +257/−0
- gen/Amazonka/WorkMail/GetDefaultRetentionPolicy.hs +217/−0
- gen/Amazonka/WorkMail/GetImpersonationRole.hs +265/−0
- gen/Amazonka/WorkMail/GetImpersonationRoleEffect.hs +267/−0
- gen/Amazonka/WorkMail/GetMailDomain.hs +253/−0
- gen/Amazonka/WorkMail/GetMailboxDetails.hs +206/−0
- gen/Amazonka/WorkMail/GetMobileDeviceAccessEffect.hs +256/−0
- gen/Amazonka/WorkMail/GetMobileDeviceAccessOverride.hs +305/−0
- gen/Amazonka/WorkMail/Lens.hs +919/−0
- gen/Amazonka/WorkMail/ListAccessControlRules.hs +177/−0
- gen/Amazonka/WorkMail/ListAliases.hs +255/−0
- gen/Amazonka/WorkMail/ListAvailabilityConfigurations.hs +271/−0
- gen/Amazonka/WorkMail/ListGroupMembers.hs +261/−0
- gen/Amazonka/WorkMail/ListGroups.hs +237/−0
- gen/Amazonka/WorkMail/ListImpersonationRoles.hs +225/−0
- gen/Amazonka/WorkMail/ListMailDomains.hs +224/−0
- gen/Amazonka/WorkMail/ListMailboxExportJobs.hs +214/−0
- gen/Amazonka/WorkMail/ListMailboxPermissions.hs +268/−0
- gen/Amazonka/WorkMail/ListMobileDeviceAccessOverrides.hs +294/−0
- gen/Amazonka/WorkMail/ListMobileDeviceAccessRules.hs +181/−0
- gen/Amazonka/WorkMail/ListOrganizations.hs +232/−0
- gen/Amazonka/WorkMail/ListResourceDelegates.hs +267/−0
- gen/Amazonka/WorkMail/ListResources.hs +244/−0
- gen/Amazonka/WorkMail/ListTagsForResource.hs +169/−0
- gen/Amazonka/WorkMail/ListUsers.hs +237/−0
- gen/Amazonka/WorkMail/PutAccessControlRule.hs +333/−0
- gen/Amazonka/WorkMail/PutEmailMonitoringConfiguration.hs +224/−0
- gen/Amazonka/WorkMail/PutInboundDmarcSettings.hs +183/−0
- gen/Amazonka/WorkMail/PutMailboxPermissions.hs +238/−0
- gen/Amazonka/WorkMail/PutMobileDeviceAccessOverride.hs +262/−0
- gen/Amazonka/WorkMail/PutRetentionPolicy.hs +219/−0
- gen/Amazonka/WorkMail/RegisterMailDomain.hs +193/−0
- gen/Amazonka/WorkMail/RegisterToWorkMail.hs +209/−0
- gen/Amazonka/WorkMail/ResetPassword.hs +192/−0
- gen/Amazonka/WorkMail/StartMailboxExportJob.hs +295/−0
- gen/Amazonka/WorkMail/TagResource.hs +169/−0
- gen/Amazonka/WorkMail/TestAvailabilityConfiguration.hs +253/−0
- gen/Amazonka/WorkMail/Types.hs +593/−0
- gen/Amazonka/WorkMail/Types/AccessControlRule.hs +235/−0
- gen/Amazonka/WorkMail/Types/AccessControlRuleEffect.hs +71/−0
- gen/Amazonka/WorkMail/Types/AccessEffect.hs +71/−0
- gen/Amazonka/WorkMail/Types/AvailabilityConfiguration.hs +146/−0
- gen/Amazonka/WorkMail/Types/AvailabilityProviderType.hs +71/−0
- gen/Amazonka/WorkMail/Types/BookingOptions.hs +117/−0
- gen/Amazonka/WorkMail/Types/Delegate.hs +89/−0
- gen/Amazonka/WorkMail/Types/DnsRecord.hs +99/−0
- gen/Amazonka/WorkMail/Types/DnsRecordVerificationStatus.hs +76/−0
- gen/Amazonka/WorkMail/Types/Domain.hs +92/−0
- gen/Amazonka/WorkMail/Types/EntityState.hs +76/−0
- gen/Amazonka/WorkMail/Types/EwsAvailabilityProvider.hs +106/−0
- gen/Amazonka/WorkMail/Types/FolderConfiguration.hs +116/−0
- gen/Amazonka/WorkMail/Types/FolderName.hs +86/−0
- gen/Amazonka/WorkMail/Types/Group.hs +133/−0
- gen/Amazonka/WorkMail/Types/ImpersonationMatchedRule.hs +85/−0
- gen/Amazonka/WorkMail/Types/ImpersonationRole.hs +121/−0
- gen/Amazonka/WorkMail/Types/ImpersonationRoleType.hs +71/−0
- gen/Amazonka/WorkMail/Types/ImpersonationRule.hs +155/−0
- gen/Amazonka/WorkMail/Types/LambdaAvailabilityProvider.hs +84/−0
- gen/Amazonka/WorkMail/Types/MailDomainSummary.hs +84/−0
- gen/Amazonka/WorkMail/Types/MailboxExportJob.hs +174/−0
- gen/Amazonka/WorkMail/Types/MailboxExportJobState.hs +81/−0
- gen/Amazonka/WorkMail/Types/Member.hs +134/−0
- gen/Amazonka/WorkMail/Types/MemberType.hs +71/−0
- gen/Amazonka/WorkMail/Types/MobileDeviceAccessMatchedRule.hs +88/−0
- gen/Amazonka/WorkMail/Types/MobileDeviceAccessOverride.hs +134/−0
- gen/Amazonka/WorkMail/Types/MobileDeviceAccessRule.hs +245/−0
- gen/Amazonka/WorkMail/Types/MobileDeviceAccessRuleEffect.hs +71/−0
- gen/Amazonka/WorkMail/Types/OrganizationSummary.hs +126/−0
- gen/Amazonka/WorkMail/Types/Permission.hs +127/−0
- gen/Amazonka/WorkMail/Types/PermissionType.hs +76/−0
- gen/Amazonka/WorkMail/Types/RedactedEwsAvailabilityProvider.hs +97/−0
- gen/Amazonka/WorkMail/Types/Resource.hs +146/−0
- gen/Amazonka/WorkMail/Types/ResourceType.hs +71/−0
- gen/Amazonka/WorkMail/Types/RetentionAction.hs +76/−0
- gen/Amazonka/WorkMail/Types/Tag.hs +93/−0
- gen/Amazonka/WorkMail/Types/User.hs +158/−0
- gen/Amazonka/WorkMail/Types/UserRole.hs +76/−0
- gen/Amazonka/WorkMail/UntagResource.hs +172/−0
- gen/Amazonka/WorkMail/UpdateAvailabilityConfiguration.hs +247/−0
- gen/Amazonka/WorkMail/UpdateDefaultMailDomain.hs +185/−0
- gen/Amazonka/WorkMail/UpdateImpersonationRole.hs +245/−0
- gen/Amazonka/WorkMail/UpdateMailboxQuota.hs +200/−0
- gen/Amazonka/WorkMail/UpdateMobileDeviceAccessRule.hs +361/−0
- gen/Amazonka/WorkMail/UpdatePrimaryEmailAddress.hs +202/−0
- gen/Amazonka/WorkMail/UpdateResource.hs +207/−0
- gen/Amazonka/WorkMail/Waiters.hs +24/−0
- gen/Network/AWS/WorkMail.hs +0/−343
- gen/Network/AWS/WorkMail/AssociateDelegateToResource.hs +0/−152
- gen/Network/AWS/WorkMail/AssociateMemberToGroup.hs +0/−150
- gen/Network/AWS/WorkMail/CreateAlias.hs +0/−147
- gen/Network/AWS/WorkMail/CreateGroup.hs +0/−143
- gen/Network/AWS/WorkMail/CreateResource.hs +0/−153
- gen/Network/AWS/WorkMail/CreateUser.hs +0/−168
- gen/Network/AWS/WorkMail/DeleteAlias.hs +0/−147
- gen/Network/AWS/WorkMail/DeleteGroup.hs +0/−133
- gen/Network/AWS/WorkMail/DeleteMailboxPermissions.hs +0/−151
- gen/Network/AWS/WorkMail/DeleteResource.hs +0/−134
- gen/Network/AWS/WorkMail/DeleteUser.hs +0/−133
- gen/Network/AWS/WorkMail/DeregisterFromWorkMail.hs +0/−137
- gen/Network/AWS/WorkMail/DescribeGroup.hs +0/−195
- gen/Network/AWS/WorkMail/DescribeOrganization.hs +0/−207
- gen/Network/AWS/WorkMail/DescribeResource.hs +0/−216
- gen/Network/AWS/WorkMail/DescribeUser.hs +0/−215
- gen/Network/AWS/WorkMail/DisassociateDelegateFromResource.hs +0/−160
- gen/Network/AWS/WorkMail/DisassociateMemberFromGroup.hs +0/−152
- gen/Network/AWS/WorkMail/ListAliases.hs +0/−188
- gen/Network/AWS/WorkMail/ListGroupMembers.hs +0/−188
- gen/Network/AWS/WorkMail/ListGroups.hs +0/−177
- gen/Network/AWS/WorkMail/ListMailboxPermissions.hs +0/−181
- gen/Network/AWS/WorkMail/ListOrganizations.hs +0/−164
- gen/Network/AWS/WorkMail/ListResourceDelegates.hs +0/−181
- gen/Network/AWS/WorkMail/ListResources.hs +0/−178
- gen/Network/AWS/WorkMail/ListUsers.hs +0/−177
- gen/Network/AWS/WorkMail/PutMailboxPermissions.hs +0/−160
- gen/Network/AWS/WorkMail/RegisterToWorkMail.hs +0/−148
- gen/Network/AWS/WorkMail/ResetPassword.hs +0/−147
- gen/Network/AWS/WorkMail/Types.hs +0/−291
- gen/Network/AWS/WorkMail/Types/Product.hs +0/−606
- gen/Network/AWS/WorkMail/Types/Sum.hs +0/−170
- gen/Network/AWS/WorkMail/UpdatePrimaryEmailAddress.hs +0/−151
- gen/Network/AWS/WorkMail/UpdateResource.hs +0/−156
- gen/Network/AWS/WorkMail/Waiters.hs +0/−21
- test/Main.hs +11/−9
- test/Test/AWS/Gen/WorkMail.hs +0/−597
- test/Test/AWS/WorkMail.hs +0/−20
- test/Test/AWS/WorkMail/Internal.hs +0/−9
- test/Test/Amazonka/Gen/WorkMail.hs +1638/−0
- test/Test/Amazonka/WorkMail.hs +20/−0
- test/Test/Amazonka/WorkMail/Internal.hs +8/−0
README.md view
@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2017-10-01@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.WorkMail](http://hackage.haskell.org/package/amazonka-workmail/docs/Network-AWS-WorkMail.html)+See [Amazonka.WorkMail](http://hackage.haskell.org/package/amazonka-workmail/docs/Amazonka-WorkMail.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-workmail.cabal view
@@ -1,116 +1,202 @@-name: amazonka-workmail-version: 1.6.1-synopsis: Amazon WorkMail SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-workmail+version: 2.0+synopsis: Amazon WorkMail SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.WorkMail" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2017-10-01@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.WorkMail.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.WorkMail" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-workmail+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-workmail library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.WorkMail- , Network.AWS.WorkMail.AssociateDelegateToResource- , Network.AWS.WorkMail.AssociateMemberToGroup- , Network.AWS.WorkMail.CreateAlias- , Network.AWS.WorkMail.CreateGroup- , Network.AWS.WorkMail.CreateResource- , Network.AWS.WorkMail.CreateUser- , Network.AWS.WorkMail.DeleteAlias- , Network.AWS.WorkMail.DeleteGroup- , Network.AWS.WorkMail.DeleteMailboxPermissions- , Network.AWS.WorkMail.DeleteResource- , Network.AWS.WorkMail.DeleteUser- , Network.AWS.WorkMail.DeregisterFromWorkMail- , Network.AWS.WorkMail.DescribeGroup- , Network.AWS.WorkMail.DescribeOrganization- , Network.AWS.WorkMail.DescribeResource- , Network.AWS.WorkMail.DescribeUser- , Network.AWS.WorkMail.DisassociateDelegateFromResource- , Network.AWS.WorkMail.DisassociateMemberFromGroup- , Network.AWS.WorkMail.ListAliases- , Network.AWS.WorkMail.ListGroupMembers- , Network.AWS.WorkMail.ListGroups- , Network.AWS.WorkMail.ListMailboxPermissions- , Network.AWS.WorkMail.ListOrganizations- , Network.AWS.WorkMail.ListResourceDelegates- , Network.AWS.WorkMail.ListResources- , Network.AWS.WorkMail.ListUsers- , Network.AWS.WorkMail.PutMailboxPermissions- , Network.AWS.WorkMail.RegisterToWorkMail- , Network.AWS.WorkMail.ResetPassword- , Network.AWS.WorkMail.Types- , Network.AWS.WorkMail.UpdatePrimaryEmailAddress- , Network.AWS.WorkMail.UpdateResource- , Network.AWS.WorkMail.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.WorkMail.Types.Product- , Network.AWS.WorkMail.Types.Sum+ exposed-modules:+ Amazonka.WorkMail+ Amazonka.WorkMail.AssociateDelegateToResource+ Amazonka.WorkMail.AssociateMemberToGroup+ Amazonka.WorkMail.AssumeImpersonationRole+ Amazonka.WorkMail.CancelMailboxExportJob+ Amazonka.WorkMail.CreateAlias+ Amazonka.WorkMail.CreateAvailabilityConfiguration+ Amazonka.WorkMail.CreateGroup+ Amazonka.WorkMail.CreateImpersonationRole+ Amazonka.WorkMail.CreateMobileDeviceAccessRule+ Amazonka.WorkMail.CreateOrganization+ Amazonka.WorkMail.CreateResource+ Amazonka.WorkMail.CreateUser+ Amazonka.WorkMail.DeleteAccessControlRule+ Amazonka.WorkMail.DeleteAlias+ Amazonka.WorkMail.DeleteAvailabilityConfiguration+ Amazonka.WorkMail.DeleteEmailMonitoringConfiguration+ Amazonka.WorkMail.DeleteGroup+ Amazonka.WorkMail.DeleteImpersonationRole+ Amazonka.WorkMail.DeleteMailboxPermissions+ Amazonka.WorkMail.DeleteMobileDeviceAccessOverride+ Amazonka.WorkMail.DeleteMobileDeviceAccessRule+ Amazonka.WorkMail.DeleteOrganization+ Amazonka.WorkMail.DeleteResource+ Amazonka.WorkMail.DeleteRetentionPolicy+ Amazonka.WorkMail.DeleteUser+ Amazonka.WorkMail.DeregisterFromWorkMail+ Amazonka.WorkMail.DeregisterMailDomain+ Amazonka.WorkMail.DescribeEmailMonitoringConfiguration+ Amazonka.WorkMail.DescribeGroup+ Amazonka.WorkMail.DescribeInboundDmarcSettings+ Amazonka.WorkMail.DescribeMailboxExportJob+ Amazonka.WorkMail.DescribeOrganization+ Amazonka.WorkMail.DescribeResource+ Amazonka.WorkMail.DescribeUser+ Amazonka.WorkMail.DisassociateDelegateFromResource+ Amazonka.WorkMail.DisassociateMemberFromGroup+ Amazonka.WorkMail.GetAccessControlEffect+ Amazonka.WorkMail.GetDefaultRetentionPolicy+ Amazonka.WorkMail.GetImpersonationRole+ Amazonka.WorkMail.GetImpersonationRoleEffect+ Amazonka.WorkMail.GetMailboxDetails+ Amazonka.WorkMail.GetMailDomain+ Amazonka.WorkMail.GetMobileDeviceAccessEffect+ Amazonka.WorkMail.GetMobileDeviceAccessOverride+ Amazonka.WorkMail.Lens+ Amazonka.WorkMail.ListAccessControlRules+ Amazonka.WorkMail.ListAliases+ Amazonka.WorkMail.ListAvailabilityConfigurations+ Amazonka.WorkMail.ListGroupMembers+ Amazonka.WorkMail.ListGroups+ Amazonka.WorkMail.ListImpersonationRoles+ Amazonka.WorkMail.ListMailboxExportJobs+ Amazonka.WorkMail.ListMailboxPermissions+ Amazonka.WorkMail.ListMailDomains+ Amazonka.WorkMail.ListMobileDeviceAccessOverrides+ Amazonka.WorkMail.ListMobileDeviceAccessRules+ Amazonka.WorkMail.ListOrganizations+ Amazonka.WorkMail.ListResourceDelegates+ Amazonka.WorkMail.ListResources+ Amazonka.WorkMail.ListTagsForResource+ Amazonka.WorkMail.ListUsers+ Amazonka.WorkMail.PutAccessControlRule+ Amazonka.WorkMail.PutEmailMonitoringConfiguration+ Amazonka.WorkMail.PutInboundDmarcSettings+ Amazonka.WorkMail.PutMailboxPermissions+ Amazonka.WorkMail.PutMobileDeviceAccessOverride+ Amazonka.WorkMail.PutRetentionPolicy+ Amazonka.WorkMail.RegisterMailDomain+ Amazonka.WorkMail.RegisterToWorkMail+ Amazonka.WorkMail.ResetPassword+ Amazonka.WorkMail.StartMailboxExportJob+ Amazonka.WorkMail.TagResource+ Amazonka.WorkMail.TestAvailabilityConfiguration+ Amazonka.WorkMail.Types+ Amazonka.WorkMail.Types.AccessControlRule+ Amazonka.WorkMail.Types.AccessControlRuleEffect+ Amazonka.WorkMail.Types.AccessEffect+ Amazonka.WorkMail.Types.AvailabilityConfiguration+ Amazonka.WorkMail.Types.AvailabilityProviderType+ Amazonka.WorkMail.Types.BookingOptions+ Amazonka.WorkMail.Types.Delegate+ Amazonka.WorkMail.Types.DnsRecord+ Amazonka.WorkMail.Types.DnsRecordVerificationStatus+ Amazonka.WorkMail.Types.Domain+ Amazonka.WorkMail.Types.EntityState+ Amazonka.WorkMail.Types.EwsAvailabilityProvider+ Amazonka.WorkMail.Types.FolderConfiguration+ Amazonka.WorkMail.Types.FolderName+ Amazonka.WorkMail.Types.Group+ Amazonka.WorkMail.Types.ImpersonationMatchedRule+ Amazonka.WorkMail.Types.ImpersonationRole+ Amazonka.WorkMail.Types.ImpersonationRoleType+ Amazonka.WorkMail.Types.ImpersonationRule+ Amazonka.WorkMail.Types.LambdaAvailabilityProvider+ Amazonka.WorkMail.Types.MailboxExportJob+ Amazonka.WorkMail.Types.MailboxExportJobState+ Amazonka.WorkMail.Types.MailDomainSummary+ Amazonka.WorkMail.Types.Member+ Amazonka.WorkMail.Types.MemberType+ Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule+ Amazonka.WorkMail.Types.MobileDeviceAccessOverride+ Amazonka.WorkMail.Types.MobileDeviceAccessRule+ Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect+ Amazonka.WorkMail.Types.OrganizationSummary+ Amazonka.WorkMail.Types.Permission+ Amazonka.WorkMail.Types.PermissionType+ Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider+ Amazonka.WorkMail.Types.Resource+ Amazonka.WorkMail.Types.ResourceType+ Amazonka.WorkMail.Types.RetentionAction+ Amazonka.WorkMail.Types.Tag+ Amazonka.WorkMail.Types.User+ Amazonka.WorkMail.Types.UserRole+ Amazonka.WorkMail.UntagResource+ Amazonka.WorkMail.UpdateAvailabilityConfiguration+ Amazonka.WorkMail.UpdateDefaultMailDomain+ Amazonka.WorkMail.UpdateImpersonationRole+ Amazonka.WorkMail.UpdateMailboxQuota+ Amazonka.WorkMail.UpdateMobileDeviceAccessRule+ Amazonka.WorkMail.UpdatePrimaryEmailAddress+ Amazonka.WorkMail.UpdateResource+ Amazonka.WorkMail.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-workmail-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.WorkMail- , Test.AWS.Gen.WorkMail- , Test.AWS.WorkMail.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.Gen.WorkMail+ Test.Amazonka.WorkMail+ Test.Amazonka.WorkMail.Internal - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-workmail- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , amazonka-test >=2.0 && <2.1+ , amazonka-workmail+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
+ fixture/AssumeImpersonationRole.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/AssumeImpersonationRoleResponse.proto view
+ fixture/CancelMailboxExportJob.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CancelMailboxExportJobResponse.proto view
+ fixture/CreateAvailabilityConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateAvailabilityConfigurationResponse.proto view
+ fixture/CreateImpersonationRole.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateImpersonationRoleResponse.proto view
+ fixture/CreateMobileDeviceAccessRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateMobileDeviceAccessRuleResponse.proto view
+ fixture/CreateOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateOrganizationResponse.proto view
+ fixture/DeleteAccessControlRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteAccessControlRuleResponse.proto view
+ fixture/DeleteAvailabilityConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteAvailabilityConfigurationResponse.proto view
+ fixture/DeleteEmailMonitoringConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteEmailMonitoringConfigurationResponse.proto view
+ fixture/DeleteImpersonationRole.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteImpersonationRoleResponse.proto view
+ fixture/DeleteMobileDeviceAccessOverride.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteMobileDeviceAccessOverrideResponse.proto view
+ fixture/DeleteMobileDeviceAccessRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteMobileDeviceAccessRuleResponse.proto view
+ fixture/DeleteOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteOrganizationResponse.proto view
+ fixture/DeleteRetentionPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteRetentionPolicyResponse.proto view
+ fixture/DeregisterMailDomain.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeregisterMailDomainResponse.proto view
+ fixture/DescribeEmailMonitoringConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeEmailMonitoringConfigurationResponse.proto view
+ fixture/DescribeInboundDmarcSettings.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeInboundDmarcSettingsResponse.proto view
+ fixture/DescribeMailboxExportJob.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeMailboxExportJobResponse.proto view
+ fixture/GetAccessControlEffect.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetAccessControlEffectResponse.proto view
+ fixture/GetDefaultRetentionPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetDefaultRetentionPolicyResponse.proto view
+ fixture/GetImpersonationRole.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetImpersonationRoleEffect.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetImpersonationRoleEffectResponse.proto view
+ fixture/GetImpersonationRoleResponse.proto view
+ fixture/GetMailDomain.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetMailDomainResponse.proto view
+ fixture/GetMailboxDetails.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetMailboxDetailsResponse.proto view
+ fixture/GetMobileDeviceAccessEffect.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetMobileDeviceAccessEffectResponse.proto view
+ fixture/GetMobileDeviceAccessOverride.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetMobileDeviceAccessOverrideResponse.proto view
+ fixture/ListAccessControlRules.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListAccessControlRulesResponse.proto view
+ fixture/ListAvailabilityConfigurations.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListAvailabilityConfigurationsResponse.proto view
+ fixture/ListImpersonationRoles.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListImpersonationRolesResponse.proto view
+ fixture/ListMailDomains.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListMailDomainsResponse.proto view
+ fixture/ListMailboxExportJobs.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListMailboxExportJobsResponse.proto view
+ fixture/ListMobileDeviceAccessOverrides.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListMobileDeviceAccessOverridesResponse.proto view
+ fixture/ListMobileDeviceAccessRules.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListMobileDeviceAccessRulesResponse.proto view
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResourceResponse.proto view
+ fixture/PutAccessControlRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutAccessControlRuleResponse.proto view
+ fixture/PutEmailMonitoringConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutEmailMonitoringConfigurationResponse.proto view
+ fixture/PutInboundDmarcSettings.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutInboundDmarcSettingsResponse.proto view
+ fixture/PutMobileDeviceAccessOverride.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutMobileDeviceAccessOverrideResponse.proto view
+ fixture/PutRetentionPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutRetentionPolicyResponse.proto view
+ fixture/RegisterMailDomain.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/RegisterMailDomainResponse.proto view
+ fixture/StartMailboxExportJob.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/StartMailboxExportJobResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TagResourceResponse.proto view
+ fixture/TestAvailabilityConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TestAvailabilityConfigurationResponse.proto view
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResourceResponse.proto view
+ fixture/UpdateAvailabilityConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateAvailabilityConfigurationResponse.proto view
+ fixture/UpdateDefaultMailDomain.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateDefaultMailDomainResponse.proto view
+ fixture/UpdateImpersonationRole.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateImpersonationRoleResponse.proto view
+ fixture/UpdateMailboxQuota.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateMailboxQuotaResponse.proto view
+ fixture/UpdateMobileDeviceAccessRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/workmail/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: workmail.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateMobileDeviceAccessRuleResponse.proto view
+ gen/Amazonka/WorkMail.hs view
@@ -0,0 +1,857 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.WorkMail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2017-10-01@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- 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.+module Amazonka.WorkMail+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** DirectoryInUseException+ _DirectoryInUseException,++ -- ** DirectoryServiceAuthenticationFailedException+ _DirectoryServiceAuthenticationFailedException,++ -- ** DirectoryUnavailableException+ _DirectoryUnavailableException,++ -- ** EmailAddressInUseException+ _EmailAddressInUseException,++ -- ** EntityAlreadyRegisteredException+ _EntityAlreadyRegisteredException,++ -- ** EntityNotFoundException+ _EntityNotFoundException,++ -- ** EntityStateException+ _EntityStateException,++ -- ** InvalidConfigurationException+ _InvalidConfigurationException,++ -- ** InvalidCustomSesConfigurationException+ _InvalidCustomSesConfigurationException,++ -- ** InvalidParameterException+ _InvalidParameterException,++ -- ** InvalidPasswordException+ _InvalidPasswordException,++ -- ** LimitExceededException+ _LimitExceededException,++ -- ** MailDomainInUseException+ _MailDomainInUseException,++ -- ** MailDomainNotFoundException+ _MailDomainNotFoundException,++ -- ** MailDomainStateException+ _MailDomainStateException,++ -- ** NameAvailabilityException+ _NameAvailabilityException,++ -- ** OrganizationNotFoundException+ _OrganizationNotFoundException,++ -- ** OrganizationStateException+ _OrganizationStateException,++ -- ** ReservedNameException+ _ReservedNameException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- ** TooManyTagsException+ _TooManyTagsException,++ -- ** UnsupportedOperationException+ _UnsupportedOperationException,++ -- * Waiters+ -- $waiters++ -- * Operations+ -- $operations++ -- ** AssociateDelegateToResource+ AssociateDelegateToResource (AssociateDelegateToResource'),+ newAssociateDelegateToResource,+ AssociateDelegateToResourceResponse (AssociateDelegateToResourceResponse'),+ newAssociateDelegateToResourceResponse,++ -- ** AssociateMemberToGroup+ AssociateMemberToGroup (AssociateMemberToGroup'),+ newAssociateMemberToGroup,+ AssociateMemberToGroupResponse (AssociateMemberToGroupResponse'),+ newAssociateMemberToGroupResponse,++ -- ** AssumeImpersonationRole+ AssumeImpersonationRole (AssumeImpersonationRole'),+ newAssumeImpersonationRole,+ AssumeImpersonationRoleResponse (AssumeImpersonationRoleResponse'),+ newAssumeImpersonationRoleResponse,++ -- ** CancelMailboxExportJob+ CancelMailboxExportJob (CancelMailboxExportJob'),+ newCancelMailboxExportJob,+ CancelMailboxExportJobResponse (CancelMailboxExportJobResponse'),+ newCancelMailboxExportJobResponse,++ -- ** CreateAlias+ CreateAlias (CreateAlias'),+ newCreateAlias,+ CreateAliasResponse (CreateAliasResponse'),+ newCreateAliasResponse,++ -- ** CreateAvailabilityConfiguration+ CreateAvailabilityConfiguration (CreateAvailabilityConfiguration'),+ newCreateAvailabilityConfiguration,+ CreateAvailabilityConfigurationResponse (CreateAvailabilityConfigurationResponse'),+ newCreateAvailabilityConfigurationResponse,++ -- ** CreateGroup+ CreateGroup (CreateGroup'),+ newCreateGroup,+ CreateGroupResponse (CreateGroupResponse'),+ newCreateGroupResponse,++ -- ** CreateImpersonationRole+ CreateImpersonationRole (CreateImpersonationRole'),+ newCreateImpersonationRole,+ CreateImpersonationRoleResponse (CreateImpersonationRoleResponse'),+ newCreateImpersonationRoleResponse,++ -- ** CreateMobileDeviceAccessRule+ CreateMobileDeviceAccessRule (CreateMobileDeviceAccessRule'),+ newCreateMobileDeviceAccessRule,+ CreateMobileDeviceAccessRuleResponse (CreateMobileDeviceAccessRuleResponse'),+ newCreateMobileDeviceAccessRuleResponse,++ -- ** CreateOrganization+ CreateOrganization (CreateOrganization'),+ newCreateOrganization,+ CreateOrganizationResponse (CreateOrganizationResponse'),+ newCreateOrganizationResponse,++ -- ** CreateResource+ CreateResource (CreateResource'),+ newCreateResource,+ CreateResourceResponse (CreateResourceResponse'),+ newCreateResourceResponse,++ -- ** CreateUser+ CreateUser (CreateUser'),+ newCreateUser,+ CreateUserResponse (CreateUserResponse'),+ newCreateUserResponse,++ -- ** DeleteAccessControlRule+ DeleteAccessControlRule (DeleteAccessControlRule'),+ newDeleteAccessControlRule,+ DeleteAccessControlRuleResponse (DeleteAccessControlRuleResponse'),+ newDeleteAccessControlRuleResponse,++ -- ** DeleteAlias+ DeleteAlias (DeleteAlias'),+ newDeleteAlias,+ DeleteAliasResponse (DeleteAliasResponse'),+ newDeleteAliasResponse,++ -- ** DeleteAvailabilityConfiguration+ DeleteAvailabilityConfiguration (DeleteAvailabilityConfiguration'),+ newDeleteAvailabilityConfiguration,+ DeleteAvailabilityConfigurationResponse (DeleteAvailabilityConfigurationResponse'),+ newDeleteAvailabilityConfigurationResponse,++ -- ** DeleteEmailMonitoringConfiguration+ DeleteEmailMonitoringConfiguration (DeleteEmailMonitoringConfiguration'),+ newDeleteEmailMonitoringConfiguration,+ DeleteEmailMonitoringConfigurationResponse (DeleteEmailMonitoringConfigurationResponse'),+ newDeleteEmailMonitoringConfigurationResponse,++ -- ** DeleteGroup+ DeleteGroup (DeleteGroup'),+ newDeleteGroup,+ DeleteGroupResponse (DeleteGroupResponse'),+ newDeleteGroupResponse,++ -- ** DeleteImpersonationRole+ DeleteImpersonationRole (DeleteImpersonationRole'),+ newDeleteImpersonationRole,+ DeleteImpersonationRoleResponse (DeleteImpersonationRoleResponse'),+ newDeleteImpersonationRoleResponse,++ -- ** DeleteMailboxPermissions+ DeleteMailboxPermissions (DeleteMailboxPermissions'),+ newDeleteMailboxPermissions,+ DeleteMailboxPermissionsResponse (DeleteMailboxPermissionsResponse'),+ newDeleteMailboxPermissionsResponse,++ -- ** DeleteMobileDeviceAccessOverride+ DeleteMobileDeviceAccessOverride (DeleteMobileDeviceAccessOverride'),+ newDeleteMobileDeviceAccessOverride,+ DeleteMobileDeviceAccessOverrideResponse (DeleteMobileDeviceAccessOverrideResponse'),+ newDeleteMobileDeviceAccessOverrideResponse,++ -- ** DeleteMobileDeviceAccessRule+ DeleteMobileDeviceAccessRule (DeleteMobileDeviceAccessRule'),+ newDeleteMobileDeviceAccessRule,+ DeleteMobileDeviceAccessRuleResponse (DeleteMobileDeviceAccessRuleResponse'),+ newDeleteMobileDeviceAccessRuleResponse,++ -- ** DeleteOrganization+ DeleteOrganization (DeleteOrganization'),+ newDeleteOrganization,+ DeleteOrganizationResponse (DeleteOrganizationResponse'),+ newDeleteOrganizationResponse,++ -- ** DeleteResource+ DeleteResource (DeleteResource'),+ newDeleteResource,+ DeleteResourceResponse (DeleteResourceResponse'),+ newDeleteResourceResponse,++ -- ** DeleteRetentionPolicy+ DeleteRetentionPolicy (DeleteRetentionPolicy'),+ newDeleteRetentionPolicy,+ DeleteRetentionPolicyResponse (DeleteRetentionPolicyResponse'),+ newDeleteRetentionPolicyResponse,++ -- ** DeleteUser+ DeleteUser (DeleteUser'),+ newDeleteUser,+ DeleteUserResponse (DeleteUserResponse'),+ newDeleteUserResponse,++ -- ** DeregisterFromWorkMail+ DeregisterFromWorkMail (DeregisterFromWorkMail'),+ newDeregisterFromWorkMail,+ DeregisterFromWorkMailResponse (DeregisterFromWorkMailResponse'),+ newDeregisterFromWorkMailResponse,++ -- ** DeregisterMailDomain+ DeregisterMailDomain (DeregisterMailDomain'),+ newDeregisterMailDomain,+ DeregisterMailDomainResponse (DeregisterMailDomainResponse'),+ newDeregisterMailDomainResponse,++ -- ** DescribeEmailMonitoringConfiguration+ DescribeEmailMonitoringConfiguration (DescribeEmailMonitoringConfiguration'),+ newDescribeEmailMonitoringConfiguration,+ DescribeEmailMonitoringConfigurationResponse (DescribeEmailMonitoringConfigurationResponse'),+ newDescribeEmailMonitoringConfigurationResponse,++ -- ** DescribeGroup+ DescribeGroup (DescribeGroup'),+ newDescribeGroup,+ DescribeGroupResponse (DescribeGroupResponse'),+ newDescribeGroupResponse,++ -- ** DescribeInboundDmarcSettings+ DescribeInboundDmarcSettings (DescribeInboundDmarcSettings'),+ newDescribeInboundDmarcSettings,+ DescribeInboundDmarcSettingsResponse (DescribeInboundDmarcSettingsResponse'),+ newDescribeInboundDmarcSettingsResponse,++ -- ** DescribeMailboxExportJob+ DescribeMailboxExportJob (DescribeMailboxExportJob'),+ newDescribeMailboxExportJob,+ DescribeMailboxExportJobResponse (DescribeMailboxExportJobResponse'),+ newDescribeMailboxExportJobResponse,++ -- ** DescribeOrganization+ DescribeOrganization (DescribeOrganization'),+ newDescribeOrganization,+ DescribeOrganizationResponse (DescribeOrganizationResponse'),+ newDescribeOrganizationResponse,++ -- ** DescribeResource+ DescribeResource (DescribeResource'),+ newDescribeResource,+ DescribeResourceResponse (DescribeResourceResponse'),+ newDescribeResourceResponse,++ -- ** DescribeUser+ DescribeUser (DescribeUser'),+ newDescribeUser,+ DescribeUserResponse (DescribeUserResponse'),+ newDescribeUserResponse,++ -- ** DisassociateDelegateFromResource+ DisassociateDelegateFromResource (DisassociateDelegateFromResource'),+ newDisassociateDelegateFromResource,+ DisassociateDelegateFromResourceResponse (DisassociateDelegateFromResourceResponse'),+ newDisassociateDelegateFromResourceResponse,++ -- ** DisassociateMemberFromGroup+ DisassociateMemberFromGroup (DisassociateMemberFromGroup'),+ newDisassociateMemberFromGroup,+ DisassociateMemberFromGroupResponse (DisassociateMemberFromGroupResponse'),+ newDisassociateMemberFromGroupResponse,++ -- ** GetAccessControlEffect+ GetAccessControlEffect (GetAccessControlEffect'),+ newGetAccessControlEffect,+ GetAccessControlEffectResponse (GetAccessControlEffectResponse'),+ newGetAccessControlEffectResponse,++ -- ** GetDefaultRetentionPolicy+ GetDefaultRetentionPolicy (GetDefaultRetentionPolicy'),+ newGetDefaultRetentionPolicy,+ GetDefaultRetentionPolicyResponse (GetDefaultRetentionPolicyResponse'),+ newGetDefaultRetentionPolicyResponse,++ -- ** GetImpersonationRole+ GetImpersonationRole (GetImpersonationRole'),+ newGetImpersonationRole,+ GetImpersonationRoleResponse (GetImpersonationRoleResponse'),+ newGetImpersonationRoleResponse,++ -- ** GetImpersonationRoleEffect+ GetImpersonationRoleEffect (GetImpersonationRoleEffect'),+ newGetImpersonationRoleEffect,+ GetImpersonationRoleEffectResponse (GetImpersonationRoleEffectResponse'),+ newGetImpersonationRoleEffectResponse,++ -- ** GetMailDomain+ GetMailDomain (GetMailDomain'),+ newGetMailDomain,+ GetMailDomainResponse (GetMailDomainResponse'),+ newGetMailDomainResponse,++ -- ** GetMailboxDetails+ GetMailboxDetails (GetMailboxDetails'),+ newGetMailboxDetails,+ GetMailboxDetailsResponse (GetMailboxDetailsResponse'),+ newGetMailboxDetailsResponse,++ -- ** GetMobileDeviceAccessEffect+ GetMobileDeviceAccessEffect (GetMobileDeviceAccessEffect'),+ newGetMobileDeviceAccessEffect,+ GetMobileDeviceAccessEffectResponse (GetMobileDeviceAccessEffectResponse'),+ newGetMobileDeviceAccessEffectResponse,++ -- ** GetMobileDeviceAccessOverride+ GetMobileDeviceAccessOverride (GetMobileDeviceAccessOverride'),+ newGetMobileDeviceAccessOverride,+ GetMobileDeviceAccessOverrideResponse (GetMobileDeviceAccessOverrideResponse'),+ newGetMobileDeviceAccessOverrideResponse,++ -- ** ListAccessControlRules+ ListAccessControlRules (ListAccessControlRules'),+ newListAccessControlRules,+ ListAccessControlRulesResponse (ListAccessControlRulesResponse'),+ newListAccessControlRulesResponse,++ -- ** ListAliases (Paginated)+ ListAliases (ListAliases'),+ newListAliases,+ ListAliasesResponse (ListAliasesResponse'),+ newListAliasesResponse,++ -- ** ListAvailabilityConfigurations (Paginated)+ ListAvailabilityConfigurations (ListAvailabilityConfigurations'),+ newListAvailabilityConfigurations,+ ListAvailabilityConfigurationsResponse (ListAvailabilityConfigurationsResponse'),+ newListAvailabilityConfigurationsResponse,++ -- ** ListGroupMembers (Paginated)+ ListGroupMembers (ListGroupMembers'),+ newListGroupMembers,+ ListGroupMembersResponse (ListGroupMembersResponse'),+ newListGroupMembersResponse,++ -- ** ListGroups (Paginated)+ ListGroups (ListGroups'),+ newListGroups,+ ListGroupsResponse (ListGroupsResponse'),+ newListGroupsResponse,++ -- ** ListImpersonationRoles+ ListImpersonationRoles (ListImpersonationRoles'),+ newListImpersonationRoles,+ ListImpersonationRolesResponse (ListImpersonationRolesResponse'),+ newListImpersonationRolesResponse,++ -- ** ListMailDomains+ ListMailDomains (ListMailDomains'),+ newListMailDomains,+ ListMailDomainsResponse (ListMailDomainsResponse'),+ newListMailDomainsResponse,++ -- ** ListMailboxExportJobs+ ListMailboxExportJobs (ListMailboxExportJobs'),+ newListMailboxExportJobs,+ ListMailboxExportJobsResponse (ListMailboxExportJobsResponse'),+ newListMailboxExportJobsResponse,++ -- ** ListMailboxPermissions (Paginated)+ ListMailboxPermissions (ListMailboxPermissions'),+ newListMailboxPermissions,+ ListMailboxPermissionsResponse (ListMailboxPermissionsResponse'),+ newListMailboxPermissionsResponse,++ -- ** ListMobileDeviceAccessOverrides+ ListMobileDeviceAccessOverrides (ListMobileDeviceAccessOverrides'),+ newListMobileDeviceAccessOverrides,+ ListMobileDeviceAccessOverridesResponse (ListMobileDeviceAccessOverridesResponse'),+ newListMobileDeviceAccessOverridesResponse,++ -- ** ListMobileDeviceAccessRules+ ListMobileDeviceAccessRules (ListMobileDeviceAccessRules'),+ newListMobileDeviceAccessRules,+ ListMobileDeviceAccessRulesResponse (ListMobileDeviceAccessRulesResponse'),+ newListMobileDeviceAccessRulesResponse,++ -- ** ListOrganizations (Paginated)+ ListOrganizations (ListOrganizations'),+ newListOrganizations,+ ListOrganizationsResponse (ListOrganizationsResponse'),+ newListOrganizationsResponse,++ -- ** ListResourceDelegates (Paginated)+ ListResourceDelegates (ListResourceDelegates'),+ newListResourceDelegates,+ ListResourceDelegatesResponse (ListResourceDelegatesResponse'),+ newListResourceDelegatesResponse,++ -- ** ListResources (Paginated)+ ListResources (ListResources'),+ newListResources,+ ListResourcesResponse (ListResourcesResponse'),+ newListResourcesResponse,++ -- ** ListTagsForResource+ ListTagsForResource (ListTagsForResource'),+ newListTagsForResource,+ ListTagsForResourceResponse (ListTagsForResourceResponse'),+ newListTagsForResourceResponse,++ -- ** ListUsers (Paginated)+ ListUsers (ListUsers'),+ newListUsers,+ ListUsersResponse (ListUsersResponse'),+ newListUsersResponse,++ -- ** PutAccessControlRule+ PutAccessControlRule (PutAccessControlRule'),+ newPutAccessControlRule,+ PutAccessControlRuleResponse (PutAccessControlRuleResponse'),+ newPutAccessControlRuleResponse,++ -- ** PutEmailMonitoringConfiguration+ PutEmailMonitoringConfiguration (PutEmailMonitoringConfiguration'),+ newPutEmailMonitoringConfiguration,+ PutEmailMonitoringConfigurationResponse (PutEmailMonitoringConfigurationResponse'),+ newPutEmailMonitoringConfigurationResponse,++ -- ** PutInboundDmarcSettings+ PutInboundDmarcSettings (PutInboundDmarcSettings'),+ newPutInboundDmarcSettings,+ PutInboundDmarcSettingsResponse (PutInboundDmarcSettingsResponse'),+ newPutInboundDmarcSettingsResponse,++ -- ** PutMailboxPermissions+ PutMailboxPermissions (PutMailboxPermissions'),+ newPutMailboxPermissions,+ PutMailboxPermissionsResponse (PutMailboxPermissionsResponse'),+ newPutMailboxPermissionsResponse,++ -- ** PutMobileDeviceAccessOverride+ PutMobileDeviceAccessOverride (PutMobileDeviceAccessOverride'),+ newPutMobileDeviceAccessOverride,+ PutMobileDeviceAccessOverrideResponse (PutMobileDeviceAccessOverrideResponse'),+ newPutMobileDeviceAccessOverrideResponse,++ -- ** PutRetentionPolicy+ PutRetentionPolicy (PutRetentionPolicy'),+ newPutRetentionPolicy,+ PutRetentionPolicyResponse (PutRetentionPolicyResponse'),+ newPutRetentionPolicyResponse,++ -- ** RegisterMailDomain+ RegisterMailDomain (RegisterMailDomain'),+ newRegisterMailDomain,+ RegisterMailDomainResponse (RegisterMailDomainResponse'),+ newRegisterMailDomainResponse,++ -- ** RegisterToWorkMail+ RegisterToWorkMail (RegisterToWorkMail'),+ newRegisterToWorkMail,+ RegisterToWorkMailResponse (RegisterToWorkMailResponse'),+ newRegisterToWorkMailResponse,++ -- ** ResetPassword+ ResetPassword (ResetPassword'),+ newResetPassword,+ ResetPasswordResponse (ResetPasswordResponse'),+ newResetPasswordResponse,++ -- ** StartMailboxExportJob+ StartMailboxExportJob (StartMailboxExportJob'),+ newStartMailboxExportJob,+ StartMailboxExportJobResponse (StartMailboxExportJobResponse'),+ newStartMailboxExportJobResponse,++ -- ** TagResource+ TagResource (TagResource'),+ newTagResource,+ TagResourceResponse (TagResourceResponse'),+ newTagResourceResponse,++ -- ** TestAvailabilityConfiguration+ TestAvailabilityConfiguration (TestAvailabilityConfiguration'),+ newTestAvailabilityConfiguration,+ TestAvailabilityConfigurationResponse (TestAvailabilityConfigurationResponse'),+ newTestAvailabilityConfigurationResponse,++ -- ** UntagResource+ UntagResource (UntagResource'),+ newUntagResource,+ UntagResourceResponse (UntagResourceResponse'),+ newUntagResourceResponse,++ -- ** UpdateAvailabilityConfiguration+ UpdateAvailabilityConfiguration (UpdateAvailabilityConfiguration'),+ newUpdateAvailabilityConfiguration,+ UpdateAvailabilityConfigurationResponse (UpdateAvailabilityConfigurationResponse'),+ newUpdateAvailabilityConfigurationResponse,++ -- ** UpdateDefaultMailDomain+ UpdateDefaultMailDomain (UpdateDefaultMailDomain'),+ newUpdateDefaultMailDomain,+ UpdateDefaultMailDomainResponse (UpdateDefaultMailDomainResponse'),+ newUpdateDefaultMailDomainResponse,++ -- ** UpdateImpersonationRole+ UpdateImpersonationRole (UpdateImpersonationRole'),+ newUpdateImpersonationRole,+ UpdateImpersonationRoleResponse (UpdateImpersonationRoleResponse'),+ newUpdateImpersonationRoleResponse,++ -- ** UpdateMailboxQuota+ UpdateMailboxQuota (UpdateMailboxQuota'),+ newUpdateMailboxQuota,+ UpdateMailboxQuotaResponse (UpdateMailboxQuotaResponse'),+ newUpdateMailboxQuotaResponse,++ -- ** UpdateMobileDeviceAccessRule+ UpdateMobileDeviceAccessRule (UpdateMobileDeviceAccessRule'),+ newUpdateMobileDeviceAccessRule,+ UpdateMobileDeviceAccessRuleResponse (UpdateMobileDeviceAccessRuleResponse'),+ newUpdateMobileDeviceAccessRuleResponse,++ -- ** UpdatePrimaryEmailAddress+ UpdatePrimaryEmailAddress (UpdatePrimaryEmailAddress'),+ newUpdatePrimaryEmailAddress,+ UpdatePrimaryEmailAddressResponse (UpdatePrimaryEmailAddressResponse'),+ newUpdatePrimaryEmailAddressResponse,++ -- ** UpdateResource+ UpdateResource (UpdateResource'),+ newUpdateResource,+ UpdateResourceResponse (UpdateResourceResponse'),+ newUpdateResourceResponse,++ -- * Types++ -- ** AccessControlRuleEffect+ AccessControlRuleEffect (..),++ -- ** AccessEffect+ AccessEffect (..),++ -- ** AvailabilityProviderType+ AvailabilityProviderType (..),++ -- ** DnsRecordVerificationStatus+ DnsRecordVerificationStatus (..),++ -- ** EntityState+ EntityState (..),++ -- ** FolderName+ FolderName (..),++ -- ** ImpersonationRoleType+ ImpersonationRoleType (..),++ -- ** MailboxExportJobState+ MailboxExportJobState (..),++ -- ** MemberType+ MemberType (..),++ -- ** MobileDeviceAccessRuleEffect+ MobileDeviceAccessRuleEffect (..),++ -- ** PermissionType+ PermissionType (..),++ -- ** ResourceType+ ResourceType (..),++ -- ** RetentionAction+ RetentionAction (..),++ -- ** UserRole+ UserRole (..),++ -- ** AccessControlRule+ AccessControlRule (AccessControlRule'),+ newAccessControlRule,++ -- ** AvailabilityConfiguration+ AvailabilityConfiguration (AvailabilityConfiguration'),+ newAvailabilityConfiguration,++ -- ** BookingOptions+ BookingOptions (BookingOptions'),+ newBookingOptions,++ -- ** Delegate+ Delegate (Delegate'),+ newDelegate,++ -- ** DnsRecord+ DnsRecord (DnsRecord'),+ newDnsRecord,++ -- ** Domain+ Domain (Domain'),+ newDomain,++ -- ** EwsAvailabilityProvider+ EwsAvailabilityProvider (EwsAvailabilityProvider'),+ newEwsAvailabilityProvider,++ -- ** FolderConfiguration+ FolderConfiguration (FolderConfiguration'),+ newFolderConfiguration,++ -- ** Group+ Group (Group'),+ newGroup,++ -- ** ImpersonationMatchedRule+ ImpersonationMatchedRule (ImpersonationMatchedRule'),+ newImpersonationMatchedRule,++ -- ** ImpersonationRole+ ImpersonationRole (ImpersonationRole'),+ newImpersonationRole,++ -- ** ImpersonationRule+ ImpersonationRule (ImpersonationRule'),+ newImpersonationRule,++ -- ** LambdaAvailabilityProvider+ LambdaAvailabilityProvider (LambdaAvailabilityProvider'),+ newLambdaAvailabilityProvider,++ -- ** MailDomainSummary+ MailDomainSummary (MailDomainSummary'),+ newMailDomainSummary,++ -- ** MailboxExportJob+ MailboxExportJob (MailboxExportJob'),+ newMailboxExportJob,++ -- ** Member+ Member (Member'),+ newMember,++ -- ** MobileDeviceAccessMatchedRule+ MobileDeviceAccessMatchedRule (MobileDeviceAccessMatchedRule'),+ newMobileDeviceAccessMatchedRule,++ -- ** MobileDeviceAccessOverride+ MobileDeviceAccessOverride (MobileDeviceAccessOverride'),+ newMobileDeviceAccessOverride,++ -- ** MobileDeviceAccessRule+ MobileDeviceAccessRule (MobileDeviceAccessRule'),+ newMobileDeviceAccessRule,++ -- ** OrganizationSummary+ OrganizationSummary (OrganizationSummary'),+ newOrganizationSummary,++ -- ** Permission+ Permission (Permission'),+ newPermission,++ -- ** RedactedEwsAvailabilityProvider+ RedactedEwsAvailabilityProvider (RedactedEwsAvailabilityProvider'),+ newRedactedEwsAvailabilityProvider,++ -- ** Resource+ Resource (Resource'),+ newResource,++ -- ** Tag+ Tag (Tag'),+ newTag,++ -- ** User+ User (User'),+ newUser,+ )+where++import Amazonka.WorkMail.AssociateDelegateToResource+import Amazonka.WorkMail.AssociateMemberToGroup+import Amazonka.WorkMail.AssumeImpersonationRole+import Amazonka.WorkMail.CancelMailboxExportJob+import Amazonka.WorkMail.CreateAlias+import Amazonka.WorkMail.CreateAvailabilityConfiguration+import Amazonka.WorkMail.CreateGroup+import Amazonka.WorkMail.CreateImpersonationRole+import Amazonka.WorkMail.CreateMobileDeviceAccessRule+import Amazonka.WorkMail.CreateOrganization+import Amazonka.WorkMail.CreateResource+import Amazonka.WorkMail.CreateUser+import Amazonka.WorkMail.DeleteAccessControlRule+import Amazonka.WorkMail.DeleteAlias+import Amazonka.WorkMail.DeleteAvailabilityConfiguration+import Amazonka.WorkMail.DeleteEmailMonitoringConfiguration+import Amazonka.WorkMail.DeleteGroup+import Amazonka.WorkMail.DeleteImpersonationRole+import Amazonka.WorkMail.DeleteMailboxPermissions+import Amazonka.WorkMail.DeleteMobileDeviceAccessOverride+import Amazonka.WorkMail.DeleteMobileDeviceAccessRule+import Amazonka.WorkMail.DeleteOrganization+import Amazonka.WorkMail.DeleteResource+import Amazonka.WorkMail.DeleteRetentionPolicy+import Amazonka.WorkMail.DeleteUser+import Amazonka.WorkMail.DeregisterFromWorkMail+import Amazonka.WorkMail.DeregisterMailDomain+import Amazonka.WorkMail.DescribeEmailMonitoringConfiguration+import Amazonka.WorkMail.DescribeGroup+import Amazonka.WorkMail.DescribeInboundDmarcSettings+import Amazonka.WorkMail.DescribeMailboxExportJob+import Amazonka.WorkMail.DescribeOrganization+import Amazonka.WorkMail.DescribeResource+import Amazonka.WorkMail.DescribeUser+import Amazonka.WorkMail.DisassociateDelegateFromResource+import Amazonka.WorkMail.DisassociateMemberFromGroup+import Amazonka.WorkMail.GetAccessControlEffect+import Amazonka.WorkMail.GetDefaultRetentionPolicy+import Amazonka.WorkMail.GetImpersonationRole+import Amazonka.WorkMail.GetImpersonationRoleEffect+import Amazonka.WorkMail.GetMailDomain+import Amazonka.WorkMail.GetMailboxDetails+import Amazonka.WorkMail.GetMobileDeviceAccessEffect+import Amazonka.WorkMail.GetMobileDeviceAccessOverride+import Amazonka.WorkMail.Lens+import Amazonka.WorkMail.ListAccessControlRules+import Amazonka.WorkMail.ListAliases+import Amazonka.WorkMail.ListAvailabilityConfigurations+import Amazonka.WorkMail.ListGroupMembers+import Amazonka.WorkMail.ListGroups+import Amazonka.WorkMail.ListImpersonationRoles+import Amazonka.WorkMail.ListMailDomains+import Amazonka.WorkMail.ListMailboxExportJobs+import Amazonka.WorkMail.ListMailboxPermissions+import Amazonka.WorkMail.ListMobileDeviceAccessOverrides+import Amazonka.WorkMail.ListMobileDeviceAccessRules+import Amazonka.WorkMail.ListOrganizations+import Amazonka.WorkMail.ListResourceDelegates+import Amazonka.WorkMail.ListResources+import Amazonka.WorkMail.ListTagsForResource+import Amazonka.WorkMail.ListUsers+import Amazonka.WorkMail.PutAccessControlRule+import Amazonka.WorkMail.PutEmailMonitoringConfiguration+import Amazonka.WorkMail.PutInboundDmarcSettings+import Amazonka.WorkMail.PutMailboxPermissions+import Amazonka.WorkMail.PutMobileDeviceAccessOverride+import Amazonka.WorkMail.PutRetentionPolicy+import Amazonka.WorkMail.RegisterMailDomain+import Amazonka.WorkMail.RegisterToWorkMail+import Amazonka.WorkMail.ResetPassword+import Amazonka.WorkMail.StartMailboxExportJob+import Amazonka.WorkMail.TagResource+import Amazonka.WorkMail.TestAvailabilityConfiguration+import Amazonka.WorkMail.Types+import Amazonka.WorkMail.UntagResource+import Amazonka.WorkMail.UpdateAvailabilityConfiguration+import Amazonka.WorkMail.UpdateDefaultMailDomain+import Amazonka.WorkMail.UpdateImpersonationRole+import Amazonka.WorkMail.UpdateMailboxQuota+import Amazonka.WorkMail.UpdateMobileDeviceAccessRule+import Amazonka.WorkMail.UpdatePrimaryEmailAddress+import Amazonka.WorkMail.UpdateResource+import Amazonka.WorkMail.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'WorkMail'.++-- $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.++-- $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.
+ gen/Amazonka/WorkMail/AssociateDelegateToResource.hs view
@@ -0,0 +1,199 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.AssociateDelegateToResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds a member (user or group) to the resource\'s set of delegates.+module Amazonka.WorkMail.AssociateDelegateToResource+ ( -- * Creating a Request+ AssociateDelegateToResource (..),+ newAssociateDelegateToResource,++ -- * Request Lenses+ associateDelegateToResource_organizationId,+ associateDelegateToResource_resourceId,+ associateDelegateToResource_entityId,++ -- * Destructuring the Response+ AssociateDelegateToResourceResponse (..),+ newAssociateDelegateToResourceResponse,++ -- * Response Lenses+ associateDelegateToResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newAssociateDelegateToResource' smart constructor.+data AssociateDelegateToResource = AssociateDelegateToResource'+ { -- | The organization under which the resource exists.+ organizationId :: Prelude.Text,+ -- | The resource for which members (users or groups) are associated.+ resourceId :: Prelude.Text,+ -- | The member (user or group) to associate to the resource.+ entityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssociateDelegateToResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'associateDelegateToResource_organizationId' - The organization under which the resource exists.+--+-- 'resourceId', 'associateDelegateToResource_resourceId' - The resource for which members (users or groups) are associated.+--+-- 'entityId', 'associateDelegateToResource_entityId' - The member (user or group) to associate to the resource.+newAssociateDelegateToResource ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'resourceId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ AssociateDelegateToResource+newAssociateDelegateToResource+ pOrganizationId_+ pResourceId_+ pEntityId_ =+ AssociateDelegateToResource'+ { organizationId =+ pOrganizationId_,+ resourceId = pResourceId_,+ entityId = pEntityId_+ }++-- | The organization under which the resource exists.+associateDelegateToResource_organizationId :: Lens.Lens' AssociateDelegateToResource Prelude.Text+associateDelegateToResource_organizationId = Lens.lens (\AssociateDelegateToResource' {organizationId} -> organizationId) (\s@AssociateDelegateToResource' {} a -> s {organizationId = a} :: AssociateDelegateToResource)++-- | The resource for which members (users or groups) are associated.+associateDelegateToResource_resourceId :: Lens.Lens' AssociateDelegateToResource Prelude.Text+associateDelegateToResource_resourceId = Lens.lens (\AssociateDelegateToResource' {resourceId} -> resourceId) (\s@AssociateDelegateToResource' {} a -> s {resourceId = a} :: AssociateDelegateToResource)++-- | The member (user or group) to associate to the resource.+associateDelegateToResource_entityId :: Lens.Lens' AssociateDelegateToResource Prelude.Text+associateDelegateToResource_entityId = Lens.lens (\AssociateDelegateToResource' {entityId} -> entityId) (\s@AssociateDelegateToResource' {} a -> s {entityId = a} :: AssociateDelegateToResource)++instance Core.AWSRequest AssociateDelegateToResource where+ type+ AWSResponse AssociateDelegateToResource =+ AssociateDelegateToResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ AssociateDelegateToResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable AssociateDelegateToResource where+ hashWithSalt _salt AssociateDelegateToResource' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` resourceId+ `Prelude.hashWithSalt` entityId++instance Prelude.NFData AssociateDelegateToResource where+ rnf AssociateDelegateToResource' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf entityId++instance Data.ToHeaders AssociateDelegateToResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.AssociateDelegateToResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON AssociateDelegateToResource where+ toJSON AssociateDelegateToResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("ResourceId" Data..= resourceId),+ Prelude.Just ("EntityId" Data..= entityId)+ ]+ )++instance Data.ToPath AssociateDelegateToResource where+ toPath = Prelude.const "/"++instance Data.ToQuery AssociateDelegateToResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newAssociateDelegateToResourceResponse' smart constructor.+data AssociateDelegateToResourceResponse = AssociateDelegateToResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssociateDelegateToResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'associateDelegateToResourceResponse_httpStatus' - The response's http status code.+newAssociateDelegateToResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ AssociateDelegateToResourceResponse+newAssociateDelegateToResourceResponse pHttpStatus_ =+ AssociateDelegateToResourceResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+associateDelegateToResourceResponse_httpStatus :: Lens.Lens' AssociateDelegateToResourceResponse Prelude.Int+associateDelegateToResourceResponse_httpStatus = Lens.lens (\AssociateDelegateToResourceResponse' {httpStatus} -> httpStatus) (\s@AssociateDelegateToResourceResponse' {} a -> s {httpStatus = a} :: AssociateDelegateToResourceResponse)++instance+ Prelude.NFData+ AssociateDelegateToResourceResponse+ where+ rnf AssociateDelegateToResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/AssociateMemberToGroup.hs view
@@ -0,0 +1,199 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.AssociateMemberToGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds a member (user or group) to the group\'s set.+module Amazonka.WorkMail.AssociateMemberToGroup+ ( -- * Creating a Request+ AssociateMemberToGroup (..),+ newAssociateMemberToGroup,++ -- * Request Lenses+ associateMemberToGroup_organizationId,+ associateMemberToGroup_groupId,+ associateMemberToGroup_memberId,++ -- * Destructuring the Response+ AssociateMemberToGroupResponse (..),+ newAssociateMemberToGroupResponse,++ -- * Response Lenses+ associateMemberToGroupResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newAssociateMemberToGroup' smart constructor.+data AssociateMemberToGroup = AssociateMemberToGroup'+ { -- | The organization under which the group exists.+ organizationId :: Prelude.Text,+ -- | The group to which the member (user or group) is associated.+ groupId :: Prelude.Text,+ -- | The member (user or group) to associate to the group.+ memberId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssociateMemberToGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'associateMemberToGroup_organizationId' - The organization under which the group exists.+--+-- 'groupId', 'associateMemberToGroup_groupId' - The group to which the member (user or group) is associated.+--+-- 'memberId', 'associateMemberToGroup_memberId' - The member (user or group) to associate to the group.+newAssociateMemberToGroup ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'groupId'+ Prelude.Text ->+ -- | 'memberId'+ Prelude.Text ->+ AssociateMemberToGroup+newAssociateMemberToGroup+ pOrganizationId_+ pGroupId_+ pMemberId_ =+ AssociateMemberToGroup'+ { organizationId =+ pOrganizationId_,+ groupId = pGroupId_,+ memberId = pMemberId_+ }++-- | The organization under which the group exists.+associateMemberToGroup_organizationId :: Lens.Lens' AssociateMemberToGroup Prelude.Text+associateMemberToGroup_organizationId = Lens.lens (\AssociateMemberToGroup' {organizationId} -> organizationId) (\s@AssociateMemberToGroup' {} a -> s {organizationId = a} :: AssociateMemberToGroup)++-- | The group to which the member (user or group) is associated.+associateMemberToGroup_groupId :: Lens.Lens' AssociateMemberToGroup Prelude.Text+associateMemberToGroup_groupId = Lens.lens (\AssociateMemberToGroup' {groupId} -> groupId) (\s@AssociateMemberToGroup' {} a -> s {groupId = a} :: AssociateMemberToGroup)++-- | The member (user or group) to associate to the group.+associateMemberToGroup_memberId :: Lens.Lens' AssociateMemberToGroup Prelude.Text+associateMemberToGroup_memberId = Lens.lens (\AssociateMemberToGroup' {memberId} -> memberId) (\s@AssociateMemberToGroup' {} a -> s {memberId = a} :: AssociateMemberToGroup)++instance Core.AWSRequest AssociateMemberToGroup where+ type+ AWSResponse AssociateMemberToGroup =+ AssociateMemberToGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ AssociateMemberToGroupResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable AssociateMemberToGroup where+ hashWithSalt _salt AssociateMemberToGroup' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` groupId+ `Prelude.hashWithSalt` memberId++instance Prelude.NFData AssociateMemberToGroup where+ rnf AssociateMemberToGroup' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf groupId+ `Prelude.seq` Prelude.rnf memberId++instance Data.ToHeaders AssociateMemberToGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.AssociateMemberToGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON AssociateMemberToGroup where+ toJSON AssociateMemberToGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("GroupId" Data..= groupId),+ Prelude.Just ("MemberId" Data..= memberId)+ ]+ )++instance Data.ToPath AssociateMemberToGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery AssociateMemberToGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newAssociateMemberToGroupResponse' smart constructor.+data AssociateMemberToGroupResponse = AssociateMemberToGroupResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssociateMemberToGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'associateMemberToGroupResponse_httpStatus' - The response's http status code.+newAssociateMemberToGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ AssociateMemberToGroupResponse+newAssociateMemberToGroupResponse pHttpStatus_ =+ AssociateMemberToGroupResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+associateMemberToGroupResponse_httpStatus :: Lens.Lens' AssociateMemberToGroupResponse Prelude.Int+associateMemberToGroupResponse_httpStatus = Lens.lens (\AssociateMemberToGroupResponse' {httpStatus} -> httpStatus) (\s@AssociateMemberToGroupResponse' {} a -> s {httpStatus = a} :: AssociateMemberToGroupResponse)++instance+ Prelude.NFData+ AssociateMemberToGroupResponse+ where+ rnf AssociateMemberToGroupResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/AssumeImpersonationRole.hs view
@@ -0,0 +1,213 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.AssumeImpersonationRole+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Assumes an impersonation role for the given WorkMail organization. This+-- method returns an authentication token you can use to make impersonated+-- calls.+module Amazonka.WorkMail.AssumeImpersonationRole+ ( -- * Creating a Request+ AssumeImpersonationRole (..),+ newAssumeImpersonationRole,++ -- * Request Lenses+ assumeImpersonationRole_organizationId,+ assumeImpersonationRole_impersonationRoleId,++ -- * Destructuring the Response+ AssumeImpersonationRoleResponse (..),+ newAssumeImpersonationRoleResponse,++ -- * Response Lenses+ assumeImpersonationRoleResponse_expiresIn,+ assumeImpersonationRoleResponse_token,+ assumeImpersonationRoleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newAssumeImpersonationRole' smart constructor.+data AssumeImpersonationRole = AssumeImpersonationRole'+ { -- | The WorkMail organization under which the impersonation role will be+ -- assumed.+ organizationId :: Prelude.Text,+ -- | The impersonation role ID to assume.+ impersonationRoleId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssumeImpersonationRole' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'assumeImpersonationRole_organizationId' - The WorkMail organization under which the impersonation role will be+-- assumed.+--+-- 'impersonationRoleId', 'assumeImpersonationRole_impersonationRoleId' - The impersonation role ID to assume.+newAssumeImpersonationRole ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'impersonationRoleId'+ Prelude.Text ->+ AssumeImpersonationRole+newAssumeImpersonationRole+ pOrganizationId_+ pImpersonationRoleId_ =+ AssumeImpersonationRole'+ { organizationId =+ pOrganizationId_,+ impersonationRoleId = pImpersonationRoleId_+ }++-- | The WorkMail organization under which the impersonation role will be+-- assumed.+assumeImpersonationRole_organizationId :: Lens.Lens' AssumeImpersonationRole Prelude.Text+assumeImpersonationRole_organizationId = Lens.lens (\AssumeImpersonationRole' {organizationId} -> organizationId) (\s@AssumeImpersonationRole' {} a -> s {organizationId = a} :: AssumeImpersonationRole)++-- | The impersonation role ID to assume.+assumeImpersonationRole_impersonationRoleId :: Lens.Lens' AssumeImpersonationRole Prelude.Text+assumeImpersonationRole_impersonationRoleId = Lens.lens (\AssumeImpersonationRole' {impersonationRoleId} -> impersonationRoleId) (\s@AssumeImpersonationRole' {} a -> s {impersonationRoleId = a} :: AssumeImpersonationRole)++instance Core.AWSRequest AssumeImpersonationRole where+ type+ AWSResponse AssumeImpersonationRole =+ AssumeImpersonationRoleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ AssumeImpersonationRoleResponse'+ Prelude.<$> (x Data..?> "ExpiresIn")+ Prelude.<*> (x Data..?> "Token")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable AssumeImpersonationRole where+ hashWithSalt _salt AssumeImpersonationRole' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` impersonationRoleId++instance Prelude.NFData AssumeImpersonationRole where+ rnf AssumeImpersonationRole' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf impersonationRoleId++instance Data.ToHeaders AssumeImpersonationRole where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.AssumeImpersonationRole" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON AssumeImpersonationRole where+ toJSON AssumeImpersonationRole' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ("ImpersonationRoleId" Data..= impersonationRoleId)+ ]+ )++instance Data.ToPath AssumeImpersonationRole where+ toPath = Prelude.const "/"++instance Data.ToQuery AssumeImpersonationRole where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newAssumeImpersonationRoleResponse' smart constructor.+data AssumeImpersonationRoleResponse = AssumeImpersonationRoleResponse'+ { -- | The authentication token\'s validity, in seconds.+ expiresIn :: Prelude.Maybe Prelude.Integer,+ -- | The authentication token for the impersonation role.+ token :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssumeImpersonationRoleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'expiresIn', 'assumeImpersonationRoleResponse_expiresIn' - The authentication token\'s validity, in seconds.+--+-- 'token', 'assumeImpersonationRoleResponse_token' - The authentication token for the impersonation role.+--+-- 'httpStatus', 'assumeImpersonationRoleResponse_httpStatus' - The response's http status code.+newAssumeImpersonationRoleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ AssumeImpersonationRoleResponse+newAssumeImpersonationRoleResponse pHttpStatus_ =+ AssumeImpersonationRoleResponse'+ { expiresIn =+ Prelude.Nothing,+ token = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The authentication token\'s validity, in seconds.+assumeImpersonationRoleResponse_expiresIn :: Lens.Lens' AssumeImpersonationRoleResponse (Prelude.Maybe Prelude.Integer)+assumeImpersonationRoleResponse_expiresIn = Lens.lens (\AssumeImpersonationRoleResponse' {expiresIn} -> expiresIn) (\s@AssumeImpersonationRoleResponse' {} a -> s {expiresIn = a} :: AssumeImpersonationRoleResponse)++-- | The authentication token for the impersonation role.+assumeImpersonationRoleResponse_token :: Lens.Lens' AssumeImpersonationRoleResponse (Prelude.Maybe Prelude.Text)+assumeImpersonationRoleResponse_token = Lens.lens (\AssumeImpersonationRoleResponse' {token} -> token) (\s@AssumeImpersonationRoleResponse' {} a -> s {token = a} :: AssumeImpersonationRoleResponse)++-- | The response's http status code.+assumeImpersonationRoleResponse_httpStatus :: Lens.Lens' AssumeImpersonationRoleResponse Prelude.Int+assumeImpersonationRoleResponse_httpStatus = Lens.lens (\AssumeImpersonationRoleResponse' {httpStatus} -> httpStatus) (\s@AssumeImpersonationRoleResponse' {} a -> s {httpStatus = a} :: AssumeImpersonationRoleResponse)++instance+ Prelude.NFData+ AssumeImpersonationRoleResponse+ where+ rnf AssumeImpersonationRoleResponse' {..} =+ Prelude.rnf expiresIn+ `Prelude.seq` Prelude.rnf token+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CancelMailboxExportJob.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CancelMailboxExportJob+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Cancels a mailbox export job.+--+-- If the mailbox export job is near completion, it might not be possible+-- to cancel it.+module Amazonka.WorkMail.CancelMailboxExportJob+ ( -- * Creating a Request+ CancelMailboxExportJob (..),+ newCancelMailboxExportJob,++ -- * Request Lenses+ cancelMailboxExportJob_clientToken,+ cancelMailboxExportJob_jobId,+ cancelMailboxExportJob_organizationId,++ -- * Destructuring the Response+ CancelMailboxExportJobResponse (..),+ newCancelMailboxExportJobResponse,++ -- * Response Lenses+ cancelMailboxExportJobResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCancelMailboxExportJob' smart constructor.+data CancelMailboxExportJob = CancelMailboxExportJob'+ { -- | The idempotency token for the client request.+ clientToken :: Prelude.Text,+ -- | The job ID.+ jobId :: Prelude.Text,+ -- | The organization ID.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelMailboxExportJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientToken', 'cancelMailboxExportJob_clientToken' - The idempotency token for the client request.+--+-- 'jobId', 'cancelMailboxExportJob_jobId' - The job ID.+--+-- 'organizationId', 'cancelMailboxExportJob_organizationId' - The organization ID.+newCancelMailboxExportJob ::+ -- | 'clientToken'+ Prelude.Text ->+ -- | 'jobId'+ Prelude.Text ->+ -- | 'organizationId'+ Prelude.Text ->+ CancelMailboxExportJob+newCancelMailboxExportJob+ pClientToken_+ pJobId_+ pOrganizationId_ =+ CancelMailboxExportJob'+ { clientToken =+ pClientToken_,+ jobId = pJobId_,+ organizationId = pOrganizationId_+ }++-- | The idempotency token for the client request.+cancelMailboxExportJob_clientToken :: Lens.Lens' CancelMailboxExportJob Prelude.Text+cancelMailboxExportJob_clientToken = Lens.lens (\CancelMailboxExportJob' {clientToken} -> clientToken) (\s@CancelMailboxExportJob' {} a -> s {clientToken = a} :: CancelMailboxExportJob)++-- | The job ID.+cancelMailboxExportJob_jobId :: Lens.Lens' CancelMailboxExportJob Prelude.Text+cancelMailboxExportJob_jobId = Lens.lens (\CancelMailboxExportJob' {jobId} -> jobId) (\s@CancelMailboxExportJob' {} a -> s {jobId = a} :: CancelMailboxExportJob)++-- | The organization ID.+cancelMailboxExportJob_organizationId :: Lens.Lens' CancelMailboxExportJob Prelude.Text+cancelMailboxExportJob_organizationId = Lens.lens (\CancelMailboxExportJob' {organizationId} -> organizationId) (\s@CancelMailboxExportJob' {} a -> s {organizationId = a} :: CancelMailboxExportJob)++instance Core.AWSRequest CancelMailboxExportJob where+ type+ AWSResponse CancelMailboxExportJob =+ CancelMailboxExportJobResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ CancelMailboxExportJobResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CancelMailboxExportJob where+ hashWithSalt _salt CancelMailboxExportJob' {..} =+ _salt+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData CancelMailboxExportJob where+ rnf CancelMailboxExportJob' {..} =+ Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf jobId+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders CancelMailboxExportJob where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CancelMailboxExportJob" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CancelMailboxExportJob where+ toJSON CancelMailboxExportJob' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ClientToken" Data..= clientToken),+ Prelude.Just ("JobId" Data..= jobId),+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath CancelMailboxExportJob where+ toPath = Prelude.const "/"++instance Data.ToQuery CancelMailboxExportJob where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCancelMailboxExportJobResponse' smart constructor.+data CancelMailboxExportJobResponse = CancelMailboxExportJobResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelMailboxExportJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'cancelMailboxExportJobResponse_httpStatus' - The response's http status code.+newCancelMailboxExportJobResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CancelMailboxExportJobResponse+newCancelMailboxExportJobResponse pHttpStatus_ =+ CancelMailboxExportJobResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+cancelMailboxExportJobResponse_httpStatus :: Lens.Lens' CancelMailboxExportJobResponse Prelude.Int+cancelMailboxExportJobResponse_httpStatus = Lens.lens (\CancelMailboxExportJobResponse' {httpStatus} -> httpStatus) (\s@CancelMailboxExportJobResponse' {} a -> s {httpStatus = a} :: CancelMailboxExportJobResponse)++instance+ Prelude.NFData+ CancelMailboxExportJobResponse+ where+ rnf CancelMailboxExportJobResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateAlias.hs view
@@ -0,0 +1,186 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateAlias+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds an alias to the set of a given member (user or group) of WorkMail.+module Amazonka.WorkMail.CreateAlias+ ( -- * Creating a Request+ CreateAlias (..),+ newCreateAlias,++ -- * Request Lenses+ createAlias_organizationId,+ createAlias_entityId,+ createAlias_alias,++ -- * Destructuring the Response+ CreateAliasResponse (..),+ newCreateAliasResponse,++ -- * Response Lenses+ createAliasResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateAlias' smart constructor.+data CreateAlias = CreateAlias'+ { -- | The organization under which the member (user or group) exists.+ organizationId :: Prelude.Text,+ -- | The member (user or group) to which this alias is added.+ entityId :: Prelude.Text,+ -- | The alias to add to the member set.+ alias :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateAlias' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'createAlias_organizationId' - The organization under which the member (user or group) exists.+--+-- 'entityId', 'createAlias_entityId' - The member (user or group) to which this alias is added.+--+-- 'alias', 'createAlias_alias' - The alias to add to the member set.+newCreateAlias ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ -- | 'alias'+ Prelude.Text ->+ CreateAlias+newCreateAlias pOrganizationId_ pEntityId_ pAlias_ =+ CreateAlias'+ { organizationId = pOrganizationId_,+ entityId = pEntityId_,+ alias = pAlias_+ }++-- | The organization under which the member (user or group) exists.+createAlias_organizationId :: Lens.Lens' CreateAlias Prelude.Text+createAlias_organizationId = Lens.lens (\CreateAlias' {organizationId} -> organizationId) (\s@CreateAlias' {} a -> s {organizationId = a} :: CreateAlias)++-- | The member (user or group) to which this alias is added.+createAlias_entityId :: Lens.Lens' CreateAlias Prelude.Text+createAlias_entityId = Lens.lens (\CreateAlias' {entityId} -> entityId) (\s@CreateAlias' {} a -> s {entityId = a} :: CreateAlias)++-- | The alias to add to the member set.+createAlias_alias :: Lens.Lens' CreateAlias Prelude.Text+createAlias_alias = Lens.lens (\CreateAlias' {alias} -> alias) (\s@CreateAlias' {} a -> s {alias = a} :: CreateAlias)++instance Core.AWSRequest CreateAlias where+ type AWSResponse CreateAlias = CreateAliasResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ CreateAliasResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateAlias where+ hashWithSalt _salt CreateAlias' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` alias++instance Prelude.NFData CreateAlias where+ rnf CreateAlias' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf alias++instance Data.ToHeaders CreateAlias where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CreateAlias" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateAlias where+ toJSON CreateAlias' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId),+ Prelude.Just ("Alias" Data..= alias)+ ]+ )++instance Data.ToPath CreateAlias where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateAlias where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateAliasResponse' smart constructor.+data CreateAliasResponse = CreateAliasResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateAliasResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createAliasResponse_httpStatus' - The response's http status code.+newCreateAliasResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateAliasResponse+newCreateAliasResponse pHttpStatus_ =+ CreateAliasResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+createAliasResponse_httpStatus :: Lens.Lens' CreateAliasResponse Prelude.Int+createAliasResponse_httpStatus = Lens.lens (\CreateAliasResponse' {httpStatus} -> httpStatus) (\s@CreateAliasResponse' {} a -> s {httpStatus = a} :: CreateAliasResponse)++instance Prelude.NFData CreateAliasResponse where+ rnf CreateAliasResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateAvailabilityConfiguration.hs view
@@ -0,0 +1,257 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateAvailabilityConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an @AvailabilityConfiguration@ for the given WorkMail+-- organization and domain.+module Amazonka.WorkMail.CreateAvailabilityConfiguration+ ( -- * Creating a Request+ CreateAvailabilityConfiguration (..),+ newCreateAvailabilityConfiguration,++ -- * Request Lenses+ createAvailabilityConfiguration_clientToken,+ createAvailabilityConfiguration_ewsProvider,+ createAvailabilityConfiguration_lambdaProvider,+ createAvailabilityConfiguration_organizationId,+ createAvailabilityConfiguration_domainName,++ -- * Destructuring the Response+ CreateAvailabilityConfigurationResponse (..),+ newCreateAvailabilityConfigurationResponse,++ -- * Response Lenses+ createAvailabilityConfigurationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateAvailabilityConfiguration' smart constructor.+data CreateAvailabilityConfiguration = CreateAvailabilityConfiguration'+ { -- | An idempotent token that ensures that an API request is executed only+ -- once.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | Exchange Web Services (EWS) availability provider definition. The+ -- request must contain exactly one provider definition, either+ -- @EwsProvider@ or @LambdaProvider@.+ ewsProvider :: Prelude.Maybe EwsAvailabilityProvider,+ -- | Lambda availability provider definition. The request must contain+ -- exactly one provider definition, either @EwsProvider@ or+ -- @LambdaProvider@.+ lambdaProvider :: Prelude.Maybe LambdaAvailabilityProvider,+ -- | The WorkMail organization for which the @AvailabilityConfiguration@ will+ -- be created.+ organizationId :: Prelude.Text,+ -- | The domain to which the provider applies.+ domainName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateAvailabilityConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientToken', 'createAvailabilityConfiguration_clientToken' - An idempotent token that ensures that an API request is executed only+-- once.+--+-- 'ewsProvider', 'createAvailabilityConfiguration_ewsProvider' - Exchange Web Services (EWS) availability provider definition. The+-- request must contain exactly one provider definition, either+-- @EwsProvider@ or @LambdaProvider@.+--+-- 'lambdaProvider', 'createAvailabilityConfiguration_lambdaProvider' - Lambda availability provider definition. The request must contain+-- exactly one provider definition, either @EwsProvider@ or+-- @LambdaProvider@.+--+-- 'organizationId', 'createAvailabilityConfiguration_organizationId' - The WorkMail organization for which the @AvailabilityConfiguration@ will+-- be created.+--+-- 'domainName', 'createAvailabilityConfiguration_domainName' - The domain to which the provider applies.+newCreateAvailabilityConfiguration ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'domainName'+ Prelude.Text ->+ CreateAvailabilityConfiguration+newCreateAvailabilityConfiguration+ pOrganizationId_+ pDomainName_ =+ CreateAvailabilityConfiguration'+ { clientToken =+ Prelude.Nothing,+ ewsProvider = Prelude.Nothing,+ lambdaProvider = Prelude.Nothing,+ organizationId = pOrganizationId_,+ domainName = pDomainName_+ }++-- | An idempotent token that ensures that an API request is executed only+-- once.+createAvailabilityConfiguration_clientToken :: Lens.Lens' CreateAvailabilityConfiguration (Prelude.Maybe Prelude.Text)+createAvailabilityConfiguration_clientToken = Lens.lens (\CreateAvailabilityConfiguration' {clientToken} -> clientToken) (\s@CreateAvailabilityConfiguration' {} a -> s {clientToken = a} :: CreateAvailabilityConfiguration)++-- | Exchange Web Services (EWS) availability provider definition. The+-- request must contain exactly one provider definition, either+-- @EwsProvider@ or @LambdaProvider@.+createAvailabilityConfiguration_ewsProvider :: Lens.Lens' CreateAvailabilityConfiguration (Prelude.Maybe EwsAvailabilityProvider)+createAvailabilityConfiguration_ewsProvider = Lens.lens (\CreateAvailabilityConfiguration' {ewsProvider} -> ewsProvider) (\s@CreateAvailabilityConfiguration' {} a -> s {ewsProvider = a} :: CreateAvailabilityConfiguration)++-- | Lambda availability provider definition. The request must contain+-- exactly one provider definition, either @EwsProvider@ or+-- @LambdaProvider@.+createAvailabilityConfiguration_lambdaProvider :: Lens.Lens' CreateAvailabilityConfiguration (Prelude.Maybe LambdaAvailabilityProvider)+createAvailabilityConfiguration_lambdaProvider = Lens.lens (\CreateAvailabilityConfiguration' {lambdaProvider} -> lambdaProvider) (\s@CreateAvailabilityConfiguration' {} a -> s {lambdaProvider = a} :: CreateAvailabilityConfiguration)++-- | The WorkMail organization for which the @AvailabilityConfiguration@ will+-- be created.+createAvailabilityConfiguration_organizationId :: Lens.Lens' CreateAvailabilityConfiguration Prelude.Text+createAvailabilityConfiguration_organizationId = Lens.lens (\CreateAvailabilityConfiguration' {organizationId} -> organizationId) (\s@CreateAvailabilityConfiguration' {} a -> s {organizationId = a} :: CreateAvailabilityConfiguration)++-- | The domain to which the provider applies.+createAvailabilityConfiguration_domainName :: Lens.Lens' CreateAvailabilityConfiguration Prelude.Text+createAvailabilityConfiguration_domainName = Lens.lens (\CreateAvailabilityConfiguration' {domainName} -> domainName) (\s@CreateAvailabilityConfiguration' {} a -> s {domainName = a} :: CreateAvailabilityConfiguration)++instance+ Core.AWSRequest+ CreateAvailabilityConfiguration+ where+ type+ AWSResponse CreateAvailabilityConfiguration =+ CreateAvailabilityConfigurationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ CreateAvailabilityConfigurationResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ CreateAvailabilityConfiguration+ where+ hashWithSalt+ _salt+ CreateAvailabilityConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` ewsProvider+ `Prelude.hashWithSalt` lambdaProvider+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` domainName++instance+ Prelude.NFData+ CreateAvailabilityConfiguration+ where+ rnf CreateAvailabilityConfiguration' {..} =+ Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf ewsProvider+ `Prelude.seq` Prelude.rnf lambdaProvider+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf domainName++instance+ Data.ToHeaders+ CreateAvailabilityConfiguration+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CreateAvailabilityConfiguration" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateAvailabilityConfiguration where+ toJSON CreateAvailabilityConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientToken" Data..=) Prelude.<$> clientToken,+ ("EwsProvider" Data..=) Prelude.<$> ewsProvider,+ ("LambdaProvider" Data..=)+ Prelude.<$> lambdaProvider,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("DomainName" Data..= domainName)+ ]+ )++instance Data.ToPath CreateAvailabilityConfiguration where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateAvailabilityConfiguration where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateAvailabilityConfigurationResponse' smart constructor.+data CreateAvailabilityConfigurationResponse = CreateAvailabilityConfigurationResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateAvailabilityConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createAvailabilityConfigurationResponse_httpStatus' - The response's http status code.+newCreateAvailabilityConfigurationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateAvailabilityConfigurationResponse+newCreateAvailabilityConfigurationResponse+ pHttpStatus_ =+ CreateAvailabilityConfigurationResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+createAvailabilityConfigurationResponse_httpStatus :: Lens.Lens' CreateAvailabilityConfigurationResponse Prelude.Int+createAvailabilityConfigurationResponse_httpStatus = Lens.lens (\CreateAvailabilityConfigurationResponse' {httpStatus} -> httpStatus) (\s@CreateAvailabilityConfigurationResponse' {} a -> s {httpStatus = a} :: CreateAvailabilityConfigurationResponse)++instance+ Prelude.NFData+ CreateAvailabilityConfigurationResponse+ where+ rnf CreateAvailabilityConfigurationResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateGroup.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a group that can be used in WorkMail by calling the+-- RegisterToWorkMail operation.+module Amazonka.WorkMail.CreateGroup+ ( -- * Creating a Request+ CreateGroup (..),+ newCreateGroup,++ -- * Request Lenses+ createGroup_organizationId,+ createGroup_name,++ -- * Destructuring the Response+ CreateGroupResponse (..),+ newCreateGroupResponse,++ -- * Response Lenses+ createGroupResponse_groupId,+ createGroupResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateGroup' smart constructor.+data CreateGroup = CreateGroup'+ { -- | The organization under which the group is to be created.+ organizationId :: Prelude.Text,+ -- | The name of the group.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'createGroup_organizationId' - The organization under which the group is to be created.+--+-- 'name', 'createGroup_name' - The name of the group.+newCreateGroup ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ CreateGroup+newCreateGroup pOrganizationId_ pName_ =+ CreateGroup'+ { organizationId = pOrganizationId_,+ name = pName_+ }++-- | The organization under which the group is to be created.+createGroup_organizationId :: Lens.Lens' CreateGroup Prelude.Text+createGroup_organizationId = Lens.lens (\CreateGroup' {organizationId} -> organizationId) (\s@CreateGroup' {} a -> s {organizationId = a} :: CreateGroup)++-- | The name of the group.+createGroup_name :: Lens.Lens' CreateGroup Prelude.Text+createGroup_name = Lens.lens (\CreateGroup' {name} -> name) (\s@CreateGroup' {} a -> s {name = a} :: CreateGroup)++instance Core.AWSRequest CreateGroup where+ type AWSResponse CreateGroup = CreateGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateGroupResponse'+ Prelude.<$> (x Data..?> "GroupId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateGroup where+ hashWithSalt _salt CreateGroup' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` name++instance Prelude.NFData CreateGroup where+ rnf CreateGroup' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders CreateGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CreateGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateGroup where+ toJSON CreateGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath CreateGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateGroupResponse' smart constructor.+data CreateGroupResponse = CreateGroupResponse'+ { -- | The identifier of the group.+ groupId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groupId', 'createGroupResponse_groupId' - The identifier of the group.+--+-- 'httpStatus', 'createGroupResponse_httpStatus' - The response's http status code.+newCreateGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateGroupResponse+newCreateGroupResponse pHttpStatus_ =+ CreateGroupResponse'+ { groupId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The identifier of the group.+createGroupResponse_groupId :: Lens.Lens' CreateGroupResponse (Prelude.Maybe Prelude.Text)+createGroupResponse_groupId = Lens.lens (\CreateGroupResponse' {groupId} -> groupId) (\s@CreateGroupResponse' {} a -> s {groupId = a} :: CreateGroupResponse)++-- | The response's http status code.+createGroupResponse_httpStatus :: Lens.Lens' CreateGroupResponse Prelude.Int+createGroupResponse_httpStatus = Lens.lens (\CreateGroupResponse' {httpStatus} -> httpStatus) (\s@CreateGroupResponse' {} a -> s {httpStatus = a} :: CreateGroupResponse)++instance Prelude.NFData CreateGroupResponse where+ rnf CreateGroupResponse' {..} =+ Prelude.rnf groupId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateImpersonationRole.hs view
@@ -0,0 +1,258 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateImpersonationRole+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an impersonation role for the given WorkMail organization.+--+-- /Idempotency/ ensures that an API request completes no more than one+-- time. With an idempotent request, if the original request completes+-- successfully, any subsequent retries also complete successfully without+-- performing any further actions.+module Amazonka.WorkMail.CreateImpersonationRole+ ( -- * Creating a Request+ CreateImpersonationRole (..),+ newCreateImpersonationRole,++ -- * Request Lenses+ createImpersonationRole_clientToken,+ createImpersonationRole_description,+ createImpersonationRole_organizationId,+ createImpersonationRole_name,+ createImpersonationRole_type,+ createImpersonationRole_rules,++ -- * Destructuring the Response+ CreateImpersonationRoleResponse (..),+ newCreateImpersonationRoleResponse,++ -- * Response Lenses+ createImpersonationRoleResponse_impersonationRoleId,+ createImpersonationRoleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateImpersonationRole' smart constructor.+data CreateImpersonationRole = CreateImpersonationRole'+ { -- | The idempotency token for the client request.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | The description of the new impersonation role.+ description :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization to create the new impersonation role within.+ organizationId :: Prelude.Text,+ -- | The name of the new impersonation role.+ name :: Prelude.Text,+ -- | The impersonation role\'s type. The available impersonation role types+ -- are @READ_ONLY@ or @FULL_ACCESS@.+ type' :: ImpersonationRoleType,+ -- | The list of rules for the impersonation role.+ rules :: [ImpersonationRule]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateImpersonationRole' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientToken', 'createImpersonationRole_clientToken' - The idempotency token for the client request.+--+-- 'description', 'createImpersonationRole_description' - The description of the new impersonation role.+--+-- 'organizationId', 'createImpersonationRole_organizationId' - The WorkMail organization to create the new impersonation role within.+--+-- 'name', 'createImpersonationRole_name' - The name of the new impersonation role.+--+-- 'type'', 'createImpersonationRole_type' - The impersonation role\'s type. The available impersonation role types+-- are @READ_ONLY@ or @FULL_ACCESS@.+--+-- 'rules', 'createImpersonationRole_rules' - The list of rules for the impersonation role.+newCreateImpersonationRole ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'type''+ ImpersonationRoleType ->+ CreateImpersonationRole+newCreateImpersonationRole+ pOrganizationId_+ pName_+ pType_ =+ CreateImpersonationRole'+ { clientToken =+ Prelude.Nothing,+ description = Prelude.Nothing,+ organizationId = pOrganizationId_,+ name = pName_,+ type' = pType_,+ rules = Prelude.mempty+ }++-- | The idempotency token for the client request.+createImpersonationRole_clientToken :: Lens.Lens' CreateImpersonationRole (Prelude.Maybe Prelude.Text)+createImpersonationRole_clientToken = Lens.lens (\CreateImpersonationRole' {clientToken} -> clientToken) (\s@CreateImpersonationRole' {} a -> s {clientToken = a} :: CreateImpersonationRole)++-- | The description of the new impersonation role.+createImpersonationRole_description :: Lens.Lens' CreateImpersonationRole (Prelude.Maybe Prelude.Text)+createImpersonationRole_description = Lens.lens (\CreateImpersonationRole' {description} -> description) (\s@CreateImpersonationRole' {} a -> s {description = a} :: CreateImpersonationRole)++-- | The WorkMail organization to create the new impersonation role within.+createImpersonationRole_organizationId :: Lens.Lens' CreateImpersonationRole Prelude.Text+createImpersonationRole_organizationId = Lens.lens (\CreateImpersonationRole' {organizationId} -> organizationId) (\s@CreateImpersonationRole' {} a -> s {organizationId = a} :: CreateImpersonationRole)++-- | The name of the new impersonation role.+createImpersonationRole_name :: Lens.Lens' CreateImpersonationRole Prelude.Text+createImpersonationRole_name = Lens.lens (\CreateImpersonationRole' {name} -> name) (\s@CreateImpersonationRole' {} a -> s {name = a} :: CreateImpersonationRole)++-- | The impersonation role\'s type. The available impersonation role types+-- are @READ_ONLY@ or @FULL_ACCESS@.+createImpersonationRole_type :: Lens.Lens' CreateImpersonationRole ImpersonationRoleType+createImpersonationRole_type = Lens.lens (\CreateImpersonationRole' {type'} -> type') (\s@CreateImpersonationRole' {} a -> s {type' = a} :: CreateImpersonationRole)++-- | The list of rules for the impersonation role.+createImpersonationRole_rules :: Lens.Lens' CreateImpersonationRole [ImpersonationRule]+createImpersonationRole_rules = Lens.lens (\CreateImpersonationRole' {rules} -> rules) (\s@CreateImpersonationRole' {} a -> s {rules = a} :: CreateImpersonationRole) Prelude.. Lens.coerced++instance Core.AWSRequest CreateImpersonationRole where+ type+ AWSResponse CreateImpersonationRole =+ CreateImpersonationRoleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateImpersonationRoleResponse'+ Prelude.<$> (x Data..?> "ImpersonationRoleId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateImpersonationRole where+ hashWithSalt _salt CreateImpersonationRole' {..} =+ _salt+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` rules++instance Prelude.NFData CreateImpersonationRole where+ rnf CreateImpersonationRole' {..} =+ Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf rules++instance Data.ToHeaders CreateImpersonationRole where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CreateImpersonationRole" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateImpersonationRole where+ toJSON CreateImpersonationRole' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientToken" Data..=) Prelude.<$> clientToken,+ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Type" Data..= type'),+ Prelude.Just ("Rules" Data..= rules)+ ]+ )++instance Data.ToPath CreateImpersonationRole where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateImpersonationRole where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateImpersonationRoleResponse' smart constructor.+data CreateImpersonationRoleResponse = CreateImpersonationRoleResponse'+ { -- | The new impersonation role ID.+ impersonationRoleId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateImpersonationRoleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'impersonationRoleId', 'createImpersonationRoleResponse_impersonationRoleId' - The new impersonation role ID.+--+-- 'httpStatus', 'createImpersonationRoleResponse_httpStatus' - The response's http status code.+newCreateImpersonationRoleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateImpersonationRoleResponse+newCreateImpersonationRoleResponse pHttpStatus_ =+ CreateImpersonationRoleResponse'+ { impersonationRoleId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The new impersonation role ID.+createImpersonationRoleResponse_impersonationRoleId :: Lens.Lens' CreateImpersonationRoleResponse (Prelude.Maybe Prelude.Text)+createImpersonationRoleResponse_impersonationRoleId = Lens.lens (\CreateImpersonationRoleResponse' {impersonationRoleId} -> impersonationRoleId) (\s@CreateImpersonationRoleResponse' {} a -> s {impersonationRoleId = a} :: CreateImpersonationRoleResponse)++-- | The response's http status code.+createImpersonationRoleResponse_httpStatus :: Lens.Lens' CreateImpersonationRoleResponse Prelude.Int+createImpersonationRoleResponse_httpStatus = Lens.lens (\CreateImpersonationRoleResponse' {httpStatus} -> httpStatus) (\s@CreateImpersonationRoleResponse' {} a -> s {httpStatus = a} :: CreateImpersonationRoleResponse)++instance+ Prelude.NFData+ CreateImpersonationRoleResponse+ where+ rnf CreateImpersonationRoleResponse' {..} =+ Prelude.rnf impersonationRoleId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateMobileDeviceAccessRule.hs view
@@ -0,0 +1,366 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateMobileDeviceAccessRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new mobile device access rule for the specified WorkMail+-- organization.+module Amazonka.WorkMail.CreateMobileDeviceAccessRule+ ( -- * Creating a Request+ CreateMobileDeviceAccessRule (..),+ newCreateMobileDeviceAccessRule,++ -- * Request Lenses+ createMobileDeviceAccessRule_clientToken,+ createMobileDeviceAccessRule_description,+ createMobileDeviceAccessRule_deviceModels,+ createMobileDeviceAccessRule_deviceOperatingSystems,+ createMobileDeviceAccessRule_deviceTypes,+ createMobileDeviceAccessRule_deviceUserAgents,+ createMobileDeviceAccessRule_notDeviceModels,+ createMobileDeviceAccessRule_notDeviceOperatingSystems,+ createMobileDeviceAccessRule_notDeviceTypes,+ createMobileDeviceAccessRule_notDeviceUserAgents,+ createMobileDeviceAccessRule_organizationId,+ createMobileDeviceAccessRule_name,+ createMobileDeviceAccessRule_effect,++ -- * Destructuring the Response+ CreateMobileDeviceAccessRuleResponse (..),+ newCreateMobileDeviceAccessRuleResponse,++ -- * Response Lenses+ createMobileDeviceAccessRuleResponse_mobileDeviceAccessRuleId,+ createMobileDeviceAccessRuleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateMobileDeviceAccessRule' smart constructor.+data CreateMobileDeviceAccessRule = CreateMobileDeviceAccessRule'+ { -- | The idempotency token for the client request.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | The rule description.+ description :: Prelude.Maybe Prelude.Text,+ -- | Device models that the rule will match.+ deviceModels :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device operating systems that the rule will match.+ deviceOperatingSystems :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device types that the rule will match.+ deviceTypes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device user agents that the rule will match.+ deviceUserAgents :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device models that the rule __will not__ match. All other device models+ -- will match.+ notDeviceModels :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device operating systems that the rule __will not__ match. All other+ -- device operating systems will match.+ notDeviceOperatingSystems :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device types that the rule __will not__ match. All other device types+ -- will match.+ notDeviceTypes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device user agents that the rule __will not__ match. All other device+ -- user agents will match.+ notDeviceUserAgents :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | The WorkMail organization under which the rule will be created.+ organizationId :: Prelude.Text,+ -- | The rule name.+ name :: Prelude.Text,+ -- | The effect of the rule when it matches. Allowed values are @ALLOW@ or+ -- @DENY@.+ effect :: MobileDeviceAccessRuleEffect+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateMobileDeviceAccessRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientToken', 'createMobileDeviceAccessRule_clientToken' - The idempotency token for the client request.+--+-- 'description', 'createMobileDeviceAccessRule_description' - The rule description.+--+-- 'deviceModels', 'createMobileDeviceAccessRule_deviceModels' - Device models that the rule will match.+--+-- 'deviceOperatingSystems', 'createMobileDeviceAccessRule_deviceOperatingSystems' - Device operating systems that the rule will match.+--+-- 'deviceTypes', 'createMobileDeviceAccessRule_deviceTypes' - Device types that the rule will match.+--+-- 'deviceUserAgents', 'createMobileDeviceAccessRule_deviceUserAgents' - Device user agents that the rule will match.+--+-- 'notDeviceModels', 'createMobileDeviceAccessRule_notDeviceModels' - Device models that the rule __will not__ match. All other device models+-- will match.+--+-- 'notDeviceOperatingSystems', 'createMobileDeviceAccessRule_notDeviceOperatingSystems' - Device operating systems that the rule __will not__ match. All other+-- device operating systems will match.+--+-- 'notDeviceTypes', 'createMobileDeviceAccessRule_notDeviceTypes' - Device types that the rule __will not__ match. All other device types+-- will match.+--+-- 'notDeviceUserAgents', 'createMobileDeviceAccessRule_notDeviceUserAgents' - Device user agents that the rule __will not__ match. All other device+-- user agents will match.+--+-- 'organizationId', 'createMobileDeviceAccessRule_organizationId' - The WorkMail organization under which the rule will be created.+--+-- 'name', 'createMobileDeviceAccessRule_name' - The rule name.+--+-- 'effect', 'createMobileDeviceAccessRule_effect' - The effect of the rule when it matches. Allowed values are @ALLOW@ or+-- @DENY@.+newCreateMobileDeviceAccessRule ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'effect'+ MobileDeviceAccessRuleEffect ->+ CreateMobileDeviceAccessRule+newCreateMobileDeviceAccessRule+ pOrganizationId_+ pName_+ pEffect_ =+ CreateMobileDeviceAccessRule'+ { clientToken =+ Prelude.Nothing,+ description = Prelude.Nothing,+ deviceModels = Prelude.Nothing,+ deviceOperatingSystems = Prelude.Nothing,+ deviceTypes = Prelude.Nothing,+ deviceUserAgents = Prelude.Nothing,+ notDeviceModels = Prelude.Nothing,+ notDeviceOperatingSystems = Prelude.Nothing,+ notDeviceTypes = Prelude.Nothing,+ notDeviceUserAgents = Prelude.Nothing,+ organizationId = pOrganizationId_,+ name = pName_,+ effect = pEffect_+ }++-- | The idempotency token for the client request.+createMobileDeviceAccessRule_clientToken :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe Prelude.Text)+createMobileDeviceAccessRule_clientToken = Lens.lens (\CreateMobileDeviceAccessRule' {clientToken} -> clientToken) (\s@CreateMobileDeviceAccessRule' {} a -> s {clientToken = a} :: CreateMobileDeviceAccessRule)++-- | The rule description.+createMobileDeviceAccessRule_description :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe Prelude.Text)+createMobileDeviceAccessRule_description = Lens.lens (\CreateMobileDeviceAccessRule' {description} -> description) (\s@CreateMobileDeviceAccessRule' {} a -> s {description = a} :: CreateMobileDeviceAccessRule)++-- | Device models that the rule will match.+createMobileDeviceAccessRule_deviceModels :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_deviceModels = Lens.lens (\CreateMobileDeviceAccessRule' {deviceModels} -> deviceModels) (\s@CreateMobileDeviceAccessRule' {} a -> s {deviceModels = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device operating systems that the rule will match.+createMobileDeviceAccessRule_deviceOperatingSystems :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_deviceOperatingSystems = Lens.lens (\CreateMobileDeviceAccessRule' {deviceOperatingSystems} -> deviceOperatingSystems) (\s@CreateMobileDeviceAccessRule' {} a -> s {deviceOperatingSystems = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device types that the rule will match.+createMobileDeviceAccessRule_deviceTypes :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_deviceTypes = Lens.lens (\CreateMobileDeviceAccessRule' {deviceTypes} -> deviceTypes) (\s@CreateMobileDeviceAccessRule' {} a -> s {deviceTypes = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device user agents that the rule will match.+createMobileDeviceAccessRule_deviceUserAgents :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_deviceUserAgents = Lens.lens (\CreateMobileDeviceAccessRule' {deviceUserAgents} -> deviceUserAgents) (\s@CreateMobileDeviceAccessRule' {} a -> s {deviceUserAgents = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device models that the rule __will not__ match. All other device models+-- will match.+createMobileDeviceAccessRule_notDeviceModels :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_notDeviceModels = Lens.lens (\CreateMobileDeviceAccessRule' {notDeviceModels} -> notDeviceModels) (\s@CreateMobileDeviceAccessRule' {} a -> s {notDeviceModels = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device operating systems that the rule __will not__ match. All other+-- device operating systems will match.+createMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_notDeviceOperatingSystems = Lens.lens (\CreateMobileDeviceAccessRule' {notDeviceOperatingSystems} -> notDeviceOperatingSystems) (\s@CreateMobileDeviceAccessRule' {} a -> s {notDeviceOperatingSystems = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device types that the rule __will not__ match. All other device types+-- will match.+createMobileDeviceAccessRule_notDeviceTypes :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_notDeviceTypes = Lens.lens (\CreateMobileDeviceAccessRule' {notDeviceTypes} -> notDeviceTypes) (\s@CreateMobileDeviceAccessRule' {} a -> s {notDeviceTypes = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device user agents that the rule __will not__ match. All other device+-- user agents will match.+createMobileDeviceAccessRule_notDeviceUserAgents :: Lens.Lens' CreateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+createMobileDeviceAccessRule_notDeviceUserAgents = Lens.lens (\CreateMobileDeviceAccessRule' {notDeviceUserAgents} -> notDeviceUserAgents) (\s@CreateMobileDeviceAccessRule' {} a -> s {notDeviceUserAgents = a} :: CreateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | The WorkMail organization under which the rule will be created.+createMobileDeviceAccessRule_organizationId :: Lens.Lens' CreateMobileDeviceAccessRule Prelude.Text+createMobileDeviceAccessRule_organizationId = Lens.lens (\CreateMobileDeviceAccessRule' {organizationId} -> organizationId) (\s@CreateMobileDeviceAccessRule' {} a -> s {organizationId = a} :: CreateMobileDeviceAccessRule)++-- | The rule name.+createMobileDeviceAccessRule_name :: Lens.Lens' CreateMobileDeviceAccessRule Prelude.Text+createMobileDeviceAccessRule_name = Lens.lens (\CreateMobileDeviceAccessRule' {name} -> name) (\s@CreateMobileDeviceAccessRule' {} a -> s {name = a} :: CreateMobileDeviceAccessRule)++-- | The effect of the rule when it matches. Allowed values are @ALLOW@ or+-- @DENY@.+createMobileDeviceAccessRule_effect :: Lens.Lens' CreateMobileDeviceAccessRule MobileDeviceAccessRuleEffect+createMobileDeviceAccessRule_effect = Lens.lens (\CreateMobileDeviceAccessRule' {effect} -> effect) (\s@CreateMobileDeviceAccessRule' {} a -> s {effect = a} :: CreateMobileDeviceAccessRule)++instance Core.AWSRequest CreateMobileDeviceAccessRule where+ type+ AWSResponse CreateMobileDeviceAccessRule =+ CreateMobileDeviceAccessRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateMobileDeviceAccessRuleResponse'+ Prelude.<$> (x Data..?> "MobileDeviceAccessRuleId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ CreateMobileDeviceAccessRule+ where+ hashWithSalt _salt CreateMobileDeviceAccessRule' {..} =+ _salt+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` deviceModels+ `Prelude.hashWithSalt` deviceOperatingSystems+ `Prelude.hashWithSalt` deviceTypes+ `Prelude.hashWithSalt` deviceUserAgents+ `Prelude.hashWithSalt` notDeviceModels+ `Prelude.hashWithSalt` notDeviceOperatingSystems+ `Prelude.hashWithSalt` notDeviceTypes+ `Prelude.hashWithSalt` notDeviceUserAgents+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` effect++instance Prelude.NFData CreateMobileDeviceAccessRule where+ rnf CreateMobileDeviceAccessRule' {..} =+ Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf deviceModels+ `Prelude.seq` Prelude.rnf deviceOperatingSystems+ `Prelude.seq` Prelude.rnf deviceTypes+ `Prelude.seq` Prelude.rnf deviceUserAgents+ `Prelude.seq` Prelude.rnf notDeviceModels+ `Prelude.seq` Prelude.rnf notDeviceOperatingSystems+ `Prelude.seq` Prelude.rnf notDeviceTypes+ `Prelude.seq` Prelude.rnf notDeviceUserAgents+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf effect++instance Data.ToHeaders CreateMobileDeviceAccessRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CreateMobileDeviceAccessRule" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateMobileDeviceAccessRule where+ toJSON CreateMobileDeviceAccessRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientToken" Data..=) Prelude.<$> clientToken,+ ("Description" Data..=) Prelude.<$> description,+ ("DeviceModels" Data..=) Prelude.<$> deviceModels,+ ("DeviceOperatingSystems" Data..=)+ Prelude.<$> deviceOperatingSystems,+ ("DeviceTypes" Data..=) Prelude.<$> deviceTypes,+ ("DeviceUserAgents" Data..=)+ Prelude.<$> deviceUserAgents,+ ("NotDeviceModels" Data..=)+ Prelude.<$> notDeviceModels,+ ("NotDeviceOperatingSystems" Data..=)+ Prelude.<$> notDeviceOperatingSystems,+ ("NotDeviceTypes" Data..=)+ Prelude.<$> notDeviceTypes,+ ("NotDeviceUserAgents" Data..=)+ Prelude.<$> notDeviceUserAgents,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Effect" Data..= effect)+ ]+ )++instance Data.ToPath CreateMobileDeviceAccessRule where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateMobileDeviceAccessRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateMobileDeviceAccessRuleResponse' smart constructor.+data CreateMobileDeviceAccessRuleResponse = CreateMobileDeviceAccessRuleResponse'+ { -- | The identifier for the newly created mobile device access rule.+ mobileDeviceAccessRuleId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateMobileDeviceAccessRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mobileDeviceAccessRuleId', 'createMobileDeviceAccessRuleResponse_mobileDeviceAccessRuleId' - The identifier for the newly created mobile device access rule.+--+-- 'httpStatus', 'createMobileDeviceAccessRuleResponse_httpStatus' - The response's http status code.+newCreateMobileDeviceAccessRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateMobileDeviceAccessRuleResponse+newCreateMobileDeviceAccessRuleResponse pHttpStatus_ =+ CreateMobileDeviceAccessRuleResponse'+ { mobileDeviceAccessRuleId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The identifier for the newly created mobile device access rule.+createMobileDeviceAccessRuleResponse_mobileDeviceAccessRuleId :: Lens.Lens' CreateMobileDeviceAccessRuleResponse (Prelude.Maybe Prelude.Text)+createMobileDeviceAccessRuleResponse_mobileDeviceAccessRuleId = Lens.lens (\CreateMobileDeviceAccessRuleResponse' {mobileDeviceAccessRuleId} -> mobileDeviceAccessRuleId) (\s@CreateMobileDeviceAccessRuleResponse' {} a -> s {mobileDeviceAccessRuleId = a} :: CreateMobileDeviceAccessRuleResponse)++-- | The response's http status code.+createMobileDeviceAccessRuleResponse_httpStatus :: Lens.Lens' CreateMobileDeviceAccessRuleResponse Prelude.Int+createMobileDeviceAccessRuleResponse_httpStatus = Lens.lens (\CreateMobileDeviceAccessRuleResponse' {httpStatus} -> httpStatus) (\s@CreateMobileDeviceAccessRuleResponse' {} a -> s {httpStatus = a} :: CreateMobileDeviceAccessRuleResponse)++instance+ Prelude.NFData+ CreateMobileDeviceAccessRuleResponse+ where+ rnf CreateMobileDeviceAccessRuleResponse' {..} =+ Prelude.rnf mobileDeviceAccessRuleId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateOrganization.hs view
@@ -0,0 +1,266 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateOrganization+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new 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 WorkMail directory for you. For more information, see+-- <https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html Adding an organization>+-- in the /WorkMail Administrator Guide/.+--+-- You can associate multiple email domains with an organization, then+-- choose your default email domain from the WorkMail console. You can also+-- associate a domain that is managed in an Amazon Route 53 public hosted+-- zone. For more information, see+-- <https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html Adding a domain>+-- and+-- <https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html Choosing the default domain>+-- in the /WorkMail Administrator Guide/.+--+-- Optionally, you can use a customer managed key from AWS Key Management+-- Service (AWS KMS) to encrypt email for your organization. If you don\'t+-- associate an AWS KMS key, WorkMail creates a default, AWS managed key+-- for you.+module Amazonka.WorkMail.CreateOrganization+ ( -- * Creating a Request+ CreateOrganization (..),+ newCreateOrganization,++ -- * Request Lenses+ createOrganization_clientToken,+ createOrganization_directoryId,+ createOrganization_domains,+ createOrganization_enableInteroperability,+ createOrganization_kmsKeyArn,+ createOrganization_alias,++ -- * Destructuring the Response+ CreateOrganizationResponse (..),+ newCreateOrganizationResponse,++ -- * Response Lenses+ createOrganizationResponse_organizationId,+ createOrganizationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateOrganization' smart constructor.+data CreateOrganization = CreateOrganization'+ { -- | The idempotency token associated with the request.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | The AWS Directory Service directory ID.+ directoryId :: Prelude.Maybe Prelude.Text,+ -- | The email domains to associate with the organization.+ domains :: Prelude.Maybe [Domain],+ -- | When @true@, allows organization interoperability between WorkMail and+ -- Microsoft Exchange. If @true@, you must include a AD Connector directory+ -- ID in the request.+ enableInteroperability :: Prelude.Maybe Prelude.Bool,+ -- | The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.+ kmsKeyArn :: Prelude.Maybe Prelude.Text,+ -- | The organization alias.+ alias :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientToken', 'createOrganization_clientToken' - The idempotency token associated with the request.+--+-- 'directoryId', 'createOrganization_directoryId' - The AWS Directory Service directory ID.+--+-- 'domains', 'createOrganization_domains' - The email domains to associate with the organization.+--+-- 'enableInteroperability', 'createOrganization_enableInteroperability' - When @true@, allows organization interoperability between WorkMail and+-- Microsoft Exchange. If @true@, you must include a AD Connector directory+-- ID in the request.+--+-- 'kmsKeyArn', 'createOrganization_kmsKeyArn' - The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.+--+-- 'alias', 'createOrganization_alias' - The organization alias.+newCreateOrganization ::+ -- | 'alias'+ Prelude.Text ->+ CreateOrganization+newCreateOrganization pAlias_ =+ CreateOrganization'+ { clientToken = Prelude.Nothing,+ directoryId = Prelude.Nothing,+ domains = Prelude.Nothing,+ enableInteroperability = Prelude.Nothing,+ kmsKeyArn = Prelude.Nothing,+ alias = pAlias_+ }++-- | The idempotency token associated with the request.+createOrganization_clientToken :: Lens.Lens' CreateOrganization (Prelude.Maybe Prelude.Text)+createOrganization_clientToken = Lens.lens (\CreateOrganization' {clientToken} -> clientToken) (\s@CreateOrganization' {} a -> s {clientToken = a} :: CreateOrganization)++-- | The AWS Directory Service directory ID.+createOrganization_directoryId :: Lens.Lens' CreateOrganization (Prelude.Maybe Prelude.Text)+createOrganization_directoryId = Lens.lens (\CreateOrganization' {directoryId} -> directoryId) (\s@CreateOrganization' {} a -> s {directoryId = a} :: CreateOrganization)++-- | The email domains to associate with the organization.+createOrganization_domains :: Lens.Lens' CreateOrganization (Prelude.Maybe [Domain])+createOrganization_domains = Lens.lens (\CreateOrganization' {domains} -> domains) (\s@CreateOrganization' {} a -> s {domains = a} :: CreateOrganization) Prelude.. Lens.mapping Lens.coerced++-- | When @true@, allows organization interoperability between WorkMail and+-- Microsoft Exchange. If @true@, you must include a AD Connector directory+-- ID in the request.+createOrganization_enableInteroperability :: Lens.Lens' CreateOrganization (Prelude.Maybe Prelude.Bool)+createOrganization_enableInteroperability = Lens.lens (\CreateOrganization' {enableInteroperability} -> enableInteroperability) (\s@CreateOrganization' {} a -> s {enableInteroperability = a} :: CreateOrganization)++-- | The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.+createOrganization_kmsKeyArn :: Lens.Lens' CreateOrganization (Prelude.Maybe Prelude.Text)+createOrganization_kmsKeyArn = Lens.lens (\CreateOrganization' {kmsKeyArn} -> kmsKeyArn) (\s@CreateOrganization' {} a -> s {kmsKeyArn = a} :: CreateOrganization)++-- | The organization alias.+createOrganization_alias :: Lens.Lens' CreateOrganization Prelude.Text+createOrganization_alias = Lens.lens (\CreateOrganization' {alias} -> alias) (\s@CreateOrganization' {} a -> s {alias = a} :: CreateOrganization)++instance Core.AWSRequest CreateOrganization where+ type+ AWSResponse CreateOrganization =+ CreateOrganizationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateOrganizationResponse'+ Prelude.<$> (x Data..?> "OrganizationId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateOrganization where+ hashWithSalt _salt CreateOrganization' {..} =+ _salt+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` directoryId+ `Prelude.hashWithSalt` domains+ `Prelude.hashWithSalt` enableInteroperability+ `Prelude.hashWithSalt` kmsKeyArn+ `Prelude.hashWithSalt` alias++instance Prelude.NFData CreateOrganization where+ rnf CreateOrganization' {..} =+ Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf directoryId+ `Prelude.seq` Prelude.rnf domains+ `Prelude.seq` Prelude.rnf enableInteroperability+ `Prelude.seq` Prelude.rnf kmsKeyArn+ `Prelude.seq` Prelude.rnf alias++instance Data.ToHeaders CreateOrganization where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CreateOrganization" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateOrganization where+ toJSON CreateOrganization' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientToken" Data..=) Prelude.<$> clientToken,+ ("DirectoryId" Data..=) Prelude.<$> directoryId,+ ("Domains" Data..=) Prelude.<$> domains,+ ("EnableInteroperability" Data..=)+ Prelude.<$> enableInteroperability,+ ("KmsKeyArn" Data..=) Prelude.<$> kmsKeyArn,+ Prelude.Just ("Alias" Data..= alias)+ ]+ )++instance Data.ToPath CreateOrganization where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateOrganization where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateOrganizationResponse' smart constructor.+data CreateOrganizationResponse = CreateOrganizationResponse'+ { -- | The organization ID.+ organizationId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'createOrganizationResponse_organizationId' - The organization ID.+--+-- 'httpStatus', 'createOrganizationResponse_httpStatus' - The response's http status code.+newCreateOrganizationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateOrganizationResponse+newCreateOrganizationResponse pHttpStatus_ =+ CreateOrganizationResponse'+ { organizationId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The organization ID.+createOrganizationResponse_organizationId :: Lens.Lens' CreateOrganizationResponse (Prelude.Maybe Prelude.Text)+createOrganizationResponse_organizationId = Lens.lens (\CreateOrganizationResponse' {organizationId} -> organizationId) (\s@CreateOrganizationResponse' {} a -> s {organizationId = a} :: CreateOrganizationResponse)++-- | The response's http status code.+createOrganizationResponse_httpStatus :: Lens.Lens' CreateOrganizationResponse Prelude.Int+createOrganizationResponse_httpStatus = Lens.lens (\CreateOrganizationResponse' {httpStatus} -> httpStatus) (\s@CreateOrganizationResponse' {} a -> s {httpStatus = a} :: CreateOrganizationResponse)++instance Prelude.NFData CreateOrganizationResponse where+ rnf CreateOrganizationResponse' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateResource.hs view
@@ -0,0 +1,210 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new WorkMail resource.+module Amazonka.WorkMail.CreateResource+ ( -- * Creating a Request+ CreateResource (..),+ newCreateResource,++ -- * Request Lenses+ createResource_organizationId,+ createResource_name,+ createResource_type,++ -- * Destructuring the Response+ CreateResourceResponse (..),+ newCreateResourceResponse,++ -- * Response Lenses+ createResourceResponse_resourceId,+ createResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateResource' smart constructor.+data CreateResource = CreateResource'+ { -- | The identifier associated with the organization for which the resource+ -- is created.+ organizationId :: Prelude.Text,+ -- | The name of the new resource.+ name :: Prelude.Text,+ -- | The type of the new resource. The available types are @equipment@ and+ -- @room@.+ type' :: ResourceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'createResource_organizationId' - The identifier associated with the organization for which the resource+-- is created.+--+-- 'name', 'createResource_name' - The name of the new resource.+--+-- 'type'', 'createResource_type' - The type of the new resource. The available types are @equipment@ and+-- @room@.+newCreateResource ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'type''+ ResourceType ->+ CreateResource+newCreateResource pOrganizationId_ pName_ pType_ =+ CreateResource'+ { organizationId = pOrganizationId_,+ name = pName_,+ type' = pType_+ }++-- | The identifier associated with the organization for which the resource+-- is created.+createResource_organizationId :: Lens.Lens' CreateResource Prelude.Text+createResource_organizationId = Lens.lens (\CreateResource' {organizationId} -> organizationId) (\s@CreateResource' {} a -> s {organizationId = a} :: CreateResource)++-- | The name of the new resource.+createResource_name :: Lens.Lens' CreateResource Prelude.Text+createResource_name = Lens.lens (\CreateResource' {name} -> name) (\s@CreateResource' {} a -> s {name = a} :: CreateResource)++-- | The type of the new resource. The available types are @equipment@ and+-- @room@.+createResource_type :: Lens.Lens' CreateResource ResourceType+createResource_type = Lens.lens (\CreateResource' {type'} -> type') (\s@CreateResource' {} a -> s {type' = a} :: CreateResource)++instance Core.AWSRequest CreateResource where+ type+ AWSResponse CreateResource =+ CreateResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateResourceResponse'+ Prelude.<$> (x Data..?> "ResourceId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateResource where+ hashWithSalt _salt CreateResource' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'++instance Prelude.NFData CreateResource where+ rnf CreateResource' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders CreateResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.CreateResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateResource where+ toJSON CreateResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Type" Data..= type')+ ]+ )++instance Data.ToPath CreateResource where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateResourceResponse' smart constructor.+data CreateResourceResponse = CreateResourceResponse'+ { -- | The identifier of the new resource.+ resourceId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'createResourceResponse_resourceId' - The identifier of the new resource.+--+-- 'httpStatus', 'createResourceResponse_httpStatus' - The response's http status code.+newCreateResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateResourceResponse+newCreateResourceResponse pHttpStatus_ =+ CreateResourceResponse'+ { resourceId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The identifier of the new resource.+createResourceResponse_resourceId :: Lens.Lens' CreateResourceResponse (Prelude.Maybe Prelude.Text)+createResourceResponse_resourceId = Lens.lens (\CreateResourceResponse' {resourceId} -> resourceId) (\s@CreateResourceResponse' {} a -> s {resourceId = a} :: CreateResourceResponse)++-- | The response's http status code.+createResourceResponse_httpStatus :: Lens.Lens' CreateResourceResponse Prelude.Int+createResourceResponse_httpStatus = Lens.lens (\CreateResourceResponse' {httpStatus} -> httpStatus) (\s@CreateResourceResponse' {} a -> s {httpStatus = a} :: CreateResourceResponse)++instance Prelude.NFData CreateResourceResponse where+ rnf CreateResourceResponse' {..} =+ Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/CreateUser.hs view
@@ -0,0 +1,222 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.CreateUser+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a user who can be used in WorkMail by calling the+-- RegisterToWorkMail operation.+module Amazonka.WorkMail.CreateUser+ ( -- * Creating a Request+ CreateUser (..),+ newCreateUser,++ -- * Request Lenses+ createUser_organizationId,+ createUser_name,+ createUser_displayName,+ createUser_password,++ -- * Destructuring the Response+ CreateUserResponse (..),+ newCreateUserResponse,++ -- * Response Lenses+ createUserResponse_userId,+ createUserResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newCreateUser' smart constructor.+data CreateUser = CreateUser'+ { -- | The identifier of the organization for which the user is created.+ organizationId :: Prelude.Text,+ -- | The name for the new user. WorkMail directory user names have a maximum+ -- length of 64. All others have a maximum length of 20.+ name :: Prelude.Text,+ -- | The display name for the new user.+ displayName :: Prelude.Text,+ -- | The password for the new user.+ password :: Data.Sensitive Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateUser' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'createUser_organizationId' - The identifier of the organization for which the user is created.+--+-- 'name', 'createUser_name' - The name for the new user. WorkMail directory user names have a maximum+-- length of 64. All others have a maximum length of 20.+--+-- 'displayName', 'createUser_displayName' - The display name for the new user.+--+-- 'password', 'createUser_password' - The password for the new user.+newCreateUser ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'displayName'+ Prelude.Text ->+ -- | 'password'+ Prelude.Text ->+ CreateUser+newCreateUser+ pOrganizationId_+ pName_+ pDisplayName_+ pPassword_ =+ CreateUser'+ { organizationId = pOrganizationId_,+ name = pName_,+ displayName = pDisplayName_,+ password = Data._Sensitive Lens.# pPassword_+ }++-- | The identifier of the organization for which the user is created.+createUser_organizationId :: Lens.Lens' CreateUser Prelude.Text+createUser_organizationId = Lens.lens (\CreateUser' {organizationId} -> organizationId) (\s@CreateUser' {} a -> s {organizationId = a} :: CreateUser)++-- | The name for the new user. WorkMail directory user names have a maximum+-- length of 64. All others have a maximum length of 20.+createUser_name :: Lens.Lens' CreateUser Prelude.Text+createUser_name = Lens.lens (\CreateUser' {name} -> name) (\s@CreateUser' {} a -> s {name = a} :: CreateUser)++-- | The display name for the new user.+createUser_displayName :: Lens.Lens' CreateUser Prelude.Text+createUser_displayName = Lens.lens (\CreateUser' {displayName} -> displayName) (\s@CreateUser' {} a -> s {displayName = a} :: CreateUser)++-- | The password for the new user.+createUser_password :: Lens.Lens' CreateUser Prelude.Text+createUser_password = Lens.lens (\CreateUser' {password} -> password) (\s@CreateUser' {} a -> s {password = a} :: CreateUser) Prelude.. Data._Sensitive++instance Core.AWSRequest CreateUser where+ type AWSResponse CreateUser = CreateUserResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateUserResponse'+ Prelude.<$> (x Data..?> "UserId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateUser where+ hashWithSalt _salt CreateUser' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` displayName+ `Prelude.hashWithSalt` password++instance Prelude.NFData CreateUser where+ rnf CreateUser' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf displayName+ `Prelude.seq` Prelude.rnf password++instance Data.ToHeaders CreateUser where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("WorkMailService.CreateUser" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateUser where+ toJSON CreateUser' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("DisplayName" Data..= displayName),+ Prelude.Just ("Password" Data..= password)+ ]+ )++instance Data.ToPath CreateUser where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateUser where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateUserResponse' smart constructor.+data CreateUserResponse = CreateUserResponse'+ { -- | The identifier for the new user.+ userId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateUserResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'userId', 'createUserResponse_userId' - The identifier for the new user.+--+-- 'httpStatus', 'createUserResponse_httpStatus' - The response's http status code.+newCreateUserResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateUserResponse+newCreateUserResponse pHttpStatus_ =+ CreateUserResponse'+ { userId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The identifier for the new user.+createUserResponse_userId :: Lens.Lens' CreateUserResponse (Prelude.Maybe Prelude.Text)+createUserResponse_userId = Lens.lens (\CreateUserResponse' {userId} -> userId) (\s@CreateUserResponse' {} a -> s {userId = a} :: CreateUserResponse)++-- | The response's http status code.+createUserResponse_httpStatus :: Lens.Lens' CreateUserResponse Prelude.Int+createUserResponse_httpStatus = Lens.lens (\CreateUserResponse' {httpStatus} -> httpStatus) (\s@CreateUserResponse' {} a -> s {httpStatus = a} :: CreateUserResponse)++instance Prelude.NFData CreateUserResponse where+ rnf CreateUserResponse' {..} =+ Prelude.rnf userId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteAccessControlRule.hs view
@@ -0,0 +1,185 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteAccessControlRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an access control rule for the specified WorkMail organization.+--+-- Deleting already deleted and non-existing rules does not produce an+-- error. In those cases, the service sends back an HTTP 200 response with+-- an empty HTTP body.+module Amazonka.WorkMail.DeleteAccessControlRule+ ( -- * Creating a Request+ DeleteAccessControlRule (..),+ newDeleteAccessControlRule,++ -- * Request Lenses+ deleteAccessControlRule_organizationId,+ deleteAccessControlRule_name,++ -- * Destructuring the Response+ DeleteAccessControlRuleResponse (..),+ newDeleteAccessControlRuleResponse,++ -- * Response Lenses+ deleteAccessControlRuleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteAccessControlRule' smart constructor.+data DeleteAccessControlRule = DeleteAccessControlRule'+ { -- | The identifier for the organization.+ organizationId :: Prelude.Text,+ -- | The name of the access control rule.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAccessControlRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteAccessControlRule_organizationId' - The identifier for the organization.+--+-- 'name', 'deleteAccessControlRule_name' - The name of the access control rule.+newDeleteAccessControlRule ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ DeleteAccessControlRule+newDeleteAccessControlRule pOrganizationId_ pName_ =+ DeleteAccessControlRule'+ { organizationId =+ pOrganizationId_,+ name = pName_+ }++-- | The identifier for the organization.+deleteAccessControlRule_organizationId :: Lens.Lens' DeleteAccessControlRule Prelude.Text+deleteAccessControlRule_organizationId = Lens.lens (\DeleteAccessControlRule' {organizationId} -> organizationId) (\s@DeleteAccessControlRule' {} a -> s {organizationId = a} :: DeleteAccessControlRule)++-- | The name of the access control rule.+deleteAccessControlRule_name :: Lens.Lens' DeleteAccessControlRule Prelude.Text+deleteAccessControlRule_name = Lens.lens (\DeleteAccessControlRule' {name} -> name) (\s@DeleteAccessControlRule' {} a -> s {name = a} :: DeleteAccessControlRule)++instance Core.AWSRequest DeleteAccessControlRule where+ type+ AWSResponse DeleteAccessControlRule =+ DeleteAccessControlRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteAccessControlRuleResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteAccessControlRule where+ hashWithSalt _salt DeleteAccessControlRule' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteAccessControlRule where+ rnf DeleteAccessControlRule' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders DeleteAccessControlRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteAccessControlRule" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteAccessControlRule where+ toJSON DeleteAccessControlRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath DeleteAccessControlRule where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteAccessControlRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteAccessControlRuleResponse' smart constructor.+data DeleteAccessControlRuleResponse = DeleteAccessControlRuleResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAccessControlRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteAccessControlRuleResponse_httpStatus' - The response's http status code.+newDeleteAccessControlRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteAccessControlRuleResponse+newDeleteAccessControlRuleResponse pHttpStatus_ =+ DeleteAccessControlRuleResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteAccessControlRuleResponse_httpStatus :: Lens.Lens' DeleteAccessControlRuleResponse Prelude.Int+deleteAccessControlRuleResponse_httpStatus = Lens.lens (\DeleteAccessControlRuleResponse' {httpStatus} -> httpStatus) (\s@DeleteAccessControlRuleResponse' {} a -> s {httpStatus = a} :: DeleteAccessControlRuleResponse)++instance+ Prelude.NFData+ DeleteAccessControlRuleResponse+ where+ rnf DeleteAccessControlRuleResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteAlias.hs view
@@ -0,0 +1,196 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteAlias+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Remove one or more specified aliases from a set of aliases for a given+-- user.+module Amazonka.WorkMail.DeleteAlias+ ( -- * Creating a Request+ DeleteAlias (..),+ newDeleteAlias,++ -- * Request Lenses+ deleteAlias_organizationId,+ deleteAlias_entityId,+ deleteAlias_alias,++ -- * Destructuring the Response+ DeleteAliasResponse (..),+ newDeleteAliasResponse,++ -- * Response Lenses+ deleteAliasResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteAlias' smart constructor.+data DeleteAlias = DeleteAlias'+ { -- | The identifier for the organization under which the user exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the member (user or group) from which to have the+ -- aliases removed.+ entityId :: Prelude.Text,+ -- | The aliases to be removed from the user\'s set of aliases. Duplicate+ -- entries in the list are collapsed into single entries (the list is+ -- transformed into a set).+ alias :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAlias' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteAlias_organizationId' - The identifier for the organization under which the user exists.+--+-- 'entityId', 'deleteAlias_entityId' - The identifier for the member (user or group) from which to have the+-- aliases removed.+--+-- 'alias', 'deleteAlias_alias' - The aliases to be removed from the user\'s set of aliases. Duplicate+-- entries in the list are collapsed into single entries (the list is+-- transformed into a set).+newDeleteAlias ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ -- | 'alias'+ Prelude.Text ->+ DeleteAlias+newDeleteAlias pOrganizationId_ pEntityId_ pAlias_ =+ DeleteAlias'+ { organizationId = pOrganizationId_,+ entityId = pEntityId_,+ alias = pAlias_+ }++-- | The identifier for the organization under which the user exists.+deleteAlias_organizationId :: Lens.Lens' DeleteAlias Prelude.Text+deleteAlias_organizationId = Lens.lens (\DeleteAlias' {organizationId} -> organizationId) (\s@DeleteAlias' {} a -> s {organizationId = a} :: DeleteAlias)++-- | The identifier for the member (user or group) from which to have the+-- aliases removed.+deleteAlias_entityId :: Lens.Lens' DeleteAlias Prelude.Text+deleteAlias_entityId = Lens.lens (\DeleteAlias' {entityId} -> entityId) (\s@DeleteAlias' {} a -> s {entityId = a} :: DeleteAlias)++-- | The aliases to be removed from the user\'s set of aliases. Duplicate+-- entries in the list are collapsed into single entries (the list is+-- transformed into a set).+deleteAlias_alias :: Lens.Lens' DeleteAlias Prelude.Text+deleteAlias_alias = Lens.lens (\DeleteAlias' {alias} -> alias) (\s@DeleteAlias' {} a -> s {alias = a} :: DeleteAlias)++instance Core.AWSRequest DeleteAlias where+ type AWSResponse DeleteAlias = DeleteAliasResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteAliasResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteAlias where+ hashWithSalt _salt DeleteAlias' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` alias++instance Prelude.NFData DeleteAlias where+ rnf DeleteAlias' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf alias++instance Data.ToHeaders DeleteAlias where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteAlias" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteAlias where+ toJSON DeleteAlias' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId),+ Prelude.Just ("Alias" Data..= alias)+ ]+ )++instance Data.ToPath DeleteAlias where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteAlias where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteAliasResponse' smart constructor.+data DeleteAliasResponse = DeleteAliasResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAliasResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteAliasResponse_httpStatus' - The response's http status code.+newDeleteAliasResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteAliasResponse+newDeleteAliasResponse pHttpStatus_ =+ DeleteAliasResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteAliasResponse_httpStatus :: Lens.Lens' DeleteAliasResponse Prelude.Int+deleteAliasResponse_httpStatus = Lens.lens (\DeleteAliasResponse' {httpStatus} -> httpStatus) (\s@DeleteAliasResponse' {} a -> s {httpStatus = a} :: DeleteAliasResponse)++instance Prelude.NFData DeleteAliasResponse where+ rnf DeleteAliasResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteAvailabilityConfiguration.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteAvailabilityConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the @AvailabilityConfiguration@ for the given WorkMail+-- organization and domain.+module Amazonka.WorkMail.DeleteAvailabilityConfiguration+ ( -- * Creating a Request+ DeleteAvailabilityConfiguration (..),+ newDeleteAvailabilityConfiguration,++ -- * Request Lenses+ deleteAvailabilityConfiguration_organizationId,+ deleteAvailabilityConfiguration_domainName,++ -- * Destructuring the Response+ DeleteAvailabilityConfigurationResponse (..),+ newDeleteAvailabilityConfigurationResponse,++ -- * Response Lenses+ deleteAvailabilityConfigurationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteAvailabilityConfiguration' smart constructor.+data DeleteAvailabilityConfiguration = DeleteAvailabilityConfiguration'+ { -- | The WorkMail organization for which the @AvailabilityConfiguration@ will+ -- be deleted.+ organizationId :: Prelude.Text,+ -- | The domain for which the @AvailabilityConfiguration@ will be deleted.+ domainName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAvailabilityConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteAvailabilityConfiguration_organizationId' - The WorkMail organization for which the @AvailabilityConfiguration@ will+-- be deleted.+--+-- 'domainName', 'deleteAvailabilityConfiguration_domainName' - The domain for which the @AvailabilityConfiguration@ will be deleted.+newDeleteAvailabilityConfiguration ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'domainName'+ Prelude.Text ->+ DeleteAvailabilityConfiguration+newDeleteAvailabilityConfiguration+ pOrganizationId_+ pDomainName_ =+ DeleteAvailabilityConfiguration'+ { organizationId =+ pOrganizationId_,+ domainName = pDomainName_+ }++-- | The WorkMail organization for which the @AvailabilityConfiguration@ will+-- be deleted.+deleteAvailabilityConfiguration_organizationId :: Lens.Lens' DeleteAvailabilityConfiguration Prelude.Text+deleteAvailabilityConfiguration_organizationId = Lens.lens (\DeleteAvailabilityConfiguration' {organizationId} -> organizationId) (\s@DeleteAvailabilityConfiguration' {} a -> s {organizationId = a} :: DeleteAvailabilityConfiguration)++-- | The domain for which the @AvailabilityConfiguration@ will be deleted.+deleteAvailabilityConfiguration_domainName :: Lens.Lens' DeleteAvailabilityConfiguration Prelude.Text+deleteAvailabilityConfiguration_domainName = Lens.lens (\DeleteAvailabilityConfiguration' {domainName} -> domainName) (\s@DeleteAvailabilityConfiguration' {} a -> s {domainName = a} :: DeleteAvailabilityConfiguration)++instance+ Core.AWSRequest+ DeleteAvailabilityConfiguration+ where+ type+ AWSResponse DeleteAvailabilityConfiguration =+ DeleteAvailabilityConfigurationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteAvailabilityConfigurationResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ DeleteAvailabilityConfiguration+ where+ hashWithSalt+ _salt+ DeleteAvailabilityConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` domainName++instance+ Prelude.NFData+ DeleteAvailabilityConfiguration+ where+ rnf DeleteAvailabilityConfiguration' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf domainName++instance+ Data.ToHeaders+ DeleteAvailabilityConfiguration+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteAvailabilityConfiguration" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteAvailabilityConfiguration where+ toJSON DeleteAvailabilityConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("DomainName" Data..= domainName)+ ]+ )++instance Data.ToPath DeleteAvailabilityConfiguration where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteAvailabilityConfiguration where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteAvailabilityConfigurationResponse' smart constructor.+data DeleteAvailabilityConfigurationResponse = DeleteAvailabilityConfigurationResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAvailabilityConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteAvailabilityConfigurationResponse_httpStatus' - The response's http status code.+newDeleteAvailabilityConfigurationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteAvailabilityConfigurationResponse+newDeleteAvailabilityConfigurationResponse+ pHttpStatus_ =+ DeleteAvailabilityConfigurationResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteAvailabilityConfigurationResponse_httpStatus :: Lens.Lens' DeleteAvailabilityConfigurationResponse Prelude.Int+deleteAvailabilityConfigurationResponse_httpStatus = Lens.lens (\DeleteAvailabilityConfigurationResponse' {httpStatus} -> httpStatus) (\s@DeleteAvailabilityConfigurationResponse' {} a -> s {httpStatus = a} :: DeleteAvailabilityConfigurationResponse)++instance+ Prelude.NFData+ DeleteAvailabilityConfigurationResponse+ where+ rnf DeleteAvailabilityConfigurationResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteEmailMonitoringConfiguration.hs view
@@ -0,0 +1,193 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteEmailMonitoringConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the email monitoring configuration for a specified organization.+module Amazonka.WorkMail.DeleteEmailMonitoringConfiguration+ ( -- * Creating a Request+ DeleteEmailMonitoringConfiguration (..),+ newDeleteEmailMonitoringConfiguration,++ -- * Request Lenses+ deleteEmailMonitoringConfiguration_organizationId,++ -- * Destructuring the Response+ DeleteEmailMonitoringConfigurationResponse (..),+ newDeleteEmailMonitoringConfigurationResponse,++ -- * Response Lenses+ deleteEmailMonitoringConfigurationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteEmailMonitoringConfiguration' smart constructor.+data DeleteEmailMonitoringConfiguration = DeleteEmailMonitoringConfiguration'+ { -- | The ID of the organization from which the email monitoring configuration+ -- is deleted.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEmailMonitoringConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteEmailMonitoringConfiguration_organizationId' - The ID of the organization from which the email monitoring configuration+-- is deleted.+newDeleteEmailMonitoringConfiguration ::+ -- | 'organizationId'+ Prelude.Text ->+ DeleteEmailMonitoringConfiguration+newDeleteEmailMonitoringConfiguration+ pOrganizationId_ =+ DeleteEmailMonitoringConfiguration'+ { organizationId =+ pOrganizationId_+ }++-- | The ID of the organization from which the email monitoring configuration+-- is deleted.+deleteEmailMonitoringConfiguration_organizationId :: Lens.Lens' DeleteEmailMonitoringConfiguration Prelude.Text+deleteEmailMonitoringConfiguration_organizationId = Lens.lens (\DeleteEmailMonitoringConfiguration' {organizationId} -> organizationId) (\s@DeleteEmailMonitoringConfiguration' {} a -> s {organizationId = a} :: DeleteEmailMonitoringConfiguration)++instance+ Core.AWSRequest+ DeleteEmailMonitoringConfiguration+ where+ type+ AWSResponse DeleteEmailMonitoringConfiguration =+ DeleteEmailMonitoringConfigurationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteEmailMonitoringConfigurationResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ DeleteEmailMonitoringConfiguration+ where+ hashWithSalt+ _salt+ DeleteEmailMonitoringConfiguration' {..} =+ _salt `Prelude.hashWithSalt` organizationId++instance+ Prelude.NFData+ DeleteEmailMonitoringConfiguration+ where+ rnf DeleteEmailMonitoringConfiguration' {..} =+ Prelude.rnf organizationId++instance+ Data.ToHeaders+ DeleteEmailMonitoringConfiguration+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteEmailMonitoringConfiguration" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance+ Data.ToJSON+ DeleteEmailMonitoringConfiguration+ where+ toJSON DeleteEmailMonitoringConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance+ Data.ToPath+ DeleteEmailMonitoringConfiguration+ where+ toPath = Prelude.const "/"++instance+ Data.ToQuery+ DeleteEmailMonitoringConfiguration+ where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteEmailMonitoringConfigurationResponse' smart constructor.+data DeleteEmailMonitoringConfigurationResponse = DeleteEmailMonitoringConfigurationResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEmailMonitoringConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteEmailMonitoringConfigurationResponse_httpStatus' - The response's http status code.+newDeleteEmailMonitoringConfigurationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteEmailMonitoringConfigurationResponse+newDeleteEmailMonitoringConfigurationResponse+ pHttpStatus_ =+ DeleteEmailMonitoringConfigurationResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteEmailMonitoringConfigurationResponse_httpStatus :: Lens.Lens' DeleteEmailMonitoringConfigurationResponse Prelude.Int+deleteEmailMonitoringConfigurationResponse_httpStatus = Lens.lens (\DeleteEmailMonitoringConfigurationResponse' {httpStatus} -> httpStatus) (\s@DeleteEmailMonitoringConfigurationResponse' {} a -> s {httpStatus = a} :: DeleteEmailMonitoringConfigurationResponse)++instance+ Prelude.NFData+ DeleteEmailMonitoringConfigurationResponse+ where+ rnf DeleteEmailMonitoringConfigurationResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteGroup.hs view
@@ -0,0 +1,171 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a group from WorkMail.+module Amazonka.WorkMail.DeleteGroup+ ( -- * Creating a Request+ DeleteGroup (..),+ newDeleteGroup,++ -- * Request Lenses+ deleteGroup_organizationId,+ deleteGroup_groupId,++ -- * Destructuring the Response+ DeleteGroupResponse (..),+ newDeleteGroupResponse,++ -- * Response Lenses+ deleteGroupResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteGroup' smart constructor.+data DeleteGroup = DeleteGroup'+ { -- | The organization that contains the group.+ organizationId :: Prelude.Text,+ -- | The identifier of the group to be deleted.+ groupId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteGroup_organizationId' - The organization that contains the group.+--+-- 'groupId', 'deleteGroup_groupId' - The identifier of the group to be deleted.+newDeleteGroup ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'groupId'+ Prelude.Text ->+ DeleteGroup+newDeleteGroup pOrganizationId_ pGroupId_ =+ DeleteGroup'+ { organizationId = pOrganizationId_,+ groupId = pGroupId_+ }++-- | The organization that contains the group.+deleteGroup_organizationId :: Lens.Lens' DeleteGroup Prelude.Text+deleteGroup_organizationId = Lens.lens (\DeleteGroup' {organizationId} -> organizationId) (\s@DeleteGroup' {} a -> s {organizationId = a} :: DeleteGroup)++-- | The identifier of the group to be deleted.+deleteGroup_groupId :: Lens.Lens' DeleteGroup Prelude.Text+deleteGroup_groupId = Lens.lens (\DeleteGroup' {groupId} -> groupId) (\s@DeleteGroup' {} a -> s {groupId = a} :: DeleteGroup)++instance Core.AWSRequest DeleteGroup where+ type AWSResponse DeleteGroup = DeleteGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteGroupResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteGroup where+ hashWithSalt _salt DeleteGroup' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` groupId++instance Prelude.NFData DeleteGroup where+ rnf DeleteGroup' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf groupId++instance Data.ToHeaders DeleteGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteGroup where+ toJSON DeleteGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("GroupId" Data..= groupId)+ ]+ )++instance Data.ToPath DeleteGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteGroupResponse' smart constructor.+data DeleteGroupResponse = DeleteGroupResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteGroupResponse_httpStatus' - The response's http status code.+newDeleteGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteGroupResponse+newDeleteGroupResponse pHttpStatus_ =+ DeleteGroupResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteGroupResponse_httpStatus :: Lens.Lens' DeleteGroupResponse Prelude.Int+deleteGroupResponse_httpStatus = Lens.lens (\DeleteGroupResponse' {httpStatus} -> httpStatus) (\s@DeleteGroupResponse' {} a -> s {httpStatus = a} :: DeleteGroupResponse)++instance Prelude.NFData DeleteGroupResponse where+ rnf DeleteGroupResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteImpersonationRole.hs view
@@ -0,0 +1,184 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteImpersonationRole+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an impersonation role for the given WorkMail organization.+module Amazonka.WorkMail.DeleteImpersonationRole+ ( -- * Creating a Request+ DeleteImpersonationRole (..),+ newDeleteImpersonationRole,++ -- * Request Lenses+ deleteImpersonationRole_organizationId,+ deleteImpersonationRole_impersonationRoleId,++ -- * Destructuring the Response+ DeleteImpersonationRoleResponse (..),+ newDeleteImpersonationRoleResponse,++ -- * Response Lenses+ deleteImpersonationRoleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteImpersonationRole' smart constructor.+data DeleteImpersonationRole = DeleteImpersonationRole'+ { -- | The WorkMail organization from which to delete the impersonation role.+ organizationId :: Prelude.Text,+ -- | The ID of the impersonation role to delete.+ impersonationRoleId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteImpersonationRole' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteImpersonationRole_organizationId' - The WorkMail organization from which to delete the impersonation role.+--+-- 'impersonationRoleId', 'deleteImpersonationRole_impersonationRoleId' - The ID of the impersonation role to delete.+newDeleteImpersonationRole ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'impersonationRoleId'+ Prelude.Text ->+ DeleteImpersonationRole+newDeleteImpersonationRole+ pOrganizationId_+ pImpersonationRoleId_ =+ DeleteImpersonationRole'+ { organizationId =+ pOrganizationId_,+ impersonationRoleId = pImpersonationRoleId_+ }++-- | The WorkMail organization from which to delete the impersonation role.+deleteImpersonationRole_organizationId :: Lens.Lens' DeleteImpersonationRole Prelude.Text+deleteImpersonationRole_organizationId = Lens.lens (\DeleteImpersonationRole' {organizationId} -> organizationId) (\s@DeleteImpersonationRole' {} a -> s {organizationId = a} :: DeleteImpersonationRole)++-- | The ID of the impersonation role to delete.+deleteImpersonationRole_impersonationRoleId :: Lens.Lens' DeleteImpersonationRole Prelude.Text+deleteImpersonationRole_impersonationRoleId = Lens.lens (\DeleteImpersonationRole' {impersonationRoleId} -> impersonationRoleId) (\s@DeleteImpersonationRole' {} a -> s {impersonationRoleId = a} :: DeleteImpersonationRole)++instance Core.AWSRequest DeleteImpersonationRole where+ type+ AWSResponse DeleteImpersonationRole =+ DeleteImpersonationRoleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteImpersonationRoleResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteImpersonationRole where+ hashWithSalt _salt DeleteImpersonationRole' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` impersonationRoleId++instance Prelude.NFData DeleteImpersonationRole where+ rnf DeleteImpersonationRole' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf impersonationRoleId++instance Data.ToHeaders DeleteImpersonationRole where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteImpersonationRole" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteImpersonationRole where+ toJSON DeleteImpersonationRole' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ("ImpersonationRoleId" Data..= impersonationRoleId)+ ]+ )++instance Data.ToPath DeleteImpersonationRole where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteImpersonationRole where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteImpersonationRoleResponse' smart constructor.+data DeleteImpersonationRoleResponse = DeleteImpersonationRoleResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteImpersonationRoleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteImpersonationRoleResponse_httpStatus' - The response's http status code.+newDeleteImpersonationRoleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteImpersonationRoleResponse+newDeleteImpersonationRoleResponse pHttpStatus_ =+ DeleteImpersonationRoleResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteImpersonationRoleResponse_httpStatus :: Lens.Lens' DeleteImpersonationRoleResponse Prelude.Int+deleteImpersonationRoleResponse_httpStatus = Lens.lens (\DeleteImpersonationRoleResponse' {httpStatus} -> httpStatus) (\s@DeleteImpersonationRoleResponse' {} a -> s {httpStatus = a} :: DeleteImpersonationRoleResponse)++instance+ Prelude.NFData+ DeleteImpersonationRoleResponse+ where+ rnf DeleteImpersonationRoleResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteMailboxPermissions.hs view
@@ -0,0 +1,205 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteMailboxPermissions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes permissions granted to a member (user or group).+module Amazonka.WorkMail.DeleteMailboxPermissions+ ( -- * Creating a Request+ DeleteMailboxPermissions (..),+ newDeleteMailboxPermissions,++ -- * Request Lenses+ deleteMailboxPermissions_organizationId,+ deleteMailboxPermissions_entityId,+ deleteMailboxPermissions_granteeId,++ -- * Destructuring the Response+ DeleteMailboxPermissionsResponse (..),+ newDeleteMailboxPermissionsResponse,++ -- * Response Lenses+ deleteMailboxPermissionsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteMailboxPermissions' smart constructor.+data DeleteMailboxPermissions = DeleteMailboxPermissions'+ { -- | The identifier of the organization under which the member (user or+ -- group) exists.+ organizationId :: Prelude.Text,+ -- | The identifier of the member (user or group) that owns the mailbox.+ entityId :: Prelude.Text,+ -- | The identifier of the member (user or group) for which to delete granted+ -- permissions.+ granteeId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMailboxPermissions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteMailboxPermissions_organizationId' - The identifier of the organization under which the member (user or+-- group) exists.+--+-- 'entityId', 'deleteMailboxPermissions_entityId' - The identifier of the member (user or group) that owns the mailbox.+--+-- 'granteeId', 'deleteMailboxPermissions_granteeId' - The identifier of the member (user or group) for which to delete granted+-- permissions.+newDeleteMailboxPermissions ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ -- | 'granteeId'+ Prelude.Text ->+ DeleteMailboxPermissions+newDeleteMailboxPermissions+ pOrganizationId_+ pEntityId_+ pGranteeId_ =+ DeleteMailboxPermissions'+ { organizationId =+ pOrganizationId_,+ entityId = pEntityId_,+ granteeId = pGranteeId_+ }++-- | The identifier of the organization under which the member (user or+-- group) exists.+deleteMailboxPermissions_organizationId :: Lens.Lens' DeleteMailboxPermissions Prelude.Text+deleteMailboxPermissions_organizationId = Lens.lens (\DeleteMailboxPermissions' {organizationId} -> organizationId) (\s@DeleteMailboxPermissions' {} a -> s {organizationId = a} :: DeleteMailboxPermissions)++-- | The identifier of the member (user or group) that owns the mailbox.+deleteMailboxPermissions_entityId :: Lens.Lens' DeleteMailboxPermissions Prelude.Text+deleteMailboxPermissions_entityId = Lens.lens (\DeleteMailboxPermissions' {entityId} -> entityId) (\s@DeleteMailboxPermissions' {} a -> s {entityId = a} :: DeleteMailboxPermissions)++-- | The identifier of the member (user or group) for which to delete granted+-- permissions.+deleteMailboxPermissions_granteeId :: Lens.Lens' DeleteMailboxPermissions Prelude.Text+deleteMailboxPermissions_granteeId = Lens.lens (\DeleteMailboxPermissions' {granteeId} -> granteeId) (\s@DeleteMailboxPermissions' {} a -> s {granteeId = a} :: DeleteMailboxPermissions)++instance Core.AWSRequest DeleteMailboxPermissions where+ type+ AWSResponse DeleteMailboxPermissions =+ DeleteMailboxPermissionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteMailboxPermissionsResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteMailboxPermissions where+ hashWithSalt _salt DeleteMailboxPermissions' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` granteeId++instance Prelude.NFData DeleteMailboxPermissions where+ rnf DeleteMailboxPermissions' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf granteeId++instance Data.ToHeaders DeleteMailboxPermissions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteMailboxPermissions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteMailboxPermissions where+ toJSON DeleteMailboxPermissions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId),+ Prelude.Just ("GranteeId" Data..= granteeId)+ ]+ )++instance Data.ToPath DeleteMailboxPermissions where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteMailboxPermissions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteMailboxPermissionsResponse' smart constructor.+data DeleteMailboxPermissionsResponse = DeleteMailboxPermissionsResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMailboxPermissionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteMailboxPermissionsResponse_httpStatus' - The response's http status code.+newDeleteMailboxPermissionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteMailboxPermissionsResponse+newDeleteMailboxPermissionsResponse pHttpStatus_ =+ DeleteMailboxPermissionsResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteMailboxPermissionsResponse_httpStatus :: Lens.Lens' DeleteMailboxPermissionsResponse Prelude.Int+deleteMailboxPermissionsResponse_httpStatus = Lens.lens (\DeleteMailboxPermissionsResponse' {httpStatus} -> httpStatus) (\s@DeleteMailboxPermissionsResponse' {} a -> s {httpStatus = a} :: DeleteMailboxPermissionsResponse)++instance+ Prelude.NFData+ DeleteMailboxPermissionsResponse+ where+ rnf DeleteMailboxPermissionsResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteMobileDeviceAccessOverride.hs view
@@ -0,0 +1,249 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteMobileDeviceAccessOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the mobile device access override for the given WorkMail+-- organization, user, and device.+--+-- Deleting already deleted and non-existing overrides does not produce an+-- error. In those cases, the service sends back an HTTP 200 response with+-- an empty HTTP body.+module Amazonka.WorkMail.DeleteMobileDeviceAccessOverride+ ( -- * Creating a Request+ DeleteMobileDeviceAccessOverride (..),+ newDeleteMobileDeviceAccessOverride,++ -- * Request Lenses+ deleteMobileDeviceAccessOverride_organizationId,+ deleteMobileDeviceAccessOverride_userId,+ deleteMobileDeviceAccessOverride_deviceId,++ -- * Destructuring the Response+ DeleteMobileDeviceAccessOverrideResponse (..),+ newDeleteMobileDeviceAccessOverrideResponse,++ -- * Response Lenses+ deleteMobileDeviceAccessOverrideResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteMobileDeviceAccessOverride' smart constructor.+data DeleteMobileDeviceAccessOverride = DeleteMobileDeviceAccessOverride'+ { -- | The WorkMail organization for which the access override will be deleted.+ organizationId :: Prelude.Text,+ -- | The WorkMail user for which you want to delete the override. Accepts the+ -- following types of user identities:+ --+ -- - User ID: @12345678-1234-1234-1234-123456789012@ or+ -- @S-1-1-12-1234567890-123456789-123456789-1234@+ --+ -- - Email address: @user\@domain.tld@+ --+ -- - User name: @user@+ userId :: Prelude.Text,+ -- | The mobile device for which you delete the override. @DeviceId@ is case+ -- insensitive.+ deviceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMobileDeviceAccessOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteMobileDeviceAccessOverride_organizationId' - The WorkMail organization for which the access override will be deleted.+--+-- 'userId', 'deleteMobileDeviceAccessOverride_userId' - The WorkMail user for which you want to delete the override. Accepts the+-- following types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+--+-- 'deviceId', 'deleteMobileDeviceAccessOverride_deviceId' - The mobile device for which you delete the override. @DeviceId@ is case+-- insensitive.+newDeleteMobileDeviceAccessOverride ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ -- | 'deviceId'+ Prelude.Text ->+ DeleteMobileDeviceAccessOverride+newDeleteMobileDeviceAccessOverride+ pOrganizationId_+ pUserId_+ pDeviceId_ =+ DeleteMobileDeviceAccessOverride'+ { organizationId =+ pOrganizationId_,+ userId = pUserId_,+ deviceId = pDeviceId_+ }++-- | The WorkMail organization for which the access override will be deleted.+deleteMobileDeviceAccessOverride_organizationId :: Lens.Lens' DeleteMobileDeviceAccessOverride Prelude.Text+deleteMobileDeviceAccessOverride_organizationId = Lens.lens (\DeleteMobileDeviceAccessOverride' {organizationId} -> organizationId) (\s@DeleteMobileDeviceAccessOverride' {} a -> s {organizationId = a} :: DeleteMobileDeviceAccessOverride)++-- | The WorkMail user for which you want to delete the override. Accepts the+-- following types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+deleteMobileDeviceAccessOverride_userId :: Lens.Lens' DeleteMobileDeviceAccessOverride Prelude.Text+deleteMobileDeviceAccessOverride_userId = Lens.lens (\DeleteMobileDeviceAccessOverride' {userId} -> userId) (\s@DeleteMobileDeviceAccessOverride' {} a -> s {userId = a} :: DeleteMobileDeviceAccessOverride)++-- | The mobile device for which you delete the override. @DeviceId@ is case+-- insensitive.+deleteMobileDeviceAccessOverride_deviceId :: Lens.Lens' DeleteMobileDeviceAccessOverride Prelude.Text+deleteMobileDeviceAccessOverride_deviceId = Lens.lens (\DeleteMobileDeviceAccessOverride' {deviceId} -> deviceId) (\s@DeleteMobileDeviceAccessOverride' {} a -> s {deviceId = a} :: DeleteMobileDeviceAccessOverride)++instance+ Core.AWSRequest+ DeleteMobileDeviceAccessOverride+ where+ type+ AWSResponse DeleteMobileDeviceAccessOverride =+ DeleteMobileDeviceAccessOverrideResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteMobileDeviceAccessOverrideResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ DeleteMobileDeviceAccessOverride+ where+ hashWithSalt+ _salt+ DeleteMobileDeviceAccessOverride' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId+ `Prelude.hashWithSalt` deviceId++instance+ Prelude.NFData+ DeleteMobileDeviceAccessOverride+ where+ rnf DeleteMobileDeviceAccessOverride' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf deviceId++instance+ Data.ToHeaders+ DeleteMobileDeviceAccessOverride+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteMobileDeviceAccessOverride" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteMobileDeviceAccessOverride where+ toJSON DeleteMobileDeviceAccessOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId),+ Prelude.Just ("DeviceId" Data..= deviceId)+ ]+ )++instance Data.ToPath DeleteMobileDeviceAccessOverride where+ toPath = Prelude.const "/"++instance+ Data.ToQuery+ DeleteMobileDeviceAccessOverride+ where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteMobileDeviceAccessOverrideResponse' smart constructor.+data DeleteMobileDeviceAccessOverrideResponse = DeleteMobileDeviceAccessOverrideResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMobileDeviceAccessOverrideResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteMobileDeviceAccessOverrideResponse_httpStatus' - The response's http status code.+newDeleteMobileDeviceAccessOverrideResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteMobileDeviceAccessOverrideResponse+newDeleteMobileDeviceAccessOverrideResponse+ pHttpStatus_ =+ DeleteMobileDeviceAccessOverrideResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteMobileDeviceAccessOverrideResponse_httpStatus :: Lens.Lens' DeleteMobileDeviceAccessOverrideResponse Prelude.Int+deleteMobileDeviceAccessOverrideResponse_httpStatus = Lens.lens (\DeleteMobileDeviceAccessOverrideResponse' {httpStatus} -> httpStatus) (\s@DeleteMobileDeviceAccessOverrideResponse' {} a -> s {httpStatus = a} :: DeleteMobileDeviceAccessOverrideResponse)++instance+ Prelude.NFData+ DeleteMobileDeviceAccessOverrideResponse+ where+ rnf DeleteMobileDeviceAccessOverrideResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteMobileDeviceAccessRule.hs view
@@ -0,0 +1,195 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteMobileDeviceAccessRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a mobile device access rule for the specified WorkMail+-- organization.+--+-- Deleting already deleted and non-existing rules does not produce an+-- error. In those cases, the service sends back an HTTP 200 response with+-- an empty HTTP body.+module Amazonka.WorkMail.DeleteMobileDeviceAccessRule+ ( -- * Creating a Request+ DeleteMobileDeviceAccessRule (..),+ newDeleteMobileDeviceAccessRule,++ -- * Request Lenses+ deleteMobileDeviceAccessRule_organizationId,+ deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId,++ -- * Destructuring the Response+ DeleteMobileDeviceAccessRuleResponse (..),+ newDeleteMobileDeviceAccessRuleResponse,++ -- * Response Lenses+ deleteMobileDeviceAccessRuleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteMobileDeviceAccessRule' smart constructor.+data DeleteMobileDeviceAccessRule = DeleteMobileDeviceAccessRule'+ { -- | The WorkMail organization under which the rule will be deleted.+ organizationId :: Prelude.Text,+ -- | The identifier of the rule to be deleted.+ mobileDeviceAccessRuleId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMobileDeviceAccessRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteMobileDeviceAccessRule_organizationId' - The WorkMail organization under which the rule will be deleted.+--+-- 'mobileDeviceAccessRuleId', 'deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId' - The identifier of the rule to be deleted.+newDeleteMobileDeviceAccessRule ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'mobileDeviceAccessRuleId'+ Prelude.Text ->+ DeleteMobileDeviceAccessRule+newDeleteMobileDeviceAccessRule+ pOrganizationId_+ pMobileDeviceAccessRuleId_ =+ DeleteMobileDeviceAccessRule'+ { organizationId =+ pOrganizationId_,+ mobileDeviceAccessRuleId =+ pMobileDeviceAccessRuleId_+ }++-- | The WorkMail organization under which the rule will be deleted.+deleteMobileDeviceAccessRule_organizationId :: Lens.Lens' DeleteMobileDeviceAccessRule Prelude.Text+deleteMobileDeviceAccessRule_organizationId = Lens.lens (\DeleteMobileDeviceAccessRule' {organizationId} -> organizationId) (\s@DeleteMobileDeviceAccessRule' {} a -> s {organizationId = a} :: DeleteMobileDeviceAccessRule)++-- | The identifier of the rule to be deleted.+deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens.Lens' DeleteMobileDeviceAccessRule Prelude.Text+deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId = Lens.lens (\DeleteMobileDeviceAccessRule' {mobileDeviceAccessRuleId} -> mobileDeviceAccessRuleId) (\s@DeleteMobileDeviceAccessRule' {} a -> s {mobileDeviceAccessRuleId = a} :: DeleteMobileDeviceAccessRule)++instance Core.AWSRequest DeleteMobileDeviceAccessRule where+ type+ AWSResponse DeleteMobileDeviceAccessRule =+ DeleteMobileDeviceAccessRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteMobileDeviceAccessRuleResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ DeleteMobileDeviceAccessRule+ where+ hashWithSalt _salt DeleteMobileDeviceAccessRule' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` mobileDeviceAccessRuleId++instance Prelude.NFData DeleteMobileDeviceAccessRule where+ rnf DeleteMobileDeviceAccessRule' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf mobileDeviceAccessRuleId++instance Data.ToHeaders DeleteMobileDeviceAccessRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteMobileDeviceAccessRule" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteMobileDeviceAccessRule where+ toJSON DeleteMobileDeviceAccessRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ( "MobileDeviceAccessRuleId"+ Data..= mobileDeviceAccessRuleId+ )+ ]+ )++instance Data.ToPath DeleteMobileDeviceAccessRule where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteMobileDeviceAccessRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteMobileDeviceAccessRuleResponse' smart constructor.+data DeleteMobileDeviceAccessRuleResponse = DeleteMobileDeviceAccessRuleResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMobileDeviceAccessRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteMobileDeviceAccessRuleResponse_httpStatus' - The response's http status code.+newDeleteMobileDeviceAccessRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteMobileDeviceAccessRuleResponse+newDeleteMobileDeviceAccessRuleResponse pHttpStatus_ =+ DeleteMobileDeviceAccessRuleResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteMobileDeviceAccessRuleResponse_httpStatus :: Lens.Lens' DeleteMobileDeviceAccessRuleResponse Prelude.Int+deleteMobileDeviceAccessRuleResponse_httpStatus = Lens.lens (\DeleteMobileDeviceAccessRuleResponse' {httpStatus} -> httpStatus) (\s@DeleteMobileDeviceAccessRuleResponse' {} a -> s {httpStatus = a} :: DeleteMobileDeviceAccessRuleResponse)++instance+ Prelude.NFData+ DeleteMobileDeviceAccessRuleResponse+ where+ rnf DeleteMobileDeviceAccessRuleResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteOrganization.hs view
@@ -0,0 +1,224 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteOrganization+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an WorkMail organization and all underlying AWS resources+-- managed by WorkMail as part of the organization. You can choose whether+-- to delete the associated directory. For more information, see+-- <https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html Removing an organization>+-- in the /WorkMail Administrator Guide/.+module Amazonka.WorkMail.DeleteOrganization+ ( -- * Creating a Request+ DeleteOrganization (..),+ newDeleteOrganization,++ -- * Request Lenses+ deleteOrganization_clientToken,+ deleteOrganization_organizationId,+ deleteOrganization_deleteDirectory,++ -- * Destructuring the Response+ DeleteOrganizationResponse (..),+ newDeleteOrganizationResponse,++ -- * Response Lenses+ deleteOrganizationResponse_organizationId,+ deleteOrganizationResponse_state,+ deleteOrganizationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteOrganization' smart constructor.+data DeleteOrganization = DeleteOrganization'+ { -- | The idempotency token associated with the request.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | The organization ID.+ organizationId :: Prelude.Text,+ -- | If true, deletes the AWS Directory Service directory associated with the+ -- organization.+ deleteDirectory :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientToken', 'deleteOrganization_clientToken' - The idempotency token associated with the request.+--+-- 'organizationId', 'deleteOrganization_organizationId' - The organization ID.+--+-- 'deleteDirectory', 'deleteOrganization_deleteDirectory' - If true, deletes the AWS Directory Service directory associated with the+-- organization.+newDeleteOrganization ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'deleteDirectory'+ Prelude.Bool ->+ DeleteOrganization+newDeleteOrganization+ pOrganizationId_+ pDeleteDirectory_ =+ DeleteOrganization'+ { clientToken = Prelude.Nothing,+ organizationId = pOrganizationId_,+ deleteDirectory = pDeleteDirectory_+ }++-- | The idempotency token associated with the request.+deleteOrganization_clientToken :: Lens.Lens' DeleteOrganization (Prelude.Maybe Prelude.Text)+deleteOrganization_clientToken = Lens.lens (\DeleteOrganization' {clientToken} -> clientToken) (\s@DeleteOrganization' {} a -> s {clientToken = a} :: DeleteOrganization)++-- | The organization ID.+deleteOrganization_organizationId :: Lens.Lens' DeleteOrganization Prelude.Text+deleteOrganization_organizationId = Lens.lens (\DeleteOrganization' {organizationId} -> organizationId) (\s@DeleteOrganization' {} a -> s {organizationId = a} :: DeleteOrganization)++-- | If true, deletes the AWS Directory Service directory associated with the+-- organization.+deleteOrganization_deleteDirectory :: Lens.Lens' DeleteOrganization Prelude.Bool+deleteOrganization_deleteDirectory = Lens.lens (\DeleteOrganization' {deleteDirectory} -> deleteDirectory) (\s@DeleteOrganization' {} a -> s {deleteDirectory = a} :: DeleteOrganization)++instance Core.AWSRequest DeleteOrganization where+ type+ AWSResponse DeleteOrganization =+ DeleteOrganizationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteOrganizationResponse'+ Prelude.<$> (x Data..?> "OrganizationId")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteOrganization where+ hashWithSalt _salt DeleteOrganization' {..} =+ _salt+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` deleteDirectory++instance Prelude.NFData DeleteOrganization where+ rnf DeleteOrganization' {..} =+ Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf deleteDirectory++instance Data.ToHeaders DeleteOrganization where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteOrganization" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteOrganization where+ toJSON DeleteOrganization' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientToken" Data..=) Prelude.<$> clientToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ("DeleteDirectory" Data..= deleteDirectory)+ ]+ )++instance Data.ToPath DeleteOrganization where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteOrganization where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteOrganizationResponse' smart constructor.+data DeleteOrganizationResponse = DeleteOrganizationResponse'+ { -- | The organization ID.+ organizationId :: Prelude.Maybe Prelude.Text,+ -- | The state of the organization.+ state :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteOrganizationResponse_organizationId' - The organization ID.+--+-- 'state', 'deleteOrganizationResponse_state' - The state of the organization.+--+-- 'httpStatus', 'deleteOrganizationResponse_httpStatus' - The response's http status code.+newDeleteOrganizationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteOrganizationResponse+newDeleteOrganizationResponse pHttpStatus_ =+ DeleteOrganizationResponse'+ { organizationId =+ Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The organization ID.+deleteOrganizationResponse_organizationId :: Lens.Lens' DeleteOrganizationResponse (Prelude.Maybe Prelude.Text)+deleteOrganizationResponse_organizationId = Lens.lens (\DeleteOrganizationResponse' {organizationId} -> organizationId) (\s@DeleteOrganizationResponse' {} a -> s {organizationId = a} :: DeleteOrganizationResponse)++-- | The state of the organization.+deleteOrganizationResponse_state :: Lens.Lens' DeleteOrganizationResponse (Prelude.Maybe Prelude.Text)+deleteOrganizationResponse_state = Lens.lens (\DeleteOrganizationResponse' {state} -> state) (\s@DeleteOrganizationResponse' {} a -> s {state = a} :: DeleteOrganizationResponse)++-- | The response's http status code.+deleteOrganizationResponse_httpStatus :: Lens.Lens' DeleteOrganizationResponse Prelude.Int+deleteOrganizationResponse_httpStatus = Lens.lens (\DeleteOrganizationResponse' {httpStatus} -> httpStatus) (\s@DeleteOrganizationResponse' {} a -> s {httpStatus = a} :: DeleteOrganizationResponse)++instance Prelude.NFData DeleteOrganizationResponse where+ rnf DeleteOrganizationResponse' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteResource.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified resource.+module Amazonka.WorkMail.DeleteResource+ ( -- * Creating a Request+ DeleteResource (..),+ newDeleteResource,++ -- * Request Lenses+ deleteResource_organizationId,+ deleteResource_resourceId,++ -- * Destructuring the Response+ DeleteResourceResponse (..),+ newDeleteResourceResponse,++ -- * Response Lenses+ deleteResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteResource' smart constructor.+data DeleteResource = DeleteResource'+ { -- | The identifier associated with the organization from which the resource+ -- is deleted.+ organizationId :: Prelude.Text,+ -- | The identifier of the resource to be deleted.+ resourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteResource_organizationId' - The identifier associated with the organization from which the resource+-- is deleted.+--+-- 'resourceId', 'deleteResource_resourceId' - The identifier of the resource to be deleted.+newDeleteResource ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'resourceId'+ Prelude.Text ->+ DeleteResource+newDeleteResource pOrganizationId_ pResourceId_ =+ DeleteResource'+ { organizationId = pOrganizationId_,+ resourceId = pResourceId_+ }++-- | The identifier associated with the organization from which the resource+-- is deleted.+deleteResource_organizationId :: Lens.Lens' DeleteResource Prelude.Text+deleteResource_organizationId = Lens.lens (\DeleteResource' {organizationId} -> organizationId) (\s@DeleteResource' {} a -> s {organizationId = a} :: DeleteResource)++-- | The identifier of the resource to be deleted.+deleteResource_resourceId :: Lens.Lens' DeleteResource Prelude.Text+deleteResource_resourceId = Lens.lens (\DeleteResource' {resourceId} -> resourceId) (\s@DeleteResource' {} a -> s {resourceId = a} :: DeleteResource)++instance Core.AWSRequest DeleteResource where+ type+ AWSResponse DeleteResource =+ DeleteResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteResource where+ hashWithSalt _salt DeleteResource' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` resourceId++instance Prelude.NFData DeleteResource where+ rnf DeleteResource' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf resourceId++instance Data.ToHeaders DeleteResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteResource where+ toJSON DeleteResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("ResourceId" Data..= resourceId)+ ]+ )++instance Data.ToPath DeleteResource where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteResourceResponse' smart constructor.+data DeleteResourceResponse = DeleteResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteResourceResponse_httpStatus' - The response's http status code.+newDeleteResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteResourceResponse+newDeleteResourceResponse pHttpStatus_ =+ DeleteResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteResourceResponse_httpStatus :: Lens.Lens' DeleteResourceResponse Prelude.Int+deleteResourceResponse_httpStatus = Lens.lens (\DeleteResourceResponse' {httpStatus} -> httpStatus) (\s@DeleteResourceResponse' {} a -> s {httpStatus = a} :: DeleteResourceResponse)++instance Prelude.NFData DeleteResourceResponse where+ rnf DeleteResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteRetentionPolicy.hs view
@@ -0,0 +1,178 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteRetentionPolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified retention policy from the specified organization.+module Amazonka.WorkMail.DeleteRetentionPolicy+ ( -- * Creating a Request+ DeleteRetentionPolicy (..),+ newDeleteRetentionPolicy,++ -- * Request Lenses+ deleteRetentionPolicy_organizationId,+ deleteRetentionPolicy_id,++ -- * Destructuring the Response+ DeleteRetentionPolicyResponse (..),+ newDeleteRetentionPolicyResponse,++ -- * Response Lenses+ deleteRetentionPolicyResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteRetentionPolicy' smart constructor.+data DeleteRetentionPolicy = DeleteRetentionPolicy'+ { -- | The organization ID.+ organizationId :: Prelude.Text,+ -- | The retention policy ID.+ id :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteRetentionPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteRetentionPolicy_organizationId' - The organization ID.+--+-- 'id', 'deleteRetentionPolicy_id' - The retention policy ID.+newDeleteRetentionPolicy ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'id'+ Prelude.Text ->+ DeleteRetentionPolicy+newDeleteRetentionPolicy pOrganizationId_ pId_ =+ DeleteRetentionPolicy'+ { organizationId =+ pOrganizationId_,+ id = pId_+ }++-- | The organization ID.+deleteRetentionPolicy_organizationId :: Lens.Lens' DeleteRetentionPolicy Prelude.Text+deleteRetentionPolicy_organizationId = Lens.lens (\DeleteRetentionPolicy' {organizationId} -> organizationId) (\s@DeleteRetentionPolicy' {} a -> s {organizationId = a} :: DeleteRetentionPolicy)++-- | The retention policy ID.+deleteRetentionPolicy_id :: Lens.Lens' DeleteRetentionPolicy Prelude.Text+deleteRetentionPolicy_id = Lens.lens (\DeleteRetentionPolicy' {id} -> id) (\s@DeleteRetentionPolicy' {} a -> s {id = a} :: DeleteRetentionPolicy)++instance Core.AWSRequest DeleteRetentionPolicy where+ type+ AWSResponse DeleteRetentionPolicy =+ DeleteRetentionPolicyResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteRetentionPolicyResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteRetentionPolicy where+ hashWithSalt _salt DeleteRetentionPolicy' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` id++instance Prelude.NFData DeleteRetentionPolicy where+ rnf DeleteRetentionPolicy' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf id++instance Data.ToHeaders DeleteRetentionPolicy where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeleteRetentionPolicy" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteRetentionPolicy where+ toJSON DeleteRetentionPolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Id" Data..= id)+ ]+ )++instance Data.ToPath DeleteRetentionPolicy where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteRetentionPolicy where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteRetentionPolicyResponse' smart constructor.+data DeleteRetentionPolicyResponse = DeleteRetentionPolicyResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteRetentionPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteRetentionPolicyResponse_httpStatus' - The response's http status code.+newDeleteRetentionPolicyResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteRetentionPolicyResponse+newDeleteRetentionPolicyResponse pHttpStatus_ =+ DeleteRetentionPolicyResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteRetentionPolicyResponse_httpStatus :: Lens.Lens' DeleteRetentionPolicyResponse Prelude.Int+deleteRetentionPolicyResponse_httpStatus = Lens.lens (\DeleteRetentionPolicyResponse' {httpStatus} -> httpStatus) (\s@DeleteRetentionPolicyResponse' {} a -> s {httpStatus = a} :: DeleteRetentionPolicyResponse)++instance Prelude.NFData DeleteRetentionPolicyResponse where+ rnf DeleteRetentionPolicyResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeleteUser.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeleteUser+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a user from 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.+module Amazonka.WorkMail.DeleteUser+ ( -- * Creating a Request+ DeleteUser (..),+ newDeleteUser,++ -- * Request Lenses+ deleteUser_organizationId,+ deleteUser_userId,++ -- * Destructuring the Response+ DeleteUserResponse (..),+ newDeleteUserResponse,++ -- * Response Lenses+ deleteUserResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeleteUser' smart constructor.+data DeleteUser = DeleteUser'+ { -- | The organization that contains the user to be deleted.+ organizationId :: Prelude.Text,+ -- | The identifier of the user to be deleted.+ userId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteUser' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deleteUser_organizationId' - The organization that contains the user to be deleted.+--+-- 'userId', 'deleteUser_userId' - The identifier of the user to be deleted.+newDeleteUser ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ DeleteUser+newDeleteUser pOrganizationId_ pUserId_ =+ DeleteUser'+ { organizationId = pOrganizationId_,+ userId = pUserId_+ }++-- | The organization that contains the user to be deleted.+deleteUser_organizationId :: Lens.Lens' DeleteUser Prelude.Text+deleteUser_organizationId = Lens.lens (\DeleteUser' {organizationId} -> organizationId) (\s@DeleteUser' {} a -> s {organizationId = a} :: DeleteUser)++-- | The identifier of the user to be deleted.+deleteUser_userId :: Lens.Lens' DeleteUser Prelude.Text+deleteUser_userId = Lens.lens (\DeleteUser' {userId} -> userId) (\s@DeleteUser' {} a -> s {userId = a} :: DeleteUser)++instance Core.AWSRequest DeleteUser where+ type AWSResponse DeleteUser = DeleteUserResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteUserResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteUser where+ hashWithSalt _salt DeleteUser' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId++instance Prelude.NFData DeleteUser where+ rnf DeleteUser' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId++instance Data.ToHeaders DeleteUser where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("WorkMailService.DeleteUser" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteUser where+ toJSON DeleteUser' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId)+ ]+ )++instance Data.ToPath DeleteUser where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteUser where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteUserResponse' smart constructor.+data DeleteUserResponse = DeleteUserResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteUserResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteUserResponse_httpStatus' - The response's http status code.+newDeleteUserResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteUserResponse+newDeleteUserResponse pHttpStatus_ =+ DeleteUserResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteUserResponse_httpStatus :: Lens.Lens' DeleteUserResponse Prelude.Int+deleteUserResponse_httpStatus = Lens.lens (\DeleteUserResponse' {httpStatus} -> httpStatus) (\s@DeleteUserResponse' {} a -> s {httpStatus = a} :: DeleteUserResponse)++instance Prelude.NFData DeleteUserResponse where+ rnf DeleteUserResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeregisterFromWorkMail.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeregisterFromWorkMail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Mark a user, group, or resource as no longer used in 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/.+module Amazonka.WorkMail.DeregisterFromWorkMail+ ( -- * Creating a Request+ DeregisterFromWorkMail (..),+ newDeregisterFromWorkMail,++ -- * Request Lenses+ deregisterFromWorkMail_organizationId,+ deregisterFromWorkMail_entityId,++ -- * Destructuring the Response+ DeregisterFromWorkMailResponse (..),+ newDeregisterFromWorkMailResponse,++ -- * Response Lenses+ deregisterFromWorkMailResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeregisterFromWorkMail' smart constructor.+data DeregisterFromWorkMail = DeregisterFromWorkMail'+ { -- | The identifier for the organization under which the WorkMail entity+ -- exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the member (user or group) to be updated.+ entityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterFromWorkMail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deregisterFromWorkMail_organizationId' - The identifier for the organization under which the WorkMail entity+-- exists.+--+-- 'entityId', 'deregisterFromWorkMail_entityId' - The identifier for the member (user or group) to be updated.+newDeregisterFromWorkMail ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ DeregisterFromWorkMail+newDeregisterFromWorkMail pOrganizationId_ pEntityId_ =+ DeregisterFromWorkMail'+ { organizationId =+ pOrganizationId_,+ entityId = pEntityId_+ }++-- | The identifier for the organization under which the WorkMail entity+-- exists.+deregisterFromWorkMail_organizationId :: Lens.Lens' DeregisterFromWorkMail Prelude.Text+deregisterFromWorkMail_organizationId = Lens.lens (\DeregisterFromWorkMail' {organizationId} -> organizationId) (\s@DeregisterFromWorkMail' {} a -> s {organizationId = a} :: DeregisterFromWorkMail)++-- | The identifier for the member (user or group) to be updated.+deregisterFromWorkMail_entityId :: Lens.Lens' DeregisterFromWorkMail Prelude.Text+deregisterFromWorkMail_entityId = Lens.lens (\DeregisterFromWorkMail' {entityId} -> entityId) (\s@DeregisterFromWorkMail' {} a -> s {entityId = a} :: DeregisterFromWorkMail)++instance Core.AWSRequest DeregisterFromWorkMail where+ type+ AWSResponse DeregisterFromWorkMail =+ DeregisterFromWorkMailResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeregisterFromWorkMailResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeregisterFromWorkMail where+ hashWithSalt _salt DeregisterFromWorkMail' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId++instance Prelude.NFData DeregisterFromWorkMail where+ rnf DeregisterFromWorkMail' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId++instance Data.ToHeaders DeregisterFromWorkMail where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeregisterFromWorkMail" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeregisterFromWorkMail where+ toJSON DeregisterFromWorkMail' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId)+ ]+ )++instance Data.ToPath DeregisterFromWorkMail where+ toPath = Prelude.const "/"++instance Data.ToQuery DeregisterFromWorkMail where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterFromWorkMailResponse' smart constructor.+data DeregisterFromWorkMailResponse = DeregisterFromWorkMailResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterFromWorkMailResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deregisterFromWorkMailResponse_httpStatus' - The response's http status code.+newDeregisterFromWorkMailResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeregisterFromWorkMailResponse+newDeregisterFromWorkMailResponse pHttpStatus_ =+ DeregisterFromWorkMailResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deregisterFromWorkMailResponse_httpStatus :: Lens.Lens' DeregisterFromWorkMailResponse Prelude.Int+deregisterFromWorkMailResponse_httpStatus = Lens.lens (\DeregisterFromWorkMailResponse' {httpStatus} -> httpStatus) (\s@DeregisterFromWorkMailResponse' {} a -> s {httpStatus = a} :: DeregisterFromWorkMailResponse)++instance+ Prelude.NFData+ DeregisterFromWorkMailResponse+ where+ rnf DeregisterFromWorkMailResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DeregisterMailDomain.hs view
@@ -0,0 +1,181 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DeregisterMailDomain+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes a domain from WorkMail, stops email routing to WorkMail, and+-- removes the authorization allowing WorkMail use. SES keeps the domain+-- because other applications may use it. You must first remove any email+-- address used by WorkMail entities before you remove the domain.+module Amazonka.WorkMail.DeregisterMailDomain+ ( -- * Creating a Request+ DeregisterMailDomain (..),+ newDeregisterMailDomain,++ -- * Request Lenses+ deregisterMailDomain_organizationId,+ deregisterMailDomain_domainName,++ -- * Destructuring the Response+ DeregisterMailDomainResponse (..),+ newDeregisterMailDomainResponse,++ -- * Response Lenses+ deregisterMailDomainResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDeregisterMailDomain' smart constructor.+data DeregisterMailDomain = DeregisterMailDomain'+ { -- | The WorkMail organization for which the domain will be deregistered.+ organizationId :: Prelude.Text,+ -- | The domain to deregister in WorkMail and SES.+ domainName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterMailDomain' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'deregisterMailDomain_organizationId' - The WorkMail organization for which the domain will be deregistered.+--+-- 'domainName', 'deregisterMailDomain_domainName' - The domain to deregister in WorkMail and SES.+newDeregisterMailDomain ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'domainName'+ Prelude.Text ->+ DeregisterMailDomain+newDeregisterMailDomain pOrganizationId_ pDomainName_ =+ DeregisterMailDomain'+ { organizationId =+ pOrganizationId_,+ domainName = pDomainName_+ }++-- | The WorkMail organization for which the domain will be deregistered.+deregisterMailDomain_organizationId :: Lens.Lens' DeregisterMailDomain Prelude.Text+deregisterMailDomain_organizationId = Lens.lens (\DeregisterMailDomain' {organizationId} -> organizationId) (\s@DeregisterMailDomain' {} a -> s {organizationId = a} :: DeregisterMailDomain)++-- | The domain to deregister in WorkMail and SES.+deregisterMailDomain_domainName :: Lens.Lens' DeregisterMailDomain Prelude.Text+deregisterMailDomain_domainName = Lens.lens (\DeregisterMailDomain' {domainName} -> domainName) (\s@DeregisterMailDomain' {} a -> s {domainName = a} :: DeregisterMailDomain)++instance Core.AWSRequest DeregisterMailDomain where+ type+ AWSResponse DeregisterMailDomain =+ DeregisterMailDomainResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeregisterMailDomainResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeregisterMailDomain where+ hashWithSalt _salt DeregisterMailDomain' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` domainName++instance Prelude.NFData DeregisterMailDomain where+ rnf DeregisterMailDomain' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf domainName++instance Data.ToHeaders DeregisterMailDomain where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DeregisterMailDomain" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeregisterMailDomain where+ toJSON DeregisterMailDomain' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("DomainName" Data..= domainName)+ ]+ )++instance Data.ToPath DeregisterMailDomain where+ toPath = Prelude.const "/"++instance Data.ToQuery DeregisterMailDomain where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterMailDomainResponse' smart constructor.+data DeregisterMailDomainResponse = DeregisterMailDomainResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterMailDomainResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deregisterMailDomainResponse_httpStatus' - The response's http status code.+newDeregisterMailDomainResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeregisterMailDomainResponse+newDeregisterMailDomainResponse pHttpStatus_ =+ DeregisterMailDomainResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deregisterMailDomainResponse_httpStatus :: Lens.Lens' DeregisterMailDomainResponse Prelude.Int+deregisterMailDomainResponse_httpStatus = Lens.lens (\DeregisterMailDomainResponse' {httpStatus} -> httpStatus) (\s@DeregisterMailDomainResponse' {} a -> s {httpStatus = a} :: DeregisterMailDomainResponse)++instance Prelude.NFData DeregisterMailDomainResponse where+ rnf DeregisterMailDomainResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DescribeEmailMonitoringConfiguration.hs view
@@ -0,0 +1,224 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DescribeEmailMonitoringConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the current email monitoring configuration for a specified+-- organization.+module Amazonka.WorkMail.DescribeEmailMonitoringConfiguration+ ( -- * Creating a Request+ DescribeEmailMonitoringConfiguration (..),+ newDescribeEmailMonitoringConfiguration,++ -- * Request Lenses+ describeEmailMonitoringConfiguration_organizationId,++ -- * Destructuring the Response+ DescribeEmailMonitoringConfigurationResponse (..),+ newDescribeEmailMonitoringConfigurationResponse,++ -- * Response Lenses+ describeEmailMonitoringConfigurationResponse_logGroupArn,+ describeEmailMonitoringConfigurationResponse_roleArn,+ describeEmailMonitoringConfigurationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDescribeEmailMonitoringConfiguration' smart constructor.+data DescribeEmailMonitoringConfiguration = DescribeEmailMonitoringConfiguration'+ { -- | The ID of the organization for which the email monitoring configuration+ -- is described.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEmailMonitoringConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'describeEmailMonitoringConfiguration_organizationId' - The ID of the organization for which the email monitoring configuration+-- is described.+newDescribeEmailMonitoringConfiguration ::+ -- | 'organizationId'+ Prelude.Text ->+ DescribeEmailMonitoringConfiguration+newDescribeEmailMonitoringConfiguration+ pOrganizationId_ =+ DescribeEmailMonitoringConfiguration'+ { organizationId =+ pOrganizationId_+ }++-- | The ID of the organization for which the email monitoring configuration+-- is described.+describeEmailMonitoringConfiguration_organizationId :: Lens.Lens' DescribeEmailMonitoringConfiguration Prelude.Text+describeEmailMonitoringConfiguration_organizationId = Lens.lens (\DescribeEmailMonitoringConfiguration' {organizationId} -> organizationId) (\s@DescribeEmailMonitoringConfiguration' {} a -> s {organizationId = a} :: DescribeEmailMonitoringConfiguration)++instance+ Core.AWSRequest+ DescribeEmailMonitoringConfiguration+ where+ type+ AWSResponse DescribeEmailMonitoringConfiguration =+ DescribeEmailMonitoringConfigurationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeEmailMonitoringConfigurationResponse'+ Prelude.<$> (x Data..?> "LogGroupArn")+ Prelude.<*> (x Data..?> "RoleArn")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ DescribeEmailMonitoringConfiguration+ where+ hashWithSalt+ _salt+ DescribeEmailMonitoringConfiguration' {..} =+ _salt `Prelude.hashWithSalt` organizationId++instance+ Prelude.NFData+ DescribeEmailMonitoringConfiguration+ where+ rnf DescribeEmailMonitoringConfiguration' {..} =+ Prelude.rnf organizationId++instance+ Data.ToHeaders+ DescribeEmailMonitoringConfiguration+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DescribeEmailMonitoringConfiguration" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance+ Data.ToJSON+ DescribeEmailMonitoringConfiguration+ where+ toJSON DescribeEmailMonitoringConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance+ Data.ToPath+ DescribeEmailMonitoringConfiguration+ where+ toPath = Prelude.const "/"++instance+ Data.ToQuery+ DescribeEmailMonitoringConfiguration+ where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEmailMonitoringConfigurationResponse' smart constructor.+data DescribeEmailMonitoringConfigurationResponse = DescribeEmailMonitoringConfigurationResponse'+ { -- | The Amazon Resource Name (ARN) of the CloudWatch Log group associated+ -- with the email monitoring configuration.+ logGroupArn :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the IAM Role associated with the email+ -- monitoring configuration.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEmailMonitoringConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'logGroupArn', 'describeEmailMonitoringConfigurationResponse_logGroupArn' - The Amazon Resource Name (ARN) of the CloudWatch Log group associated+-- with the email monitoring configuration.+--+-- 'roleArn', 'describeEmailMonitoringConfigurationResponse_roleArn' - The Amazon Resource Name (ARN) of the IAM Role associated with the email+-- monitoring configuration.+--+-- 'httpStatus', 'describeEmailMonitoringConfigurationResponse_httpStatus' - The response's http status code.+newDescribeEmailMonitoringConfigurationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeEmailMonitoringConfigurationResponse+newDescribeEmailMonitoringConfigurationResponse+ pHttpStatus_ =+ DescribeEmailMonitoringConfigurationResponse'+ { logGroupArn =+ Prelude.Nothing,+ roleArn = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the CloudWatch Log group associated+-- with the email monitoring configuration.+describeEmailMonitoringConfigurationResponse_logGroupArn :: Lens.Lens' DescribeEmailMonitoringConfigurationResponse (Prelude.Maybe Prelude.Text)+describeEmailMonitoringConfigurationResponse_logGroupArn = Lens.lens (\DescribeEmailMonitoringConfigurationResponse' {logGroupArn} -> logGroupArn) (\s@DescribeEmailMonitoringConfigurationResponse' {} a -> s {logGroupArn = a} :: DescribeEmailMonitoringConfigurationResponse)++-- | The Amazon Resource Name (ARN) of the IAM Role associated with the email+-- monitoring configuration.+describeEmailMonitoringConfigurationResponse_roleArn :: Lens.Lens' DescribeEmailMonitoringConfigurationResponse (Prelude.Maybe Prelude.Text)+describeEmailMonitoringConfigurationResponse_roleArn = Lens.lens (\DescribeEmailMonitoringConfigurationResponse' {roleArn} -> roleArn) (\s@DescribeEmailMonitoringConfigurationResponse' {} a -> s {roleArn = a} :: DescribeEmailMonitoringConfigurationResponse)++-- | The response's http status code.+describeEmailMonitoringConfigurationResponse_httpStatus :: Lens.Lens' DescribeEmailMonitoringConfigurationResponse Prelude.Int+describeEmailMonitoringConfigurationResponse_httpStatus = Lens.lens (\DescribeEmailMonitoringConfigurationResponse' {httpStatus} -> httpStatus) (\s@DescribeEmailMonitoringConfigurationResponse' {} a -> s {httpStatus = a} :: DescribeEmailMonitoringConfigurationResponse)++instance+ Prelude.NFData+ DescribeEmailMonitoringConfigurationResponse+ where+ rnf DescribeEmailMonitoringConfigurationResponse' {..} =+ Prelude.rnf logGroupArn+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DescribeGroup.hs view
@@ -0,0 +1,258 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DescribeGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the data available for the group.+module Amazonka.WorkMail.DescribeGroup+ ( -- * Creating a Request+ DescribeGroup (..),+ newDescribeGroup,++ -- * Request Lenses+ describeGroup_organizationId,+ describeGroup_groupId,++ -- * Destructuring the Response+ DescribeGroupResponse (..),+ newDescribeGroupResponse,++ -- * Response Lenses+ describeGroupResponse_disabledDate,+ describeGroupResponse_email,+ describeGroupResponse_enabledDate,+ describeGroupResponse_groupId,+ describeGroupResponse_name,+ describeGroupResponse_state,+ describeGroupResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDescribeGroup' smart constructor.+data DescribeGroup = DescribeGroup'+ { -- | The identifier for the organization under which the group exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the group to be described.+ groupId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'describeGroup_organizationId' - The identifier for the organization under which the group exists.+--+-- 'groupId', 'describeGroup_groupId' - The identifier for the group to be described.+newDescribeGroup ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'groupId'+ Prelude.Text ->+ DescribeGroup+newDescribeGroup pOrganizationId_ pGroupId_ =+ DescribeGroup'+ { organizationId = pOrganizationId_,+ groupId = pGroupId_+ }++-- | The identifier for the organization under which the group exists.+describeGroup_organizationId :: Lens.Lens' DescribeGroup Prelude.Text+describeGroup_organizationId = Lens.lens (\DescribeGroup' {organizationId} -> organizationId) (\s@DescribeGroup' {} a -> s {organizationId = a} :: DescribeGroup)++-- | The identifier for the group to be described.+describeGroup_groupId :: Lens.Lens' DescribeGroup Prelude.Text+describeGroup_groupId = Lens.lens (\DescribeGroup' {groupId} -> groupId) (\s@DescribeGroup' {} a -> s {groupId = a} :: DescribeGroup)++instance Core.AWSRequest DescribeGroup where+ type+ AWSResponse DescribeGroup =+ DescribeGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeGroupResponse'+ Prelude.<$> (x Data..?> "DisabledDate")+ Prelude.<*> (x Data..?> "Email")+ Prelude.<*> (x Data..?> "EnabledDate")+ Prelude.<*> (x Data..?> "GroupId")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeGroup where+ hashWithSalt _salt DescribeGroup' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` groupId++instance Prelude.NFData DescribeGroup where+ rnf DescribeGroup' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf groupId++instance Data.ToHeaders DescribeGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DescribeGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeGroup where+ toJSON DescribeGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("GroupId" Data..= groupId)+ ]+ )++instance Data.ToPath DescribeGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeGroupResponse' smart constructor.+data DescribeGroupResponse = DescribeGroupResponse'+ { -- | The date and time when a user was deregistered from WorkMail, in UNIX+ -- epoch time format.+ disabledDate :: Prelude.Maybe Data.POSIX,+ -- | The email of the described group.+ email :: Prelude.Maybe Prelude.Text,+ -- | The date and time when a user was registered to WorkMail, in UNIX epoch+ -- time format.+ enabledDate :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the described group.+ groupId :: Prelude.Maybe Prelude.Text,+ -- | The name of the described group.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the user: enabled (registered to WorkMail) or disabled+ -- (deregistered or never registered to WorkMail).+ state :: Prelude.Maybe EntityState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'disabledDate', 'describeGroupResponse_disabledDate' - The date and time when a user was deregistered from WorkMail, in UNIX+-- epoch time format.+--+-- 'email', 'describeGroupResponse_email' - The email of the described group.+--+-- 'enabledDate', 'describeGroupResponse_enabledDate' - The date and time when a user was registered to WorkMail, in UNIX epoch+-- time format.+--+-- 'groupId', 'describeGroupResponse_groupId' - The identifier of the described group.+--+-- 'name', 'describeGroupResponse_name' - The name of the described group.+--+-- 'state', 'describeGroupResponse_state' - The state of the user: enabled (registered to WorkMail) or disabled+-- (deregistered or never registered to WorkMail).+--+-- 'httpStatus', 'describeGroupResponse_httpStatus' - The response's http status code.+newDescribeGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeGroupResponse+newDescribeGroupResponse pHttpStatus_ =+ DescribeGroupResponse'+ { disabledDate =+ Prelude.Nothing,+ email = Prelude.Nothing,+ enabledDate = Prelude.Nothing,+ groupId = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The date and time when a user was deregistered from WorkMail, in UNIX+-- epoch time format.+describeGroupResponse_disabledDate :: Lens.Lens' DescribeGroupResponse (Prelude.Maybe Prelude.UTCTime)+describeGroupResponse_disabledDate = Lens.lens (\DescribeGroupResponse' {disabledDate} -> disabledDate) (\s@DescribeGroupResponse' {} a -> s {disabledDate = a} :: DescribeGroupResponse) Prelude.. Lens.mapping Data._Time++-- | The email of the described group.+describeGroupResponse_email :: Lens.Lens' DescribeGroupResponse (Prelude.Maybe Prelude.Text)+describeGroupResponse_email = Lens.lens (\DescribeGroupResponse' {email} -> email) (\s@DescribeGroupResponse' {} a -> s {email = a} :: DescribeGroupResponse)++-- | The date and time when a user was registered to WorkMail, in UNIX epoch+-- time format.+describeGroupResponse_enabledDate :: Lens.Lens' DescribeGroupResponse (Prelude.Maybe Prelude.UTCTime)+describeGroupResponse_enabledDate = Lens.lens (\DescribeGroupResponse' {enabledDate} -> enabledDate) (\s@DescribeGroupResponse' {} a -> s {enabledDate = a} :: DescribeGroupResponse) Prelude.. Lens.mapping Data._Time++-- | The identifier of the described group.+describeGroupResponse_groupId :: Lens.Lens' DescribeGroupResponse (Prelude.Maybe Prelude.Text)+describeGroupResponse_groupId = Lens.lens (\DescribeGroupResponse' {groupId} -> groupId) (\s@DescribeGroupResponse' {} a -> s {groupId = a} :: DescribeGroupResponse)++-- | The name of the described group.+describeGroupResponse_name :: Lens.Lens' DescribeGroupResponse (Prelude.Maybe Prelude.Text)+describeGroupResponse_name = Lens.lens (\DescribeGroupResponse' {name} -> name) (\s@DescribeGroupResponse' {} a -> s {name = a} :: DescribeGroupResponse)++-- | The state of the user: enabled (registered to WorkMail) or disabled+-- (deregistered or never registered to WorkMail).+describeGroupResponse_state :: Lens.Lens' DescribeGroupResponse (Prelude.Maybe EntityState)+describeGroupResponse_state = Lens.lens (\DescribeGroupResponse' {state} -> state) (\s@DescribeGroupResponse' {} a -> s {state = a} :: DescribeGroupResponse)++-- | The response's http status code.+describeGroupResponse_httpStatus :: Lens.Lens' DescribeGroupResponse Prelude.Int+describeGroupResponse_httpStatus = Lens.lens (\DescribeGroupResponse' {httpStatus} -> httpStatus) (\s@DescribeGroupResponse' {} a -> s {httpStatus = a} :: DescribeGroupResponse)++instance Prelude.NFData DescribeGroupResponse where+ rnf DescribeGroupResponse' {..} =+ Prelude.rnf disabledDate+ `Prelude.seq` Prelude.rnf email+ `Prelude.seq` Prelude.rnf enabledDate+ `Prelude.seq` Prelude.rnf groupId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DescribeInboundDmarcSettings.hs view
@@ -0,0 +1,180 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DescribeInboundDmarcSettings+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the settings in a DMARC policy for a specified organization.+module Amazonka.WorkMail.DescribeInboundDmarcSettings+ ( -- * Creating a Request+ DescribeInboundDmarcSettings (..),+ newDescribeInboundDmarcSettings,++ -- * Request Lenses+ describeInboundDmarcSettings_organizationId,++ -- * Destructuring the Response+ DescribeInboundDmarcSettingsResponse (..),+ newDescribeInboundDmarcSettingsResponse,++ -- * Response Lenses+ describeInboundDmarcSettingsResponse_enforced,+ describeInboundDmarcSettingsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDescribeInboundDmarcSettings' smart constructor.+data DescribeInboundDmarcSettings = DescribeInboundDmarcSettings'+ { -- | Lists the ID of the given organization.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeInboundDmarcSettings' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'describeInboundDmarcSettings_organizationId' - Lists the ID of the given organization.+newDescribeInboundDmarcSettings ::+ -- | 'organizationId'+ Prelude.Text ->+ DescribeInboundDmarcSettings+newDescribeInboundDmarcSettings pOrganizationId_ =+ DescribeInboundDmarcSettings'+ { organizationId =+ pOrganizationId_+ }++-- | Lists the ID of the given organization.+describeInboundDmarcSettings_organizationId :: Lens.Lens' DescribeInboundDmarcSettings Prelude.Text+describeInboundDmarcSettings_organizationId = Lens.lens (\DescribeInboundDmarcSettings' {organizationId} -> organizationId) (\s@DescribeInboundDmarcSettings' {} a -> s {organizationId = a} :: DescribeInboundDmarcSettings)++instance Core.AWSRequest DescribeInboundDmarcSettings where+ type+ AWSResponse DescribeInboundDmarcSettings =+ DescribeInboundDmarcSettingsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeInboundDmarcSettingsResponse'+ Prelude.<$> (x Data..?> "Enforced")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ DescribeInboundDmarcSettings+ where+ hashWithSalt _salt DescribeInboundDmarcSettings' {..} =+ _salt `Prelude.hashWithSalt` organizationId++instance Prelude.NFData DescribeInboundDmarcSettings where+ rnf DescribeInboundDmarcSettings' {..} =+ Prelude.rnf organizationId++instance Data.ToHeaders DescribeInboundDmarcSettings where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DescribeInboundDmarcSettings" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeInboundDmarcSettings where+ toJSON DescribeInboundDmarcSettings' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath DescribeInboundDmarcSettings where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeInboundDmarcSettings where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeInboundDmarcSettingsResponse' smart constructor.+data DescribeInboundDmarcSettingsResponse = DescribeInboundDmarcSettingsResponse'+ { -- | Lists the enforcement setting of the applied policy.+ enforced :: Prelude.Maybe Prelude.Bool,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeInboundDmarcSettingsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'enforced', 'describeInboundDmarcSettingsResponse_enforced' - Lists the enforcement setting of the applied policy.+--+-- 'httpStatus', 'describeInboundDmarcSettingsResponse_httpStatus' - The response's http status code.+newDescribeInboundDmarcSettingsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeInboundDmarcSettingsResponse+newDescribeInboundDmarcSettingsResponse pHttpStatus_ =+ DescribeInboundDmarcSettingsResponse'+ { enforced =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Lists the enforcement setting of the applied policy.+describeInboundDmarcSettingsResponse_enforced :: Lens.Lens' DescribeInboundDmarcSettingsResponse (Prelude.Maybe Prelude.Bool)+describeInboundDmarcSettingsResponse_enforced = Lens.lens (\DescribeInboundDmarcSettingsResponse' {enforced} -> enforced) (\s@DescribeInboundDmarcSettingsResponse' {} a -> s {enforced = a} :: DescribeInboundDmarcSettingsResponse)++-- | The response's http status code.+describeInboundDmarcSettingsResponse_httpStatus :: Lens.Lens' DescribeInboundDmarcSettingsResponse Prelude.Int+describeInboundDmarcSettingsResponse_httpStatus = Lens.lens (\DescribeInboundDmarcSettingsResponse' {httpStatus} -> httpStatus) (\s@DescribeInboundDmarcSettingsResponse' {} a -> s {httpStatus = a} :: DescribeInboundDmarcSettingsResponse)++instance+ Prelude.NFData+ DescribeInboundDmarcSettingsResponse+ where+ rnf DescribeInboundDmarcSettingsResponse' {..} =+ Prelude.rnf enforced+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DescribeMailboxExportJob.hs view
@@ -0,0 +1,336 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DescribeMailboxExportJob+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the current status of a mailbox export job.+module Amazonka.WorkMail.DescribeMailboxExportJob+ ( -- * Creating a Request+ DescribeMailboxExportJob (..),+ newDescribeMailboxExportJob,++ -- * Request Lenses+ describeMailboxExportJob_jobId,+ describeMailboxExportJob_organizationId,++ -- * Destructuring the Response+ DescribeMailboxExportJobResponse (..),+ newDescribeMailboxExportJobResponse,++ -- * Response Lenses+ describeMailboxExportJobResponse_description,+ describeMailboxExportJobResponse_endTime,+ describeMailboxExportJobResponse_entityId,+ describeMailboxExportJobResponse_errorInfo,+ describeMailboxExportJobResponse_estimatedProgress,+ describeMailboxExportJobResponse_kmsKeyArn,+ describeMailboxExportJobResponse_roleArn,+ describeMailboxExportJobResponse_s3BucketName,+ describeMailboxExportJobResponse_s3Path,+ describeMailboxExportJobResponse_s3Prefix,+ describeMailboxExportJobResponse_startTime,+ describeMailboxExportJobResponse_state,+ describeMailboxExportJobResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDescribeMailboxExportJob' smart constructor.+data DescribeMailboxExportJob = DescribeMailboxExportJob'+ { -- | The mailbox export job ID.+ jobId :: Prelude.Text,+ -- | The organization ID.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeMailboxExportJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'describeMailboxExportJob_jobId' - The mailbox export job ID.+--+-- 'organizationId', 'describeMailboxExportJob_organizationId' - The organization ID.+newDescribeMailboxExportJob ::+ -- | 'jobId'+ Prelude.Text ->+ -- | 'organizationId'+ Prelude.Text ->+ DescribeMailboxExportJob+newDescribeMailboxExportJob pJobId_ pOrganizationId_ =+ DescribeMailboxExportJob'+ { jobId = pJobId_,+ organizationId = pOrganizationId_+ }++-- | The mailbox export job ID.+describeMailboxExportJob_jobId :: Lens.Lens' DescribeMailboxExportJob Prelude.Text+describeMailboxExportJob_jobId = Lens.lens (\DescribeMailboxExportJob' {jobId} -> jobId) (\s@DescribeMailboxExportJob' {} a -> s {jobId = a} :: DescribeMailboxExportJob)++-- | The organization ID.+describeMailboxExportJob_organizationId :: Lens.Lens' DescribeMailboxExportJob Prelude.Text+describeMailboxExportJob_organizationId = Lens.lens (\DescribeMailboxExportJob' {organizationId} -> organizationId) (\s@DescribeMailboxExportJob' {} a -> s {organizationId = a} :: DescribeMailboxExportJob)++instance Core.AWSRequest DescribeMailboxExportJob where+ type+ AWSResponse DescribeMailboxExportJob =+ DescribeMailboxExportJobResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeMailboxExportJobResponse'+ Prelude.<$> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "EndTime")+ Prelude.<*> (x Data..?> "EntityId")+ Prelude.<*> (x Data..?> "ErrorInfo")+ Prelude.<*> (x Data..?> "EstimatedProgress")+ Prelude.<*> (x Data..?> "KmsKeyArn")+ Prelude.<*> (x Data..?> "RoleArn")+ Prelude.<*> (x Data..?> "S3BucketName")+ Prelude.<*> (x Data..?> "S3Path")+ Prelude.<*> (x Data..?> "S3Prefix")+ Prelude.<*> (x Data..?> "StartTime")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeMailboxExportJob where+ hashWithSalt _salt DescribeMailboxExportJob' {..} =+ _salt+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData DescribeMailboxExportJob where+ rnf DescribeMailboxExportJob' {..} =+ Prelude.rnf jobId+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders DescribeMailboxExportJob where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DescribeMailboxExportJob" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeMailboxExportJob where+ toJSON DescribeMailboxExportJob' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("JobId" Data..= jobId),+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath DescribeMailboxExportJob where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeMailboxExportJob where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeMailboxExportJobResponse' smart constructor.+data DescribeMailboxExportJobResponse = DescribeMailboxExportJobResponse'+ { -- | The mailbox export job description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The mailbox export job end timestamp.+ endTime :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the user or resource associated with the mailbox.+ entityId :: Prelude.Maybe Prelude.Text,+ -- | Error information for failed mailbox export jobs.+ errorInfo :: Prelude.Maybe Prelude.Text,+ -- | The estimated progress of the mailbox export job, in percentage points.+ estimatedProgress :: Prelude.Maybe Prelude.Natural,+ -- | The Amazon Resource Name (ARN) of the symmetric AWS Key Management+ -- Service (AWS KMS) key that encrypts the exported mailbox content.+ kmsKeyArn :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the AWS Identity and Access Management (IAM) role that grants+ -- write permission to the Amazon Simple Storage Service (Amazon S3)+ -- bucket.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the S3 bucket.+ s3BucketName :: Prelude.Maybe Prelude.Text,+ -- | The path to the S3 bucket and file that the mailbox export job is+ -- exporting to.+ s3Path :: Prelude.Maybe Prelude.Text,+ -- | The S3 bucket prefix.+ s3Prefix :: Prelude.Maybe Prelude.Text,+ -- | The mailbox export job start timestamp.+ startTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the mailbox export job.+ state :: Prelude.Maybe MailboxExportJobState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeMailboxExportJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'describeMailboxExportJobResponse_description' - The mailbox export job description.+--+-- 'endTime', 'describeMailboxExportJobResponse_endTime' - The mailbox export job end timestamp.+--+-- 'entityId', 'describeMailboxExportJobResponse_entityId' - The identifier of the user or resource associated with the mailbox.+--+-- 'errorInfo', 'describeMailboxExportJobResponse_errorInfo' - Error information for failed mailbox export jobs.+--+-- 'estimatedProgress', 'describeMailboxExportJobResponse_estimatedProgress' - The estimated progress of the mailbox export job, in percentage points.+--+-- 'kmsKeyArn', 'describeMailboxExportJobResponse_kmsKeyArn' - The Amazon Resource Name (ARN) of the symmetric AWS Key Management+-- Service (AWS KMS) key that encrypts the exported mailbox content.+--+-- 'roleArn', 'describeMailboxExportJobResponse_roleArn' - The ARN of the AWS Identity and Access Management (IAM) role that grants+-- write permission to the Amazon Simple Storage Service (Amazon S3)+-- bucket.+--+-- 's3BucketName', 'describeMailboxExportJobResponse_s3BucketName' - The name of the S3 bucket.+--+-- 's3Path', 'describeMailboxExportJobResponse_s3Path' - The path to the S3 bucket and file that the mailbox export job is+-- exporting to.+--+-- 's3Prefix', 'describeMailboxExportJobResponse_s3Prefix' - The S3 bucket prefix.+--+-- 'startTime', 'describeMailboxExportJobResponse_startTime' - The mailbox export job start timestamp.+--+-- 'state', 'describeMailboxExportJobResponse_state' - The state of the mailbox export job.+--+-- 'httpStatus', 'describeMailboxExportJobResponse_httpStatus' - The response's http status code.+newDescribeMailboxExportJobResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeMailboxExportJobResponse+newDescribeMailboxExportJobResponse pHttpStatus_ =+ DescribeMailboxExportJobResponse'+ { description =+ Prelude.Nothing,+ endTime = Prelude.Nothing,+ entityId = Prelude.Nothing,+ errorInfo = Prelude.Nothing,+ estimatedProgress = Prelude.Nothing,+ kmsKeyArn = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ s3BucketName = Prelude.Nothing,+ s3Path = Prelude.Nothing,+ s3Prefix = Prelude.Nothing,+ startTime = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The mailbox export job description.+describeMailboxExportJobResponse_description :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_description = Lens.lens (\DescribeMailboxExportJobResponse' {description} -> description) (\s@DescribeMailboxExportJobResponse' {} a -> s {description = a} :: DescribeMailboxExportJobResponse)++-- | The mailbox export job end timestamp.+describeMailboxExportJobResponse_endTime :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.UTCTime)+describeMailboxExportJobResponse_endTime = Lens.lens (\DescribeMailboxExportJobResponse' {endTime} -> endTime) (\s@DescribeMailboxExportJobResponse' {} a -> s {endTime = a} :: DescribeMailboxExportJobResponse) Prelude.. Lens.mapping Data._Time++-- | The identifier of the user or resource associated with the mailbox.+describeMailboxExportJobResponse_entityId :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_entityId = Lens.lens (\DescribeMailboxExportJobResponse' {entityId} -> entityId) (\s@DescribeMailboxExportJobResponse' {} a -> s {entityId = a} :: DescribeMailboxExportJobResponse)++-- | Error information for failed mailbox export jobs.+describeMailboxExportJobResponse_errorInfo :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_errorInfo = Lens.lens (\DescribeMailboxExportJobResponse' {errorInfo} -> errorInfo) (\s@DescribeMailboxExportJobResponse' {} a -> s {errorInfo = a} :: DescribeMailboxExportJobResponse)++-- | The estimated progress of the mailbox export job, in percentage points.+describeMailboxExportJobResponse_estimatedProgress :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Natural)+describeMailboxExportJobResponse_estimatedProgress = Lens.lens (\DescribeMailboxExportJobResponse' {estimatedProgress} -> estimatedProgress) (\s@DescribeMailboxExportJobResponse' {} a -> s {estimatedProgress = a} :: DescribeMailboxExportJobResponse)++-- | The Amazon Resource Name (ARN) of the symmetric AWS Key Management+-- Service (AWS KMS) key that encrypts the exported mailbox content.+describeMailboxExportJobResponse_kmsKeyArn :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_kmsKeyArn = Lens.lens (\DescribeMailboxExportJobResponse' {kmsKeyArn} -> kmsKeyArn) (\s@DescribeMailboxExportJobResponse' {} a -> s {kmsKeyArn = a} :: DescribeMailboxExportJobResponse)++-- | The ARN of the AWS Identity and Access Management (IAM) role that grants+-- write permission to the Amazon Simple Storage Service (Amazon S3)+-- bucket.+describeMailboxExportJobResponse_roleArn :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_roleArn = Lens.lens (\DescribeMailboxExportJobResponse' {roleArn} -> roleArn) (\s@DescribeMailboxExportJobResponse' {} a -> s {roleArn = a} :: DescribeMailboxExportJobResponse)++-- | The name of the S3 bucket.+describeMailboxExportJobResponse_s3BucketName :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_s3BucketName = Lens.lens (\DescribeMailboxExportJobResponse' {s3BucketName} -> s3BucketName) (\s@DescribeMailboxExportJobResponse' {} a -> s {s3BucketName = a} :: DescribeMailboxExportJobResponse)++-- | The path to the S3 bucket and file that the mailbox export job is+-- exporting to.+describeMailboxExportJobResponse_s3Path :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_s3Path = Lens.lens (\DescribeMailboxExportJobResponse' {s3Path} -> s3Path) (\s@DescribeMailboxExportJobResponse' {} a -> s {s3Path = a} :: DescribeMailboxExportJobResponse)++-- | The S3 bucket prefix.+describeMailboxExportJobResponse_s3Prefix :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+describeMailboxExportJobResponse_s3Prefix = Lens.lens (\DescribeMailboxExportJobResponse' {s3Prefix} -> s3Prefix) (\s@DescribeMailboxExportJobResponse' {} a -> s {s3Prefix = a} :: DescribeMailboxExportJobResponse)++-- | The mailbox export job start timestamp.+describeMailboxExportJobResponse_startTime :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe Prelude.UTCTime)+describeMailboxExportJobResponse_startTime = Lens.lens (\DescribeMailboxExportJobResponse' {startTime} -> startTime) (\s@DescribeMailboxExportJobResponse' {} a -> s {startTime = a} :: DescribeMailboxExportJobResponse) Prelude.. Lens.mapping Data._Time++-- | The state of the mailbox export job.+describeMailboxExportJobResponse_state :: Lens.Lens' DescribeMailboxExportJobResponse (Prelude.Maybe MailboxExportJobState)+describeMailboxExportJobResponse_state = Lens.lens (\DescribeMailboxExportJobResponse' {state} -> state) (\s@DescribeMailboxExportJobResponse' {} a -> s {state = a} :: DescribeMailboxExportJobResponse)++-- | The response's http status code.+describeMailboxExportJobResponse_httpStatus :: Lens.Lens' DescribeMailboxExportJobResponse Prelude.Int+describeMailboxExportJobResponse_httpStatus = Lens.lens (\DescribeMailboxExportJobResponse' {httpStatus} -> httpStatus) (\s@DescribeMailboxExportJobResponse' {} a -> s {httpStatus = a} :: DescribeMailboxExportJobResponse)++instance+ Prelude.NFData+ DescribeMailboxExportJobResponse+ where+ rnf DescribeMailboxExportJobResponse' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf endTime+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf errorInfo+ `Prelude.seq` Prelude.rnf estimatedProgress+ `Prelude.seq` Prelude.rnf kmsKeyArn+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf s3BucketName+ `Prelude.seq` Prelude.rnf s3Path+ `Prelude.seq` Prelude.rnf s3Prefix+ `Prelude.seq` Prelude.rnf startTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DescribeOrganization.hs view
@@ -0,0 +1,280 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DescribeOrganization+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides more information regarding a given organization based on its+-- identifier.+module Amazonka.WorkMail.DescribeOrganization+ ( -- * Creating a Request+ DescribeOrganization (..),+ newDescribeOrganization,++ -- * Request Lenses+ describeOrganization_organizationId,++ -- * Destructuring the Response+ DescribeOrganizationResponse (..),+ newDescribeOrganizationResponse,++ -- * Response Lenses+ describeOrganizationResponse_arn,+ describeOrganizationResponse_alias,+ describeOrganizationResponse_completedDate,+ describeOrganizationResponse_defaultMailDomain,+ describeOrganizationResponse_directoryId,+ describeOrganizationResponse_directoryType,+ describeOrganizationResponse_errorMessage,+ describeOrganizationResponse_organizationId,+ describeOrganizationResponse_state,+ describeOrganizationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDescribeOrganization' smart constructor.+data DescribeOrganization = DescribeOrganization'+ { -- | The identifier for the organization to be described.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'describeOrganization_organizationId' - The identifier for the organization to be described.+newDescribeOrganization ::+ -- | 'organizationId'+ Prelude.Text ->+ DescribeOrganization+newDescribeOrganization pOrganizationId_ =+ DescribeOrganization'+ { organizationId =+ pOrganizationId_+ }++-- | The identifier for the organization to be described.+describeOrganization_organizationId :: Lens.Lens' DescribeOrganization Prelude.Text+describeOrganization_organizationId = Lens.lens (\DescribeOrganization' {organizationId} -> organizationId) (\s@DescribeOrganization' {} a -> s {organizationId = a} :: DescribeOrganization)++instance Core.AWSRequest DescribeOrganization where+ type+ AWSResponse DescribeOrganization =+ DescribeOrganizationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeOrganizationResponse'+ Prelude.<$> (x Data..?> "ARN")+ Prelude.<*> (x Data..?> "Alias")+ Prelude.<*> (x Data..?> "CompletedDate")+ Prelude.<*> (x Data..?> "DefaultMailDomain")+ Prelude.<*> (x Data..?> "DirectoryId")+ Prelude.<*> (x Data..?> "DirectoryType")+ Prelude.<*> (x Data..?> "ErrorMessage")+ Prelude.<*> (x Data..?> "OrganizationId")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeOrganization where+ hashWithSalt _salt DescribeOrganization' {..} =+ _salt `Prelude.hashWithSalt` organizationId++instance Prelude.NFData DescribeOrganization where+ rnf DescribeOrganization' {..} =+ Prelude.rnf organizationId++instance Data.ToHeaders DescribeOrganization where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DescribeOrganization" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeOrganization where+ toJSON DescribeOrganization' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath DescribeOrganization where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeOrganization where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeOrganizationResponse' smart constructor.+data DescribeOrganizationResponse = DescribeOrganizationResponse'+ { -- | The Amazon Resource Name (ARN) of the organization.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The alias for an organization.+ alias :: Prelude.Maybe Prelude.Text,+ -- | The date at which the organization became usable in the WorkMail+ -- context, in UNIX epoch time format.+ completedDate :: Prelude.Maybe Data.POSIX,+ -- | The default mail domain associated with the organization.+ defaultMailDomain :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the directory associated with an WorkMail+ -- organization.+ directoryId :: Prelude.Maybe Prelude.Text,+ -- | The type of directory associated with the WorkMail organization.+ directoryType :: Prelude.Maybe Prelude.Text,+ -- | (Optional) The error message indicating if unexpected behavior was+ -- encountered with regards to the organization.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The identifier of an organization.+ organizationId :: Prelude.Maybe Prelude.Text,+ -- | The state of an organization.+ state :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'describeOrganizationResponse_arn' - The Amazon Resource Name (ARN) of the organization.+--+-- 'alias', 'describeOrganizationResponse_alias' - The alias for an organization.+--+-- 'completedDate', 'describeOrganizationResponse_completedDate' - The date at which the organization became usable in the WorkMail+-- context, in UNIX epoch time format.+--+-- 'defaultMailDomain', 'describeOrganizationResponse_defaultMailDomain' - The default mail domain associated with the organization.+--+-- 'directoryId', 'describeOrganizationResponse_directoryId' - The identifier for the directory associated with an WorkMail+-- organization.+--+-- 'directoryType', 'describeOrganizationResponse_directoryType' - The type of directory associated with the WorkMail organization.+--+-- 'errorMessage', 'describeOrganizationResponse_errorMessage' - (Optional) The error message indicating if unexpected behavior was+-- encountered with regards to the organization.+--+-- 'organizationId', 'describeOrganizationResponse_organizationId' - The identifier of an organization.+--+-- 'state', 'describeOrganizationResponse_state' - The state of an organization.+--+-- 'httpStatus', 'describeOrganizationResponse_httpStatus' - The response's http status code.+newDescribeOrganizationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeOrganizationResponse+newDescribeOrganizationResponse pHttpStatus_ =+ DescribeOrganizationResponse'+ { arn =+ Prelude.Nothing,+ alias = Prelude.Nothing,+ completedDate = Prelude.Nothing,+ defaultMailDomain = Prelude.Nothing,+ directoryId = Prelude.Nothing,+ directoryType = Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ organizationId = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the organization.+describeOrganizationResponse_arn :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_arn = Lens.lens (\DescribeOrganizationResponse' {arn} -> arn) (\s@DescribeOrganizationResponse' {} a -> s {arn = a} :: DescribeOrganizationResponse)++-- | The alias for an organization.+describeOrganizationResponse_alias :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_alias = Lens.lens (\DescribeOrganizationResponse' {alias} -> alias) (\s@DescribeOrganizationResponse' {} a -> s {alias = a} :: DescribeOrganizationResponse)++-- | The date at which the organization became usable in the WorkMail+-- context, in UNIX epoch time format.+describeOrganizationResponse_completedDate :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.UTCTime)+describeOrganizationResponse_completedDate = Lens.lens (\DescribeOrganizationResponse' {completedDate} -> completedDate) (\s@DescribeOrganizationResponse' {} a -> s {completedDate = a} :: DescribeOrganizationResponse) Prelude.. Lens.mapping Data._Time++-- | The default mail domain associated with the organization.+describeOrganizationResponse_defaultMailDomain :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_defaultMailDomain = Lens.lens (\DescribeOrganizationResponse' {defaultMailDomain} -> defaultMailDomain) (\s@DescribeOrganizationResponse' {} a -> s {defaultMailDomain = a} :: DescribeOrganizationResponse)++-- | The identifier for the directory associated with an WorkMail+-- organization.+describeOrganizationResponse_directoryId :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_directoryId = Lens.lens (\DescribeOrganizationResponse' {directoryId} -> directoryId) (\s@DescribeOrganizationResponse' {} a -> s {directoryId = a} :: DescribeOrganizationResponse)++-- | The type of directory associated with the WorkMail organization.+describeOrganizationResponse_directoryType :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_directoryType = Lens.lens (\DescribeOrganizationResponse' {directoryType} -> directoryType) (\s@DescribeOrganizationResponse' {} a -> s {directoryType = a} :: DescribeOrganizationResponse)++-- | (Optional) The error message indicating if unexpected behavior was+-- encountered with regards to the organization.+describeOrganizationResponse_errorMessage :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_errorMessage = Lens.lens (\DescribeOrganizationResponse' {errorMessage} -> errorMessage) (\s@DescribeOrganizationResponse' {} a -> s {errorMessage = a} :: DescribeOrganizationResponse)++-- | The identifier of an organization.+describeOrganizationResponse_organizationId :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_organizationId = Lens.lens (\DescribeOrganizationResponse' {organizationId} -> organizationId) (\s@DescribeOrganizationResponse' {} a -> s {organizationId = a} :: DescribeOrganizationResponse)++-- | The state of an organization.+describeOrganizationResponse_state :: Lens.Lens' DescribeOrganizationResponse (Prelude.Maybe Prelude.Text)+describeOrganizationResponse_state = Lens.lens (\DescribeOrganizationResponse' {state} -> state) (\s@DescribeOrganizationResponse' {} a -> s {state = a} :: DescribeOrganizationResponse)++-- | The response's http status code.+describeOrganizationResponse_httpStatus :: Lens.Lens' DescribeOrganizationResponse Prelude.Int+describeOrganizationResponse_httpStatus = Lens.lens (\DescribeOrganizationResponse' {httpStatus} -> httpStatus) (\s@DescribeOrganizationResponse' {} a -> s {httpStatus = a} :: DescribeOrganizationResponse)++instance Prelude.NFData DescribeOrganizationResponse where+ rnf DescribeOrganizationResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf alias+ `Prelude.seq` Prelude.rnf completedDate+ `Prelude.seq` Prelude.rnf defaultMailDomain+ `Prelude.seq` Prelude.rnf directoryId+ `Prelude.seq` Prelude.rnf directoryType+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DescribeResource.hs view
@@ -0,0 +1,286 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DescribeResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the data available for the resource.+module Amazonka.WorkMail.DescribeResource+ ( -- * Creating a Request+ DescribeResource (..),+ newDescribeResource,++ -- * Request Lenses+ describeResource_organizationId,+ describeResource_resourceId,++ -- * Destructuring the Response+ DescribeResourceResponse (..),+ newDescribeResourceResponse,++ -- * Response Lenses+ describeResourceResponse_bookingOptions,+ describeResourceResponse_disabledDate,+ describeResourceResponse_email,+ describeResourceResponse_enabledDate,+ describeResourceResponse_name,+ describeResourceResponse_resourceId,+ describeResourceResponse_state,+ describeResourceResponse_type,+ describeResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDescribeResource' smart constructor.+data DescribeResource = DescribeResource'+ { -- | The identifier associated with the organization for which the resource+ -- is described.+ organizationId :: Prelude.Text,+ -- | The identifier of the resource to be described.+ resourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'describeResource_organizationId' - The identifier associated with the organization for which the resource+-- is described.+--+-- 'resourceId', 'describeResource_resourceId' - The identifier of the resource to be described.+newDescribeResource ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'resourceId'+ Prelude.Text ->+ DescribeResource+newDescribeResource pOrganizationId_ pResourceId_ =+ DescribeResource'+ { organizationId =+ pOrganizationId_,+ resourceId = pResourceId_+ }++-- | The identifier associated with the organization for which the resource+-- is described.+describeResource_organizationId :: Lens.Lens' DescribeResource Prelude.Text+describeResource_organizationId = Lens.lens (\DescribeResource' {organizationId} -> organizationId) (\s@DescribeResource' {} a -> s {organizationId = a} :: DescribeResource)++-- | The identifier of the resource to be described.+describeResource_resourceId :: Lens.Lens' DescribeResource Prelude.Text+describeResource_resourceId = Lens.lens (\DescribeResource' {resourceId} -> resourceId) (\s@DescribeResource' {} a -> s {resourceId = a} :: DescribeResource)++instance Core.AWSRequest DescribeResource where+ type+ AWSResponse DescribeResource =+ DescribeResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeResourceResponse'+ Prelude.<$> (x Data..?> "BookingOptions")+ Prelude.<*> (x Data..?> "DisabledDate")+ Prelude.<*> (x Data..?> "Email")+ Prelude.<*> (x Data..?> "EnabledDate")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "ResourceId")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "Type")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeResource where+ hashWithSalt _salt DescribeResource' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` resourceId++instance Prelude.NFData DescribeResource where+ rnf DescribeResource' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf resourceId++instance Data.ToHeaders DescribeResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DescribeResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeResource where+ toJSON DescribeResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("ResourceId" Data..= resourceId)+ ]+ )++instance Data.ToPath DescribeResource where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeResourceResponse' smart constructor.+data DescribeResourceResponse = DescribeResourceResponse'+ { -- | The booking options for the described resource.+ bookingOptions :: Prelude.Maybe BookingOptions,+ -- | The date and time when a resource was disabled from WorkMail, in UNIX+ -- epoch time format.+ disabledDate :: Prelude.Maybe Data.POSIX,+ -- | The email of the described resource.+ email :: Prelude.Maybe Prelude.Text,+ -- | The date and time when a resource was enabled for WorkMail, in UNIX+ -- epoch time format.+ enabledDate :: Prelude.Maybe Data.POSIX,+ -- | The name of the described resource.+ name :: Prelude.Maybe Prelude.Text,+ -- | The identifier of the described resource.+ resourceId :: Prelude.Maybe Prelude.Text,+ -- | The state of the resource: enabled (registered to WorkMail), disabled+ -- (deregistered or never registered to WorkMail), or deleted.+ state :: Prelude.Maybe EntityState,+ -- | The type of the described resource.+ type' :: Prelude.Maybe ResourceType,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'bookingOptions', 'describeResourceResponse_bookingOptions' - The booking options for the described resource.+--+-- 'disabledDate', 'describeResourceResponse_disabledDate' - The date and time when a resource was disabled from WorkMail, in UNIX+-- epoch time format.+--+-- 'email', 'describeResourceResponse_email' - The email of the described resource.+--+-- 'enabledDate', 'describeResourceResponse_enabledDate' - The date and time when a resource was enabled for WorkMail, in UNIX+-- epoch time format.+--+-- 'name', 'describeResourceResponse_name' - The name of the described resource.+--+-- 'resourceId', 'describeResourceResponse_resourceId' - The identifier of the described resource.+--+-- 'state', 'describeResourceResponse_state' - The state of the resource: enabled (registered to WorkMail), disabled+-- (deregistered or never registered to WorkMail), or deleted.+--+-- 'type'', 'describeResourceResponse_type' - The type of the described resource.+--+-- 'httpStatus', 'describeResourceResponse_httpStatus' - The response's http status code.+newDescribeResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeResourceResponse+newDescribeResourceResponse pHttpStatus_ =+ DescribeResourceResponse'+ { bookingOptions =+ Prelude.Nothing,+ disabledDate = Prelude.Nothing,+ email = Prelude.Nothing,+ enabledDate = Prelude.Nothing,+ name = Prelude.Nothing,+ resourceId = Prelude.Nothing,+ state = Prelude.Nothing,+ type' = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The booking options for the described resource.+describeResourceResponse_bookingOptions :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe BookingOptions)+describeResourceResponse_bookingOptions = Lens.lens (\DescribeResourceResponse' {bookingOptions} -> bookingOptions) (\s@DescribeResourceResponse' {} a -> s {bookingOptions = a} :: DescribeResourceResponse)++-- | The date and time when a resource was disabled from WorkMail, in UNIX+-- epoch time format.+describeResourceResponse_disabledDate :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe Prelude.UTCTime)+describeResourceResponse_disabledDate = Lens.lens (\DescribeResourceResponse' {disabledDate} -> disabledDate) (\s@DescribeResourceResponse' {} a -> s {disabledDate = a} :: DescribeResourceResponse) Prelude.. Lens.mapping Data._Time++-- | The email of the described resource.+describeResourceResponse_email :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe Prelude.Text)+describeResourceResponse_email = Lens.lens (\DescribeResourceResponse' {email} -> email) (\s@DescribeResourceResponse' {} a -> s {email = a} :: DescribeResourceResponse)++-- | The date and time when a resource was enabled for WorkMail, in UNIX+-- epoch time format.+describeResourceResponse_enabledDate :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe Prelude.UTCTime)+describeResourceResponse_enabledDate = Lens.lens (\DescribeResourceResponse' {enabledDate} -> enabledDate) (\s@DescribeResourceResponse' {} a -> s {enabledDate = a} :: DescribeResourceResponse) Prelude.. Lens.mapping Data._Time++-- | The name of the described resource.+describeResourceResponse_name :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe Prelude.Text)+describeResourceResponse_name = Lens.lens (\DescribeResourceResponse' {name} -> name) (\s@DescribeResourceResponse' {} a -> s {name = a} :: DescribeResourceResponse)++-- | The identifier of the described resource.+describeResourceResponse_resourceId :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe Prelude.Text)+describeResourceResponse_resourceId = Lens.lens (\DescribeResourceResponse' {resourceId} -> resourceId) (\s@DescribeResourceResponse' {} a -> s {resourceId = a} :: DescribeResourceResponse)++-- | The state of the resource: enabled (registered to WorkMail), disabled+-- (deregistered or never registered to WorkMail), or deleted.+describeResourceResponse_state :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe EntityState)+describeResourceResponse_state = Lens.lens (\DescribeResourceResponse' {state} -> state) (\s@DescribeResourceResponse' {} a -> s {state = a} :: DescribeResourceResponse)++-- | The type of the described resource.+describeResourceResponse_type :: Lens.Lens' DescribeResourceResponse (Prelude.Maybe ResourceType)+describeResourceResponse_type = Lens.lens (\DescribeResourceResponse' {type'} -> type') (\s@DescribeResourceResponse' {} a -> s {type' = a} :: DescribeResourceResponse)++-- | The response's http status code.+describeResourceResponse_httpStatus :: Lens.Lens' DescribeResourceResponse Prelude.Int+describeResourceResponse_httpStatus = Lens.lens (\DescribeResourceResponse' {httpStatus} -> httpStatus) (\s@DescribeResourceResponse' {} a -> s {httpStatus = a} :: DescribeResourceResponse)++instance Prelude.NFData DescribeResourceResponse where+ rnf DescribeResourceResponse' {..} =+ Prelude.rnf bookingOptions+ `Prelude.seq` Prelude.rnf disabledDate+ `Prelude.seq` Prelude.rnf email+ `Prelude.seq` Prelude.rnf enabledDate+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DescribeUser.hs view
@@ -0,0 +1,295 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DescribeUser+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides information regarding the user.+module Amazonka.WorkMail.DescribeUser+ ( -- * Creating a Request+ DescribeUser (..),+ newDescribeUser,++ -- * Request Lenses+ describeUser_organizationId,+ describeUser_userId,++ -- * Destructuring the Response+ DescribeUserResponse (..),+ newDescribeUserResponse,++ -- * Response Lenses+ describeUserResponse_disabledDate,+ describeUserResponse_displayName,+ describeUserResponse_email,+ describeUserResponse_enabledDate,+ describeUserResponse_name,+ describeUserResponse_state,+ describeUserResponse_userId,+ describeUserResponse_userRole,+ describeUserResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDescribeUser' smart constructor.+data DescribeUser = DescribeUser'+ { -- | The identifier for the organization under which the user exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the user to be described.+ userId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeUser' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'describeUser_organizationId' - The identifier for the organization under which the user exists.+--+-- 'userId', 'describeUser_userId' - The identifier for the user to be described.+newDescribeUser ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ DescribeUser+newDescribeUser pOrganizationId_ pUserId_ =+ DescribeUser'+ { organizationId = pOrganizationId_,+ userId = pUserId_+ }++-- | The identifier for the organization under which the user exists.+describeUser_organizationId :: Lens.Lens' DescribeUser Prelude.Text+describeUser_organizationId = Lens.lens (\DescribeUser' {organizationId} -> organizationId) (\s@DescribeUser' {} a -> s {organizationId = a} :: DescribeUser)++-- | The identifier for the user to be described.+describeUser_userId :: Lens.Lens' DescribeUser Prelude.Text+describeUser_userId = Lens.lens (\DescribeUser' {userId} -> userId) (\s@DescribeUser' {} a -> s {userId = a} :: DescribeUser)++instance Core.AWSRequest DescribeUser where+ type AWSResponse DescribeUser = DescribeUserResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeUserResponse'+ Prelude.<$> (x Data..?> "DisabledDate")+ Prelude.<*> (x Data..?> "DisplayName")+ Prelude.<*> (x Data..?> "Email")+ Prelude.<*> (x Data..?> "EnabledDate")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "UserId")+ Prelude.<*> (x Data..?> "UserRole")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeUser where+ hashWithSalt _salt DescribeUser' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId++instance Prelude.NFData DescribeUser where+ rnf DescribeUser' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId++instance Data.ToHeaders DescribeUser where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DescribeUser" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeUser where+ toJSON DescribeUser' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId)+ ]+ )++instance Data.ToPath DescribeUser where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeUser where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeUserResponse' smart constructor.+data DescribeUserResponse = DescribeUserResponse'+ { -- | The date and time at which the user was disabled for WorkMail usage, in+ -- UNIX epoch time format.+ disabledDate :: Prelude.Maybe Data.POSIX,+ -- | The display name of the user.+ displayName :: Prelude.Maybe Prelude.Text,+ -- | The email of the user.+ email :: Prelude.Maybe Prelude.Text,+ -- | The date and time at which the user was enabled for WorkMailusage, in+ -- UNIX epoch time format.+ enabledDate :: Prelude.Maybe Data.POSIX,+ -- | The name for the user.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of a user: enabled (registered to WorkMail) or disabled+ -- (deregistered or never registered to WorkMail).+ state :: Prelude.Maybe EntityState,+ -- | The identifier for the described user.+ userId :: Prelude.Maybe Prelude.Text,+ -- | In certain cases, other entities are modeled as users. If+ -- interoperability is enabled, resources are imported into WorkMail as+ -- users. Because different WorkMail organizations rely on different+ -- directory types, administrators can distinguish between an unregistered+ -- user (account is disabled and has a user role) and the directory+ -- administrators. The values are USER, RESOURCE, and SYSTEM_USER.+ userRole :: Prelude.Maybe UserRole,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeUserResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'disabledDate', 'describeUserResponse_disabledDate' - The date and time at which the user was disabled for WorkMail usage, in+-- UNIX epoch time format.+--+-- 'displayName', 'describeUserResponse_displayName' - The display name of the user.+--+-- 'email', 'describeUserResponse_email' - The email of the user.+--+-- 'enabledDate', 'describeUserResponse_enabledDate' - The date and time at which the user was enabled for WorkMailusage, in+-- UNIX epoch time format.+--+-- 'name', 'describeUserResponse_name' - The name for the user.+--+-- 'state', 'describeUserResponse_state' - The state of a user: enabled (registered to WorkMail) or disabled+-- (deregistered or never registered to WorkMail).+--+-- 'userId', 'describeUserResponse_userId' - The identifier for the described user.+--+-- 'userRole', 'describeUserResponse_userRole' - In certain cases, other entities are modeled as users. If+-- interoperability is enabled, resources are imported into WorkMail as+-- users. Because different WorkMail organizations rely on different+-- directory types, administrators can distinguish between an unregistered+-- user (account is disabled and has a user role) and the directory+-- administrators. The values are USER, RESOURCE, and SYSTEM_USER.+--+-- 'httpStatus', 'describeUserResponse_httpStatus' - The response's http status code.+newDescribeUserResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeUserResponse+newDescribeUserResponse pHttpStatus_ =+ DescribeUserResponse'+ { disabledDate =+ Prelude.Nothing,+ displayName = Prelude.Nothing,+ email = Prelude.Nothing,+ enabledDate = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing,+ userId = Prelude.Nothing,+ userRole = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The date and time at which the user was disabled for WorkMail usage, in+-- UNIX epoch time format.+describeUserResponse_disabledDate :: Lens.Lens' DescribeUserResponse (Prelude.Maybe Prelude.UTCTime)+describeUserResponse_disabledDate = Lens.lens (\DescribeUserResponse' {disabledDate} -> disabledDate) (\s@DescribeUserResponse' {} a -> s {disabledDate = a} :: DescribeUserResponse) Prelude.. Lens.mapping Data._Time++-- | The display name of the user.+describeUserResponse_displayName :: Lens.Lens' DescribeUserResponse (Prelude.Maybe Prelude.Text)+describeUserResponse_displayName = Lens.lens (\DescribeUserResponse' {displayName} -> displayName) (\s@DescribeUserResponse' {} a -> s {displayName = a} :: DescribeUserResponse)++-- | The email of the user.+describeUserResponse_email :: Lens.Lens' DescribeUserResponse (Prelude.Maybe Prelude.Text)+describeUserResponse_email = Lens.lens (\DescribeUserResponse' {email} -> email) (\s@DescribeUserResponse' {} a -> s {email = a} :: DescribeUserResponse)++-- | The date and time at which the user was enabled for WorkMailusage, in+-- UNIX epoch time format.+describeUserResponse_enabledDate :: Lens.Lens' DescribeUserResponse (Prelude.Maybe Prelude.UTCTime)+describeUserResponse_enabledDate = Lens.lens (\DescribeUserResponse' {enabledDate} -> enabledDate) (\s@DescribeUserResponse' {} a -> s {enabledDate = a} :: DescribeUserResponse) Prelude.. Lens.mapping Data._Time++-- | The name for the user.+describeUserResponse_name :: Lens.Lens' DescribeUserResponse (Prelude.Maybe Prelude.Text)+describeUserResponse_name = Lens.lens (\DescribeUserResponse' {name} -> name) (\s@DescribeUserResponse' {} a -> s {name = a} :: DescribeUserResponse)++-- | The state of a user: enabled (registered to WorkMail) or disabled+-- (deregistered or never registered to WorkMail).+describeUserResponse_state :: Lens.Lens' DescribeUserResponse (Prelude.Maybe EntityState)+describeUserResponse_state = Lens.lens (\DescribeUserResponse' {state} -> state) (\s@DescribeUserResponse' {} a -> s {state = a} :: DescribeUserResponse)++-- | The identifier for the described user.+describeUserResponse_userId :: Lens.Lens' DescribeUserResponse (Prelude.Maybe Prelude.Text)+describeUserResponse_userId = Lens.lens (\DescribeUserResponse' {userId} -> userId) (\s@DescribeUserResponse' {} a -> s {userId = a} :: DescribeUserResponse)++-- | In certain cases, other entities are modeled as users. If+-- interoperability is enabled, resources are imported into WorkMail as+-- users. Because different WorkMail organizations rely on different+-- directory types, administrators can distinguish between an unregistered+-- user (account is disabled and has a user role) and the directory+-- administrators. The values are USER, RESOURCE, and SYSTEM_USER.+describeUserResponse_userRole :: Lens.Lens' DescribeUserResponse (Prelude.Maybe UserRole)+describeUserResponse_userRole = Lens.lens (\DescribeUserResponse' {userRole} -> userRole) (\s@DescribeUserResponse' {} a -> s {userRole = a} :: DescribeUserResponse)++-- | The response's http status code.+describeUserResponse_httpStatus :: Lens.Lens' DescribeUserResponse Prelude.Int+describeUserResponse_httpStatus = Lens.lens (\DescribeUserResponse' {httpStatus} -> httpStatus) (\s@DescribeUserResponse' {} a -> s {httpStatus = a} :: DescribeUserResponse)++instance Prelude.NFData DescribeUserResponse where+ rnf DescribeUserResponse' {..} =+ Prelude.rnf disabledDate+ `Prelude.seq` Prelude.rnf displayName+ `Prelude.seq` Prelude.rnf email+ `Prelude.seq` Prelude.rnf enabledDate+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf userRole+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DisassociateDelegateFromResource.hs view
@@ -0,0 +1,223 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DisassociateDelegateFromResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes a member from the resource\'s set of delegates.+module Amazonka.WorkMail.DisassociateDelegateFromResource+ ( -- * Creating a Request+ DisassociateDelegateFromResource (..),+ newDisassociateDelegateFromResource,++ -- * Request Lenses+ disassociateDelegateFromResource_organizationId,+ disassociateDelegateFromResource_resourceId,+ disassociateDelegateFromResource_entityId,++ -- * Destructuring the Response+ DisassociateDelegateFromResourceResponse (..),+ newDisassociateDelegateFromResourceResponse,++ -- * Response Lenses+ disassociateDelegateFromResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDisassociateDelegateFromResource' smart constructor.+data DisassociateDelegateFromResource = DisassociateDelegateFromResource'+ { -- | The identifier for the organization under which the resource exists.+ organizationId :: Prelude.Text,+ -- | The identifier of the resource from which delegates\' set members are+ -- removed.+ resourceId :: Prelude.Text,+ -- | The identifier for the member (user, group) to be removed from the+ -- resource\'s delegates.+ entityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisassociateDelegateFromResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'disassociateDelegateFromResource_organizationId' - The identifier for the organization under which the resource exists.+--+-- 'resourceId', 'disassociateDelegateFromResource_resourceId' - The identifier of the resource from which delegates\' set members are+-- removed.+--+-- 'entityId', 'disassociateDelegateFromResource_entityId' - The identifier for the member (user, group) to be removed from the+-- resource\'s delegates.+newDisassociateDelegateFromResource ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'resourceId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ DisassociateDelegateFromResource+newDisassociateDelegateFromResource+ pOrganizationId_+ pResourceId_+ pEntityId_ =+ DisassociateDelegateFromResource'+ { organizationId =+ pOrganizationId_,+ resourceId = pResourceId_,+ entityId = pEntityId_+ }++-- | The identifier for the organization under which the resource exists.+disassociateDelegateFromResource_organizationId :: Lens.Lens' DisassociateDelegateFromResource Prelude.Text+disassociateDelegateFromResource_organizationId = Lens.lens (\DisassociateDelegateFromResource' {organizationId} -> organizationId) (\s@DisassociateDelegateFromResource' {} a -> s {organizationId = a} :: DisassociateDelegateFromResource)++-- | The identifier of the resource from which delegates\' set members are+-- removed.+disassociateDelegateFromResource_resourceId :: Lens.Lens' DisassociateDelegateFromResource Prelude.Text+disassociateDelegateFromResource_resourceId = Lens.lens (\DisassociateDelegateFromResource' {resourceId} -> resourceId) (\s@DisassociateDelegateFromResource' {} a -> s {resourceId = a} :: DisassociateDelegateFromResource)++-- | The identifier for the member (user, group) to be removed from the+-- resource\'s delegates.+disassociateDelegateFromResource_entityId :: Lens.Lens' DisassociateDelegateFromResource Prelude.Text+disassociateDelegateFromResource_entityId = Lens.lens (\DisassociateDelegateFromResource' {entityId} -> entityId) (\s@DisassociateDelegateFromResource' {} a -> s {entityId = a} :: DisassociateDelegateFromResource)++instance+ Core.AWSRequest+ DisassociateDelegateFromResource+ where+ type+ AWSResponse DisassociateDelegateFromResource =+ DisassociateDelegateFromResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DisassociateDelegateFromResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ DisassociateDelegateFromResource+ where+ hashWithSalt+ _salt+ DisassociateDelegateFromResource' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` resourceId+ `Prelude.hashWithSalt` entityId++instance+ Prelude.NFData+ DisassociateDelegateFromResource+ where+ rnf DisassociateDelegateFromResource' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf entityId++instance+ Data.ToHeaders+ DisassociateDelegateFromResource+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DisassociateDelegateFromResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DisassociateDelegateFromResource where+ toJSON DisassociateDelegateFromResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("ResourceId" Data..= resourceId),+ Prelude.Just ("EntityId" Data..= entityId)+ ]+ )++instance Data.ToPath DisassociateDelegateFromResource where+ toPath = Prelude.const "/"++instance+ Data.ToQuery+ DisassociateDelegateFromResource+ where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDisassociateDelegateFromResourceResponse' smart constructor.+data DisassociateDelegateFromResourceResponse = DisassociateDelegateFromResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisassociateDelegateFromResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'disassociateDelegateFromResourceResponse_httpStatus' - The response's http status code.+newDisassociateDelegateFromResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DisassociateDelegateFromResourceResponse+newDisassociateDelegateFromResourceResponse+ pHttpStatus_ =+ DisassociateDelegateFromResourceResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+disassociateDelegateFromResourceResponse_httpStatus :: Lens.Lens' DisassociateDelegateFromResourceResponse Prelude.Int+disassociateDelegateFromResourceResponse_httpStatus = Lens.lens (\DisassociateDelegateFromResourceResponse' {httpStatus} -> httpStatus) (\s@DisassociateDelegateFromResourceResponse' {} a -> s {httpStatus = a} :: DisassociateDelegateFromResourceResponse)++instance+ Prelude.NFData+ DisassociateDelegateFromResourceResponse+ where+ rnf DisassociateDelegateFromResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/DisassociateMemberFromGroup.hs view
@@ -0,0 +1,199 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.DisassociateMemberFromGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes a member from a group.+module Amazonka.WorkMail.DisassociateMemberFromGroup+ ( -- * Creating a Request+ DisassociateMemberFromGroup (..),+ newDisassociateMemberFromGroup,++ -- * Request Lenses+ disassociateMemberFromGroup_organizationId,+ disassociateMemberFromGroup_groupId,+ disassociateMemberFromGroup_memberId,++ -- * Destructuring the Response+ DisassociateMemberFromGroupResponse (..),+ newDisassociateMemberFromGroupResponse,++ -- * Response Lenses+ disassociateMemberFromGroupResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newDisassociateMemberFromGroup' smart constructor.+data DisassociateMemberFromGroup = DisassociateMemberFromGroup'+ { -- | The identifier for the organization under which the group exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the group from which members are removed.+ groupId :: Prelude.Text,+ -- | The identifier for the member to be removed to the group.+ memberId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisassociateMemberFromGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'disassociateMemberFromGroup_organizationId' - The identifier for the organization under which the group exists.+--+-- 'groupId', 'disassociateMemberFromGroup_groupId' - The identifier for the group from which members are removed.+--+-- 'memberId', 'disassociateMemberFromGroup_memberId' - The identifier for the member to be removed to the group.+newDisassociateMemberFromGroup ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'groupId'+ Prelude.Text ->+ -- | 'memberId'+ Prelude.Text ->+ DisassociateMemberFromGroup+newDisassociateMemberFromGroup+ pOrganizationId_+ pGroupId_+ pMemberId_ =+ DisassociateMemberFromGroup'+ { organizationId =+ pOrganizationId_,+ groupId = pGroupId_,+ memberId = pMemberId_+ }++-- | The identifier for the organization under which the group exists.+disassociateMemberFromGroup_organizationId :: Lens.Lens' DisassociateMemberFromGroup Prelude.Text+disassociateMemberFromGroup_organizationId = Lens.lens (\DisassociateMemberFromGroup' {organizationId} -> organizationId) (\s@DisassociateMemberFromGroup' {} a -> s {organizationId = a} :: DisassociateMemberFromGroup)++-- | The identifier for the group from which members are removed.+disassociateMemberFromGroup_groupId :: Lens.Lens' DisassociateMemberFromGroup Prelude.Text+disassociateMemberFromGroup_groupId = Lens.lens (\DisassociateMemberFromGroup' {groupId} -> groupId) (\s@DisassociateMemberFromGroup' {} a -> s {groupId = a} :: DisassociateMemberFromGroup)++-- | The identifier for the member to be removed to the group.+disassociateMemberFromGroup_memberId :: Lens.Lens' DisassociateMemberFromGroup Prelude.Text+disassociateMemberFromGroup_memberId = Lens.lens (\DisassociateMemberFromGroup' {memberId} -> memberId) (\s@DisassociateMemberFromGroup' {} a -> s {memberId = a} :: DisassociateMemberFromGroup)++instance Core.AWSRequest DisassociateMemberFromGroup where+ type+ AWSResponse DisassociateMemberFromGroup =+ DisassociateMemberFromGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DisassociateMemberFromGroupResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DisassociateMemberFromGroup where+ hashWithSalt _salt DisassociateMemberFromGroup' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` groupId+ `Prelude.hashWithSalt` memberId++instance Prelude.NFData DisassociateMemberFromGroup where+ rnf DisassociateMemberFromGroup' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf groupId+ `Prelude.seq` Prelude.rnf memberId++instance Data.ToHeaders DisassociateMemberFromGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.DisassociateMemberFromGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DisassociateMemberFromGroup where+ toJSON DisassociateMemberFromGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("GroupId" Data..= groupId),+ Prelude.Just ("MemberId" Data..= memberId)+ ]+ )++instance Data.ToPath DisassociateMemberFromGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery DisassociateMemberFromGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDisassociateMemberFromGroupResponse' smart constructor.+data DisassociateMemberFromGroupResponse = DisassociateMemberFromGroupResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisassociateMemberFromGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'disassociateMemberFromGroupResponse_httpStatus' - The response's http status code.+newDisassociateMemberFromGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DisassociateMemberFromGroupResponse+newDisassociateMemberFromGroupResponse pHttpStatus_ =+ DisassociateMemberFromGroupResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+disassociateMemberFromGroupResponse_httpStatus :: Lens.Lens' DisassociateMemberFromGroupResponse Prelude.Int+disassociateMemberFromGroupResponse_httpStatus = Lens.lens (\DisassociateMemberFromGroupResponse' {httpStatus} -> httpStatus) (\s@DisassociateMemberFromGroupResponse' {} a -> s {httpStatus = a} :: DisassociateMemberFromGroupResponse)++instance+ Prelude.NFData+ DisassociateMemberFromGroupResponse+ where+ rnf DisassociateMemberFromGroupResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetAccessControlEffect.hs view
@@ -0,0 +1,257 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetAccessControlEffect+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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. You must provide either the user ID or+-- impersonation role ID. Impersonation role ID can only be used with+-- Action EWS.+module Amazonka.WorkMail.GetAccessControlEffect+ ( -- * Creating a Request+ GetAccessControlEffect (..),+ newGetAccessControlEffect,++ -- * Request Lenses+ getAccessControlEffect_impersonationRoleId,+ getAccessControlEffect_userId,+ getAccessControlEffect_organizationId,+ getAccessControlEffect_ipAddress,+ getAccessControlEffect_action,++ -- * Destructuring the Response+ GetAccessControlEffectResponse (..),+ newGetAccessControlEffectResponse,++ -- * Response Lenses+ getAccessControlEffectResponse_effect,+ getAccessControlEffectResponse_matchedRules,+ getAccessControlEffectResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetAccessControlEffect' smart constructor.+data GetAccessControlEffect = GetAccessControlEffect'+ { -- | The impersonation role ID.+ impersonationRoleId :: Prelude.Maybe Prelude.Text,+ -- | The user ID.+ userId :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the organization.+ organizationId :: Prelude.Text,+ -- | The IPv4 address.+ ipAddress :: Prelude.Text,+ -- | The access protocol action. Valid values include @ActiveSync@,+ -- @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@, and @WebMail@.+ action :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetAccessControlEffect' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'impersonationRoleId', 'getAccessControlEffect_impersonationRoleId' - The impersonation role ID.+--+-- 'userId', 'getAccessControlEffect_userId' - The user ID.+--+-- 'organizationId', 'getAccessControlEffect_organizationId' - The identifier for the organization.+--+-- 'ipAddress', 'getAccessControlEffect_ipAddress' - The IPv4 address.+--+-- 'action', 'getAccessControlEffect_action' - The access protocol action. Valid values include @ActiveSync@,+-- @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@, and @WebMail@.+newGetAccessControlEffect ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'ipAddress'+ Prelude.Text ->+ -- | 'action'+ Prelude.Text ->+ GetAccessControlEffect+newGetAccessControlEffect+ pOrganizationId_+ pIpAddress_+ pAction_ =+ GetAccessControlEffect'+ { impersonationRoleId =+ Prelude.Nothing,+ userId = Prelude.Nothing,+ organizationId = pOrganizationId_,+ ipAddress = pIpAddress_,+ action = pAction_+ }++-- | The impersonation role ID.+getAccessControlEffect_impersonationRoleId :: Lens.Lens' GetAccessControlEffect (Prelude.Maybe Prelude.Text)+getAccessControlEffect_impersonationRoleId = Lens.lens (\GetAccessControlEffect' {impersonationRoleId} -> impersonationRoleId) (\s@GetAccessControlEffect' {} a -> s {impersonationRoleId = a} :: GetAccessControlEffect)++-- | The user ID.+getAccessControlEffect_userId :: Lens.Lens' GetAccessControlEffect (Prelude.Maybe Prelude.Text)+getAccessControlEffect_userId = Lens.lens (\GetAccessControlEffect' {userId} -> userId) (\s@GetAccessControlEffect' {} a -> s {userId = a} :: GetAccessControlEffect)++-- | The identifier for the organization.+getAccessControlEffect_organizationId :: Lens.Lens' GetAccessControlEffect Prelude.Text+getAccessControlEffect_organizationId = Lens.lens (\GetAccessControlEffect' {organizationId} -> organizationId) (\s@GetAccessControlEffect' {} a -> s {organizationId = a} :: GetAccessControlEffect)++-- | The IPv4 address.+getAccessControlEffect_ipAddress :: Lens.Lens' GetAccessControlEffect Prelude.Text+getAccessControlEffect_ipAddress = Lens.lens (\GetAccessControlEffect' {ipAddress} -> ipAddress) (\s@GetAccessControlEffect' {} a -> s {ipAddress = a} :: GetAccessControlEffect)++-- | The access protocol action. Valid values include @ActiveSync@,+-- @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@, and @WebMail@.+getAccessControlEffect_action :: Lens.Lens' GetAccessControlEffect Prelude.Text+getAccessControlEffect_action = Lens.lens (\GetAccessControlEffect' {action} -> action) (\s@GetAccessControlEffect' {} a -> s {action = a} :: GetAccessControlEffect)++instance Core.AWSRequest GetAccessControlEffect where+ type+ AWSResponse GetAccessControlEffect =+ GetAccessControlEffectResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetAccessControlEffectResponse'+ Prelude.<$> (x Data..?> "Effect")+ Prelude.<*> (x Data..?> "MatchedRules" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetAccessControlEffect where+ hashWithSalt _salt GetAccessControlEffect' {..} =+ _salt+ `Prelude.hashWithSalt` impersonationRoleId+ `Prelude.hashWithSalt` userId+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` ipAddress+ `Prelude.hashWithSalt` action++instance Prelude.NFData GetAccessControlEffect where+ rnf GetAccessControlEffect' {..} =+ Prelude.rnf impersonationRoleId+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf ipAddress+ `Prelude.seq` Prelude.rnf action++instance Data.ToHeaders GetAccessControlEffect where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetAccessControlEffect" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetAccessControlEffect where+ toJSON GetAccessControlEffect' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ImpersonationRoleId" Data..=)+ Prelude.<$> impersonationRoleId,+ ("UserId" Data..=) Prelude.<$> userId,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("IpAddress" Data..= ipAddress),+ Prelude.Just ("Action" Data..= action)+ ]+ )++instance Data.ToPath GetAccessControlEffect where+ toPath = Prelude.const "/"++instance Data.ToQuery GetAccessControlEffect where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetAccessControlEffectResponse' smart constructor.+data GetAccessControlEffectResponse = GetAccessControlEffectResponse'+ { -- | The rule effect.+ effect :: Prelude.Maybe AccessControlRuleEffect,+ -- | The rules that match the given parameters, resulting in an effect.+ matchedRules :: Prelude.Maybe [Prelude.Text],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetAccessControlEffectResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'effect', 'getAccessControlEffectResponse_effect' - The rule effect.+--+-- 'matchedRules', 'getAccessControlEffectResponse_matchedRules' - The rules that match the given parameters, resulting in an effect.+--+-- 'httpStatus', 'getAccessControlEffectResponse_httpStatus' - The response's http status code.+newGetAccessControlEffectResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetAccessControlEffectResponse+newGetAccessControlEffectResponse pHttpStatus_ =+ GetAccessControlEffectResponse'+ { effect =+ Prelude.Nothing,+ matchedRules = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The rule effect.+getAccessControlEffectResponse_effect :: Lens.Lens' GetAccessControlEffectResponse (Prelude.Maybe AccessControlRuleEffect)+getAccessControlEffectResponse_effect = Lens.lens (\GetAccessControlEffectResponse' {effect} -> effect) (\s@GetAccessControlEffectResponse' {} a -> s {effect = a} :: GetAccessControlEffectResponse)++-- | The rules that match the given parameters, resulting in an effect.+getAccessControlEffectResponse_matchedRules :: Lens.Lens' GetAccessControlEffectResponse (Prelude.Maybe [Prelude.Text])+getAccessControlEffectResponse_matchedRules = Lens.lens (\GetAccessControlEffectResponse' {matchedRules} -> matchedRules) (\s@GetAccessControlEffectResponse' {} a -> s {matchedRules = a} :: GetAccessControlEffectResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getAccessControlEffectResponse_httpStatus :: Lens.Lens' GetAccessControlEffectResponse Prelude.Int+getAccessControlEffectResponse_httpStatus = Lens.lens (\GetAccessControlEffectResponse' {httpStatus} -> httpStatus) (\s@GetAccessControlEffectResponse' {} a -> s {httpStatus = a} :: GetAccessControlEffectResponse)++instance+ Prelude.NFData+ GetAccessControlEffectResponse+ where+ rnf GetAccessControlEffectResponse' {..} =+ Prelude.rnf effect+ `Prelude.seq` Prelude.rnf matchedRules+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetDefaultRetentionPolicy.hs view
@@ -0,0 +1,217 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetDefaultRetentionPolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the default retention policy details for the specified+-- organization.+module Amazonka.WorkMail.GetDefaultRetentionPolicy+ ( -- * Creating a Request+ GetDefaultRetentionPolicy (..),+ newGetDefaultRetentionPolicy,++ -- * Request Lenses+ getDefaultRetentionPolicy_organizationId,++ -- * Destructuring the Response+ GetDefaultRetentionPolicyResponse (..),+ newGetDefaultRetentionPolicyResponse,++ -- * Response Lenses+ getDefaultRetentionPolicyResponse_description,+ getDefaultRetentionPolicyResponse_folderConfigurations,+ getDefaultRetentionPolicyResponse_id,+ getDefaultRetentionPolicyResponse_name,+ getDefaultRetentionPolicyResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetDefaultRetentionPolicy' smart constructor.+data GetDefaultRetentionPolicy = GetDefaultRetentionPolicy'+ { -- | The organization ID.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDefaultRetentionPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'getDefaultRetentionPolicy_organizationId' - The organization ID.+newGetDefaultRetentionPolicy ::+ -- | 'organizationId'+ Prelude.Text ->+ GetDefaultRetentionPolicy+newGetDefaultRetentionPolicy pOrganizationId_ =+ GetDefaultRetentionPolicy'+ { organizationId =+ pOrganizationId_+ }++-- | The organization ID.+getDefaultRetentionPolicy_organizationId :: Lens.Lens' GetDefaultRetentionPolicy Prelude.Text+getDefaultRetentionPolicy_organizationId = Lens.lens (\GetDefaultRetentionPolicy' {organizationId} -> organizationId) (\s@GetDefaultRetentionPolicy' {} a -> s {organizationId = a} :: GetDefaultRetentionPolicy)++instance Core.AWSRequest GetDefaultRetentionPolicy where+ type+ AWSResponse GetDefaultRetentionPolicy =+ GetDefaultRetentionPolicyResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetDefaultRetentionPolicyResponse'+ Prelude.<$> (x Data..?> "Description")+ Prelude.<*> ( x+ Data..?> "FolderConfigurations"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "Id")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetDefaultRetentionPolicy where+ hashWithSalt _salt GetDefaultRetentionPolicy' {..} =+ _salt `Prelude.hashWithSalt` organizationId++instance Prelude.NFData GetDefaultRetentionPolicy where+ rnf GetDefaultRetentionPolicy' {..} =+ Prelude.rnf organizationId++instance Data.ToHeaders GetDefaultRetentionPolicy where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetDefaultRetentionPolicy" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetDefaultRetentionPolicy where+ toJSON GetDefaultRetentionPolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath GetDefaultRetentionPolicy where+ toPath = Prelude.const "/"++instance Data.ToQuery GetDefaultRetentionPolicy where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetDefaultRetentionPolicyResponse' smart constructor.+data GetDefaultRetentionPolicyResponse = GetDefaultRetentionPolicyResponse'+ { -- | The retention policy description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The retention policy folder configurations.+ folderConfigurations :: Prelude.Maybe [FolderConfiguration],+ -- | The retention policy ID.+ id :: Prelude.Maybe Prelude.Text,+ -- | The retention policy name.+ name :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDefaultRetentionPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'getDefaultRetentionPolicyResponse_description' - The retention policy description.+--+-- 'folderConfigurations', 'getDefaultRetentionPolicyResponse_folderConfigurations' - The retention policy folder configurations.+--+-- 'id', 'getDefaultRetentionPolicyResponse_id' - The retention policy ID.+--+-- 'name', 'getDefaultRetentionPolicyResponse_name' - The retention policy name.+--+-- 'httpStatus', 'getDefaultRetentionPolicyResponse_httpStatus' - The response's http status code.+newGetDefaultRetentionPolicyResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetDefaultRetentionPolicyResponse+newGetDefaultRetentionPolicyResponse pHttpStatus_ =+ GetDefaultRetentionPolicyResponse'+ { description =+ Prelude.Nothing,+ folderConfigurations = Prelude.Nothing,+ id = Prelude.Nothing,+ name = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The retention policy description.+getDefaultRetentionPolicyResponse_description :: Lens.Lens' GetDefaultRetentionPolicyResponse (Prelude.Maybe Prelude.Text)+getDefaultRetentionPolicyResponse_description = Lens.lens (\GetDefaultRetentionPolicyResponse' {description} -> description) (\s@GetDefaultRetentionPolicyResponse' {} a -> s {description = a} :: GetDefaultRetentionPolicyResponse)++-- | The retention policy folder configurations.+getDefaultRetentionPolicyResponse_folderConfigurations :: Lens.Lens' GetDefaultRetentionPolicyResponse (Prelude.Maybe [FolderConfiguration])+getDefaultRetentionPolicyResponse_folderConfigurations = Lens.lens (\GetDefaultRetentionPolicyResponse' {folderConfigurations} -> folderConfigurations) (\s@GetDefaultRetentionPolicyResponse' {} a -> s {folderConfigurations = a} :: GetDefaultRetentionPolicyResponse) Prelude.. Lens.mapping Lens.coerced++-- | The retention policy ID.+getDefaultRetentionPolicyResponse_id :: Lens.Lens' GetDefaultRetentionPolicyResponse (Prelude.Maybe Prelude.Text)+getDefaultRetentionPolicyResponse_id = Lens.lens (\GetDefaultRetentionPolicyResponse' {id} -> id) (\s@GetDefaultRetentionPolicyResponse' {} a -> s {id = a} :: GetDefaultRetentionPolicyResponse)++-- | The retention policy name.+getDefaultRetentionPolicyResponse_name :: Lens.Lens' GetDefaultRetentionPolicyResponse (Prelude.Maybe Prelude.Text)+getDefaultRetentionPolicyResponse_name = Lens.lens (\GetDefaultRetentionPolicyResponse' {name} -> name) (\s@GetDefaultRetentionPolicyResponse' {} a -> s {name = a} :: GetDefaultRetentionPolicyResponse)++-- | The response's http status code.+getDefaultRetentionPolicyResponse_httpStatus :: Lens.Lens' GetDefaultRetentionPolicyResponse Prelude.Int+getDefaultRetentionPolicyResponse_httpStatus = Lens.lens (\GetDefaultRetentionPolicyResponse' {httpStatus} -> httpStatus) (\s@GetDefaultRetentionPolicyResponse' {} a -> s {httpStatus = a} :: GetDefaultRetentionPolicyResponse)++instance+ Prelude.NFData+ GetDefaultRetentionPolicyResponse+ where+ rnf GetDefaultRetentionPolicyResponse' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf folderConfigurations+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetImpersonationRole.hs view
@@ -0,0 +1,265 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetImpersonationRole+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the impersonation role details for the given WorkMail organization.+module Amazonka.WorkMail.GetImpersonationRole+ ( -- * Creating a Request+ GetImpersonationRole (..),+ newGetImpersonationRole,++ -- * Request Lenses+ getImpersonationRole_organizationId,+ getImpersonationRole_impersonationRoleId,++ -- * Destructuring the Response+ GetImpersonationRoleResponse (..),+ newGetImpersonationRoleResponse,++ -- * Response Lenses+ getImpersonationRoleResponse_dateCreated,+ getImpersonationRoleResponse_dateModified,+ getImpersonationRoleResponse_description,+ getImpersonationRoleResponse_impersonationRoleId,+ getImpersonationRoleResponse_name,+ getImpersonationRoleResponse_rules,+ getImpersonationRoleResponse_type,+ getImpersonationRoleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetImpersonationRole' smart constructor.+data GetImpersonationRole = GetImpersonationRole'+ { -- | The WorkMail organization from which to retrieve the impersonation role.+ organizationId :: Prelude.Text,+ -- | The impersonation role ID to retrieve.+ impersonationRoleId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetImpersonationRole' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'getImpersonationRole_organizationId' - The WorkMail organization from which to retrieve the impersonation role.+--+-- 'impersonationRoleId', 'getImpersonationRole_impersonationRoleId' - The impersonation role ID to retrieve.+newGetImpersonationRole ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'impersonationRoleId'+ Prelude.Text ->+ GetImpersonationRole+newGetImpersonationRole+ pOrganizationId_+ pImpersonationRoleId_ =+ GetImpersonationRole'+ { organizationId =+ pOrganizationId_,+ impersonationRoleId = pImpersonationRoleId_+ }++-- | The WorkMail organization from which to retrieve the impersonation role.+getImpersonationRole_organizationId :: Lens.Lens' GetImpersonationRole Prelude.Text+getImpersonationRole_organizationId = Lens.lens (\GetImpersonationRole' {organizationId} -> organizationId) (\s@GetImpersonationRole' {} a -> s {organizationId = a} :: GetImpersonationRole)++-- | The impersonation role ID to retrieve.+getImpersonationRole_impersonationRoleId :: Lens.Lens' GetImpersonationRole Prelude.Text+getImpersonationRole_impersonationRoleId = Lens.lens (\GetImpersonationRole' {impersonationRoleId} -> impersonationRoleId) (\s@GetImpersonationRole' {} a -> s {impersonationRoleId = a} :: GetImpersonationRole)++instance Core.AWSRequest GetImpersonationRole where+ type+ AWSResponse GetImpersonationRole =+ GetImpersonationRoleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetImpersonationRoleResponse'+ Prelude.<$> (x Data..?> "DateCreated")+ Prelude.<*> (x Data..?> "DateModified")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "ImpersonationRoleId")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "Rules" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "Type")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetImpersonationRole where+ hashWithSalt _salt GetImpersonationRole' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` impersonationRoleId++instance Prelude.NFData GetImpersonationRole where+ rnf GetImpersonationRole' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf impersonationRoleId++instance Data.ToHeaders GetImpersonationRole where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetImpersonationRole" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetImpersonationRole where+ toJSON GetImpersonationRole' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ("ImpersonationRoleId" Data..= impersonationRoleId)+ ]+ )++instance Data.ToPath GetImpersonationRole where+ toPath = Prelude.const "/"++instance Data.ToQuery GetImpersonationRole where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetImpersonationRoleResponse' smart constructor.+data GetImpersonationRoleResponse = GetImpersonationRoleResponse'+ { -- | The date when the impersonation role was created.+ dateCreated :: Prelude.Maybe Data.POSIX,+ -- | The date when the impersonation role was last modified.+ dateModified :: Prelude.Maybe Data.POSIX,+ -- | The impersonation role description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The impersonation role ID.+ impersonationRoleId :: Prelude.Maybe Prelude.Text,+ -- | The impersonation role name.+ name :: Prelude.Maybe Prelude.Text,+ -- | The list of rules for the given impersonation role.+ rules :: Prelude.Maybe [ImpersonationRule],+ -- | The impersonation role type.+ type' :: Prelude.Maybe ImpersonationRoleType,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetImpersonationRoleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dateCreated', 'getImpersonationRoleResponse_dateCreated' - The date when the impersonation role was created.+--+-- 'dateModified', 'getImpersonationRoleResponse_dateModified' - The date when the impersonation role was last modified.+--+-- 'description', 'getImpersonationRoleResponse_description' - The impersonation role description.+--+-- 'impersonationRoleId', 'getImpersonationRoleResponse_impersonationRoleId' - The impersonation role ID.+--+-- 'name', 'getImpersonationRoleResponse_name' - The impersonation role name.+--+-- 'rules', 'getImpersonationRoleResponse_rules' - The list of rules for the given impersonation role.+--+-- 'type'', 'getImpersonationRoleResponse_type' - The impersonation role type.+--+-- 'httpStatus', 'getImpersonationRoleResponse_httpStatus' - The response's http status code.+newGetImpersonationRoleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetImpersonationRoleResponse+newGetImpersonationRoleResponse pHttpStatus_ =+ GetImpersonationRoleResponse'+ { dateCreated =+ Prelude.Nothing,+ dateModified = Prelude.Nothing,+ description = Prelude.Nothing,+ impersonationRoleId = Prelude.Nothing,+ name = Prelude.Nothing,+ rules = Prelude.Nothing,+ type' = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The date when the impersonation role was created.+getImpersonationRoleResponse_dateCreated :: Lens.Lens' GetImpersonationRoleResponse (Prelude.Maybe Prelude.UTCTime)+getImpersonationRoleResponse_dateCreated = Lens.lens (\GetImpersonationRoleResponse' {dateCreated} -> dateCreated) (\s@GetImpersonationRoleResponse' {} a -> s {dateCreated = a} :: GetImpersonationRoleResponse) Prelude.. Lens.mapping Data._Time++-- | The date when the impersonation role was last modified.+getImpersonationRoleResponse_dateModified :: Lens.Lens' GetImpersonationRoleResponse (Prelude.Maybe Prelude.UTCTime)+getImpersonationRoleResponse_dateModified = Lens.lens (\GetImpersonationRoleResponse' {dateModified} -> dateModified) (\s@GetImpersonationRoleResponse' {} a -> s {dateModified = a} :: GetImpersonationRoleResponse) Prelude.. Lens.mapping Data._Time++-- | The impersonation role description.+getImpersonationRoleResponse_description :: Lens.Lens' GetImpersonationRoleResponse (Prelude.Maybe Prelude.Text)+getImpersonationRoleResponse_description = Lens.lens (\GetImpersonationRoleResponse' {description} -> description) (\s@GetImpersonationRoleResponse' {} a -> s {description = a} :: GetImpersonationRoleResponse)++-- | The impersonation role ID.+getImpersonationRoleResponse_impersonationRoleId :: Lens.Lens' GetImpersonationRoleResponse (Prelude.Maybe Prelude.Text)+getImpersonationRoleResponse_impersonationRoleId = Lens.lens (\GetImpersonationRoleResponse' {impersonationRoleId} -> impersonationRoleId) (\s@GetImpersonationRoleResponse' {} a -> s {impersonationRoleId = a} :: GetImpersonationRoleResponse)++-- | The impersonation role name.+getImpersonationRoleResponse_name :: Lens.Lens' GetImpersonationRoleResponse (Prelude.Maybe Prelude.Text)+getImpersonationRoleResponse_name = Lens.lens (\GetImpersonationRoleResponse' {name} -> name) (\s@GetImpersonationRoleResponse' {} a -> s {name = a} :: GetImpersonationRoleResponse)++-- | The list of rules for the given impersonation role.+getImpersonationRoleResponse_rules :: Lens.Lens' GetImpersonationRoleResponse (Prelude.Maybe [ImpersonationRule])+getImpersonationRoleResponse_rules = Lens.lens (\GetImpersonationRoleResponse' {rules} -> rules) (\s@GetImpersonationRoleResponse' {} a -> s {rules = a} :: GetImpersonationRoleResponse) Prelude.. Lens.mapping Lens.coerced++-- | The impersonation role type.+getImpersonationRoleResponse_type :: Lens.Lens' GetImpersonationRoleResponse (Prelude.Maybe ImpersonationRoleType)+getImpersonationRoleResponse_type = Lens.lens (\GetImpersonationRoleResponse' {type'} -> type') (\s@GetImpersonationRoleResponse' {} a -> s {type' = a} :: GetImpersonationRoleResponse)++-- | The response's http status code.+getImpersonationRoleResponse_httpStatus :: Lens.Lens' GetImpersonationRoleResponse Prelude.Int+getImpersonationRoleResponse_httpStatus = Lens.lens (\GetImpersonationRoleResponse' {httpStatus} -> httpStatus) (\s@GetImpersonationRoleResponse' {} a -> s {httpStatus = a} :: GetImpersonationRoleResponse)++instance Prelude.NFData GetImpersonationRoleResponse where+ rnf GetImpersonationRoleResponse' {..} =+ Prelude.rnf dateCreated+ `Prelude.seq` Prelude.rnf dateModified+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf impersonationRoleId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf rules+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetImpersonationRoleEffect.hs view
@@ -0,0 +1,267 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetImpersonationRoleEffect+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Tests whether the given impersonation role can impersonate a target+-- user.+module Amazonka.WorkMail.GetImpersonationRoleEffect+ ( -- * Creating a Request+ GetImpersonationRoleEffect (..),+ newGetImpersonationRoleEffect,++ -- * Request Lenses+ getImpersonationRoleEffect_organizationId,+ getImpersonationRoleEffect_impersonationRoleId,+ getImpersonationRoleEffect_targetUser,++ -- * Destructuring the Response+ GetImpersonationRoleEffectResponse (..),+ newGetImpersonationRoleEffectResponse,++ -- * Response Lenses+ getImpersonationRoleEffectResponse_effect,+ getImpersonationRoleEffectResponse_matchedRules,+ getImpersonationRoleEffectResponse_type,+ getImpersonationRoleEffectResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetImpersonationRoleEffect' smart constructor.+data GetImpersonationRoleEffect = GetImpersonationRoleEffect'+ { -- | The WorkMail organization where the impersonation role is defined.+ organizationId :: Prelude.Text,+ -- | The impersonation role ID to test.+ impersonationRoleId :: Prelude.Text,+ -- | The WorkMail organization user chosen to test the impersonation role.+ -- The following identity formats are available:+ --+ -- - User ID: @12345678-1234-1234-1234-123456789012@ or+ -- @S-1-1-12-1234567890-123456789-123456789-1234@+ --+ -- - Email address: @user\@domain.tld@+ --+ -- - User name: @user@+ targetUser :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetImpersonationRoleEffect' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'getImpersonationRoleEffect_organizationId' - The WorkMail organization where the impersonation role is defined.+--+-- 'impersonationRoleId', 'getImpersonationRoleEffect_impersonationRoleId' - The impersonation role ID to test.+--+-- 'targetUser', 'getImpersonationRoleEffect_targetUser' - The WorkMail organization user chosen to test the impersonation role.+-- The following identity formats are available:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+newGetImpersonationRoleEffect ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'impersonationRoleId'+ Prelude.Text ->+ -- | 'targetUser'+ Prelude.Text ->+ GetImpersonationRoleEffect+newGetImpersonationRoleEffect+ pOrganizationId_+ pImpersonationRoleId_+ pTargetUser_ =+ GetImpersonationRoleEffect'+ { organizationId =+ pOrganizationId_,+ impersonationRoleId = pImpersonationRoleId_,+ targetUser = pTargetUser_+ }++-- | The WorkMail organization where the impersonation role is defined.+getImpersonationRoleEffect_organizationId :: Lens.Lens' GetImpersonationRoleEffect Prelude.Text+getImpersonationRoleEffect_organizationId = Lens.lens (\GetImpersonationRoleEffect' {organizationId} -> organizationId) (\s@GetImpersonationRoleEffect' {} a -> s {organizationId = a} :: GetImpersonationRoleEffect)++-- | The impersonation role ID to test.+getImpersonationRoleEffect_impersonationRoleId :: Lens.Lens' GetImpersonationRoleEffect Prelude.Text+getImpersonationRoleEffect_impersonationRoleId = Lens.lens (\GetImpersonationRoleEffect' {impersonationRoleId} -> impersonationRoleId) (\s@GetImpersonationRoleEffect' {} a -> s {impersonationRoleId = a} :: GetImpersonationRoleEffect)++-- | The WorkMail organization user chosen to test the impersonation role.+-- The following identity formats are available:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+getImpersonationRoleEffect_targetUser :: Lens.Lens' GetImpersonationRoleEffect Prelude.Text+getImpersonationRoleEffect_targetUser = Lens.lens (\GetImpersonationRoleEffect' {targetUser} -> targetUser) (\s@GetImpersonationRoleEffect' {} a -> s {targetUser = a} :: GetImpersonationRoleEffect)++instance Core.AWSRequest GetImpersonationRoleEffect where+ type+ AWSResponse GetImpersonationRoleEffect =+ GetImpersonationRoleEffectResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetImpersonationRoleEffectResponse'+ Prelude.<$> (x Data..?> "Effect")+ Prelude.<*> (x Data..?> "MatchedRules" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "Type")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetImpersonationRoleEffect where+ hashWithSalt _salt GetImpersonationRoleEffect' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` impersonationRoleId+ `Prelude.hashWithSalt` targetUser++instance Prelude.NFData GetImpersonationRoleEffect where+ rnf GetImpersonationRoleEffect' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf impersonationRoleId+ `Prelude.seq` Prelude.rnf targetUser++instance Data.ToHeaders GetImpersonationRoleEffect where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetImpersonationRoleEffect" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetImpersonationRoleEffect where+ toJSON GetImpersonationRoleEffect' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ("ImpersonationRoleId" Data..= impersonationRoleId),+ Prelude.Just ("TargetUser" Data..= targetUser)+ ]+ )++instance Data.ToPath GetImpersonationRoleEffect where+ toPath = Prelude.const "/"++instance Data.ToQuery GetImpersonationRoleEffect where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetImpersonationRoleEffectResponse' smart constructor.+data GetImpersonationRoleEffectResponse = GetImpersonationRoleEffectResponse'+ { -- | Effect of the impersonation role on the target user based on its rules.+ -- Available effects are @ALLOW@ or @DENY@.+ effect :: Prelude.Maybe AccessEffect,+ -- | A list of the rules that match the input and produce the configured+ -- effect.+ matchedRules :: Prelude.Maybe [ImpersonationMatchedRule],+ -- | The impersonation role type.+ type' :: Prelude.Maybe ImpersonationRoleType,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetImpersonationRoleEffectResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'effect', 'getImpersonationRoleEffectResponse_effect' - Effect of the impersonation role on the target user based on its rules.+-- Available effects are @ALLOW@ or @DENY@.+--+-- 'matchedRules', 'getImpersonationRoleEffectResponse_matchedRules' - A list of the rules that match the input and produce the configured+-- effect.+--+-- 'type'', 'getImpersonationRoleEffectResponse_type' - The impersonation role type.+--+-- 'httpStatus', 'getImpersonationRoleEffectResponse_httpStatus' - The response's http status code.+newGetImpersonationRoleEffectResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetImpersonationRoleEffectResponse+newGetImpersonationRoleEffectResponse pHttpStatus_ =+ GetImpersonationRoleEffectResponse'+ { effect =+ Prelude.Nothing,+ matchedRules = Prelude.Nothing,+ type' = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Effect of the impersonation role on the target user based on its rules.+-- Available effects are @ALLOW@ or @DENY@.+getImpersonationRoleEffectResponse_effect :: Lens.Lens' GetImpersonationRoleEffectResponse (Prelude.Maybe AccessEffect)+getImpersonationRoleEffectResponse_effect = Lens.lens (\GetImpersonationRoleEffectResponse' {effect} -> effect) (\s@GetImpersonationRoleEffectResponse' {} a -> s {effect = a} :: GetImpersonationRoleEffectResponse)++-- | A list of the rules that match the input and produce the configured+-- effect.+getImpersonationRoleEffectResponse_matchedRules :: Lens.Lens' GetImpersonationRoleEffectResponse (Prelude.Maybe [ImpersonationMatchedRule])+getImpersonationRoleEffectResponse_matchedRules = Lens.lens (\GetImpersonationRoleEffectResponse' {matchedRules} -> matchedRules) (\s@GetImpersonationRoleEffectResponse' {} a -> s {matchedRules = a} :: GetImpersonationRoleEffectResponse) Prelude.. Lens.mapping Lens.coerced++-- | The impersonation role type.+getImpersonationRoleEffectResponse_type :: Lens.Lens' GetImpersonationRoleEffectResponse (Prelude.Maybe ImpersonationRoleType)+getImpersonationRoleEffectResponse_type = Lens.lens (\GetImpersonationRoleEffectResponse' {type'} -> type') (\s@GetImpersonationRoleEffectResponse' {} a -> s {type' = a} :: GetImpersonationRoleEffectResponse)++-- | The response's http status code.+getImpersonationRoleEffectResponse_httpStatus :: Lens.Lens' GetImpersonationRoleEffectResponse Prelude.Int+getImpersonationRoleEffectResponse_httpStatus = Lens.lens (\GetImpersonationRoleEffectResponse' {httpStatus} -> httpStatus) (\s@GetImpersonationRoleEffectResponse' {} a -> s {httpStatus = a} :: GetImpersonationRoleEffectResponse)++instance+ Prelude.NFData+ GetImpersonationRoleEffectResponse+ where+ rnf GetImpersonationRoleEffectResponse' {..} =+ Prelude.rnf effect+ `Prelude.seq` Prelude.rnf matchedRules+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetMailDomain.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetMailDomain+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets details for a mail domain, including domain records required to+-- configure your domain with recommended security.+module Amazonka.WorkMail.GetMailDomain+ ( -- * Creating a Request+ GetMailDomain (..),+ newGetMailDomain,++ -- * Request Lenses+ getMailDomain_organizationId,+ getMailDomain_domainName,++ -- * Destructuring the Response+ GetMailDomainResponse (..),+ newGetMailDomainResponse,++ -- * Response Lenses+ getMailDomainResponse_dkimVerificationStatus,+ getMailDomainResponse_isDefault,+ getMailDomainResponse_isTestDomain,+ getMailDomainResponse_ownershipVerificationStatus,+ getMailDomainResponse_records,+ getMailDomainResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetMailDomain' smart constructor.+data GetMailDomain = GetMailDomain'+ { -- | The WorkMail organization for which the domain is retrieved.+ organizationId :: Prelude.Text,+ -- | The domain from which you want to retrieve details.+ domainName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMailDomain' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'getMailDomain_organizationId' - The WorkMail organization for which the domain is retrieved.+--+-- 'domainName', 'getMailDomain_domainName' - The domain from which you want to retrieve details.+newGetMailDomain ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'domainName'+ Prelude.Text ->+ GetMailDomain+newGetMailDomain pOrganizationId_ pDomainName_ =+ GetMailDomain'+ { organizationId = pOrganizationId_,+ domainName = pDomainName_+ }++-- | The WorkMail organization for which the domain is retrieved.+getMailDomain_organizationId :: Lens.Lens' GetMailDomain Prelude.Text+getMailDomain_organizationId = Lens.lens (\GetMailDomain' {organizationId} -> organizationId) (\s@GetMailDomain' {} a -> s {organizationId = a} :: GetMailDomain)++-- | The domain from which you want to retrieve details.+getMailDomain_domainName :: Lens.Lens' GetMailDomain Prelude.Text+getMailDomain_domainName = Lens.lens (\GetMailDomain' {domainName} -> domainName) (\s@GetMailDomain' {} a -> s {domainName = a} :: GetMailDomain)++instance Core.AWSRequest GetMailDomain where+ type+ AWSResponse GetMailDomain =+ GetMailDomainResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetMailDomainResponse'+ Prelude.<$> (x Data..?> "DkimVerificationStatus")+ Prelude.<*> (x Data..?> "IsDefault")+ Prelude.<*> (x Data..?> "IsTestDomain")+ Prelude.<*> (x Data..?> "OwnershipVerificationStatus")+ Prelude.<*> (x Data..?> "Records" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetMailDomain where+ hashWithSalt _salt GetMailDomain' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` domainName++instance Prelude.NFData GetMailDomain where+ rnf GetMailDomain' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf domainName++instance Data.ToHeaders GetMailDomain where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetMailDomain" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetMailDomain where+ toJSON GetMailDomain' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("DomainName" Data..= domainName)+ ]+ )++instance Data.ToPath GetMailDomain where+ toPath = Prelude.const "/"++instance Data.ToQuery GetMailDomain where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetMailDomainResponse' smart constructor.+data GetMailDomainResponse = GetMailDomainResponse'+ { -- | Indicates the status of a DKIM verification.+ dkimVerificationStatus :: Prelude.Maybe DnsRecordVerificationStatus,+ -- | Specifies whether the domain is the default domain for your+ -- organization.+ isDefault :: Prelude.Maybe Prelude.Bool,+ -- | Specifies whether the domain is a test domain provided by WorkMail, or a+ -- custom domain.+ isTestDomain :: Prelude.Maybe Prelude.Bool,+ -- | Indicates the status of the domain ownership verification.+ ownershipVerificationStatus :: Prelude.Maybe DnsRecordVerificationStatus,+ -- | A list of the DNS records that WorkMail recommends adding in your DNS+ -- provider for the best user experience. The records configure your domain+ -- with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See+ -- admin guide for more details.+ records :: Prelude.Maybe [DnsRecord],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMailDomainResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dkimVerificationStatus', 'getMailDomainResponse_dkimVerificationStatus' - Indicates the status of a DKIM verification.+--+-- 'isDefault', 'getMailDomainResponse_isDefault' - Specifies whether the domain is the default domain for your+-- organization.+--+-- 'isTestDomain', 'getMailDomainResponse_isTestDomain' - Specifies whether the domain is a test domain provided by WorkMail, or a+-- custom domain.+--+-- 'ownershipVerificationStatus', 'getMailDomainResponse_ownershipVerificationStatus' - Indicates the status of the domain ownership verification.+--+-- 'records', 'getMailDomainResponse_records' - A list of the DNS records that WorkMail recommends adding in your DNS+-- provider for the best user experience. The records configure your domain+-- with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See+-- admin guide for more details.+--+-- 'httpStatus', 'getMailDomainResponse_httpStatus' - The response's http status code.+newGetMailDomainResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetMailDomainResponse+newGetMailDomainResponse pHttpStatus_ =+ GetMailDomainResponse'+ { dkimVerificationStatus =+ Prelude.Nothing,+ isDefault = Prelude.Nothing,+ isTestDomain = Prelude.Nothing,+ ownershipVerificationStatus = Prelude.Nothing,+ records = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Indicates the status of a DKIM verification.+getMailDomainResponse_dkimVerificationStatus :: Lens.Lens' GetMailDomainResponse (Prelude.Maybe DnsRecordVerificationStatus)+getMailDomainResponse_dkimVerificationStatus = Lens.lens (\GetMailDomainResponse' {dkimVerificationStatus} -> dkimVerificationStatus) (\s@GetMailDomainResponse' {} a -> s {dkimVerificationStatus = a} :: GetMailDomainResponse)++-- | Specifies whether the domain is the default domain for your+-- organization.+getMailDomainResponse_isDefault :: Lens.Lens' GetMailDomainResponse (Prelude.Maybe Prelude.Bool)+getMailDomainResponse_isDefault = Lens.lens (\GetMailDomainResponse' {isDefault} -> isDefault) (\s@GetMailDomainResponse' {} a -> s {isDefault = a} :: GetMailDomainResponse)++-- | Specifies whether the domain is a test domain provided by WorkMail, or a+-- custom domain.+getMailDomainResponse_isTestDomain :: Lens.Lens' GetMailDomainResponse (Prelude.Maybe Prelude.Bool)+getMailDomainResponse_isTestDomain = Lens.lens (\GetMailDomainResponse' {isTestDomain} -> isTestDomain) (\s@GetMailDomainResponse' {} a -> s {isTestDomain = a} :: GetMailDomainResponse)++-- | Indicates the status of the domain ownership verification.+getMailDomainResponse_ownershipVerificationStatus :: Lens.Lens' GetMailDomainResponse (Prelude.Maybe DnsRecordVerificationStatus)+getMailDomainResponse_ownershipVerificationStatus = Lens.lens (\GetMailDomainResponse' {ownershipVerificationStatus} -> ownershipVerificationStatus) (\s@GetMailDomainResponse' {} a -> s {ownershipVerificationStatus = a} :: GetMailDomainResponse)++-- | A list of the DNS records that WorkMail recommends adding in your DNS+-- provider for the best user experience. The records configure your domain+-- with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See+-- admin guide for more details.+getMailDomainResponse_records :: Lens.Lens' GetMailDomainResponse (Prelude.Maybe [DnsRecord])+getMailDomainResponse_records = Lens.lens (\GetMailDomainResponse' {records} -> records) (\s@GetMailDomainResponse' {} a -> s {records = a} :: GetMailDomainResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getMailDomainResponse_httpStatus :: Lens.Lens' GetMailDomainResponse Prelude.Int+getMailDomainResponse_httpStatus = Lens.lens (\GetMailDomainResponse' {httpStatus} -> httpStatus) (\s@GetMailDomainResponse' {} a -> s {httpStatus = a} :: GetMailDomainResponse)++instance Prelude.NFData GetMailDomainResponse where+ rnf GetMailDomainResponse' {..} =+ Prelude.rnf dkimVerificationStatus+ `Prelude.seq` Prelude.rnf isDefault+ `Prelude.seq` Prelude.rnf isTestDomain+ `Prelude.seq` Prelude.rnf ownershipVerificationStatus+ `Prelude.seq` Prelude.rnf records+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetMailboxDetails.hs view
@@ -0,0 +1,206 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetMailboxDetails+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Requests a user\'s mailbox details for a specified organization and+-- user.+module Amazonka.WorkMail.GetMailboxDetails+ ( -- * Creating a Request+ GetMailboxDetails (..),+ newGetMailboxDetails,++ -- * Request Lenses+ getMailboxDetails_organizationId,+ getMailboxDetails_userId,++ -- * Destructuring the Response+ GetMailboxDetailsResponse (..),+ newGetMailboxDetailsResponse,++ -- * Response Lenses+ getMailboxDetailsResponse_mailboxQuota,+ getMailboxDetailsResponse_mailboxSize,+ getMailboxDetailsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetMailboxDetails' smart constructor.+data GetMailboxDetails = GetMailboxDetails'+ { -- | The identifier for the organization that contains the user whose mailbox+ -- details are being requested.+ organizationId :: Prelude.Text,+ -- | The identifier for the user whose mailbox details are being requested.+ userId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMailboxDetails' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'getMailboxDetails_organizationId' - The identifier for the organization that contains the user whose mailbox+-- details are being requested.+--+-- 'userId', 'getMailboxDetails_userId' - The identifier for the user whose mailbox details are being requested.+newGetMailboxDetails ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ GetMailboxDetails+newGetMailboxDetails pOrganizationId_ pUserId_ =+ GetMailboxDetails'+ { organizationId =+ pOrganizationId_,+ userId = pUserId_+ }++-- | The identifier for the organization that contains the user whose mailbox+-- details are being requested.+getMailboxDetails_organizationId :: Lens.Lens' GetMailboxDetails Prelude.Text+getMailboxDetails_organizationId = Lens.lens (\GetMailboxDetails' {organizationId} -> organizationId) (\s@GetMailboxDetails' {} a -> s {organizationId = a} :: GetMailboxDetails)++-- | The identifier for the user whose mailbox details are being requested.+getMailboxDetails_userId :: Lens.Lens' GetMailboxDetails Prelude.Text+getMailboxDetails_userId = Lens.lens (\GetMailboxDetails' {userId} -> userId) (\s@GetMailboxDetails' {} a -> s {userId = a} :: GetMailboxDetails)++instance Core.AWSRequest GetMailboxDetails where+ type+ AWSResponse GetMailboxDetails =+ GetMailboxDetailsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetMailboxDetailsResponse'+ Prelude.<$> (x Data..?> "MailboxQuota")+ Prelude.<*> (x Data..?> "MailboxSize")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetMailboxDetails where+ hashWithSalt _salt GetMailboxDetails' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId++instance Prelude.NFData GetMailboxDetails where+ rnf GetMailboxDetails' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId++instance Data.ToHeaders GetMailboxDetails where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetMailboxDetails" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetMailboxDetails where+ toJSON GetMailboxDetails' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId)+ ]+ )++instance Data.ToPath GetMailboxDetails where+ toPath = Prelude.const "/"++instance Data.ToQuery GetMailboxDetails where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetMailboxDetailsResponse' smart constructor.+data GetMailboxDetailsResponse = GetMailboxDetailsResponse'+ { -- | The maximum allowed mailbox size, in MB, for the specified user.+ mailboxQuota :: Prelude.Maybe Prelude.Natural,+ -- | The current mailbox size, in MB, for the specified user.+ mailboxSize :: Prelude.Maybe Prelude.Double,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMailboxDetailsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mailboxQuota', 'getMailboxDetailsResponse_mailboxQuota' - The maximum allowed mailbox size, in MB, for the specified user.+--+-- 'mailboxSize', 'getMailboxDetailsResponse_mailboxSize' - The current mailbox size, in MB, for the specified user.+--+-- 'httpStatus', 'getMailboxDetailsResponse_httpStatus' - The response's http status code.+newGetMailboxDetailsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetMailboxDetailsResponse+newGetMailboxDetailsResponse pHttpStatus_ =+ GetMailboxDetailsResponse'+ { mailboxQuota =+ Prelude.Nothing,+ mailboxSize = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The maximum allowed mailbox size, in MB, for the specified user.+getMailboxDetailsResponse_mailboxQuota :: Lens.Lens' GetMailboxDetailsResponse (Prelude.Maybe Prelude.Natural)+getMailboxDetailsResponse_mailboxQuota = Lens.lens (\GetMailboxDetailsResponse' {mailboxQuota} -> mailboxQuota) (\s@GetMailboxDetailsResponse' {} a -> s {mailboxQuota = a} :: GetMailboxDetailsResponse)++-- | The current mailbox size, in MB, for the specified user.+getMailboxDetailsResponse_mailboxSize :: Lens.Lens' GetMailboxDetailsResponse (Prelude.Maybe Prelude.Double)+getMailboxDetailsResponse_mailboxSize = Lens.lens (\GetMailboxDetailsResponse' {mailboxSize} -> mailboxSize) (\s@GetMailboxDetailsResponse' {} a -> s {mailboxSize = a} :: GetMailboxDetailsResponse)++-- | The response's http status code.+getMailboxDetailsResponse_httpStatus :: Lens.Lens' GetMailboxDetailsResponse Prelude.Int+getMailboxDetailsResponse_httpStatus = Lens.lens (\GetMailboxDetailsResponse' {httpStatus} -> httpStatus) (\s@GetMailboxDetailsResponse' {} a -> s {httpStatus = a} :: GetMailboxDetailsResponse)++instance Prelude.NFData GetMailboxDetailsResponse where+ rnf GetMailboxDetailsResponse' {..} =+ Prelude.rnf mailboxQuota+ `Prelude.seq` Prelude.rnf mailboxSize+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetMobileDeviceAccessEffect.hs view
@@ -0,0 +1,256 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetMobileDeviceAccessEffect+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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 WorkMail+-- organization for a particular user\'s attributes.+module Amazonka.WorkMail.GetMobileDeviceAccessEffect+ ( -- * Creating a Request+ GetMobileDeviceAccessEffect (..),+ newGetMobileDeviceAccessEffect,++ -- * Request Lenses+ getMobileDeviceAccessEffect_deviceModel,+ getMobileDeviceAccessEffect_deviceOperatingSystem,+ getMobileDeviceAccessEffect_deviceType,+ getMobileDeviceAccessEffect_deviceUserAgent,+ getMobileDeviceAccessEffect_organizationId,++ -- * Destructuring the Response+ GetMobileDeviceAccessEffectResponse (..),+ newGetMobileDeviceAccessEffectResponse,++ -- * Response Lenses+ getMobileDeviceAccessEffectResponse_effect,+ getMobileDeviceAccessEffectResponse_matchedRules,+ getMobileDeviceAccessEffectResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetMobileDeviceAccessEffect' smart constructor.+data GetMobileDeviceAccessEffect = GetMobileDeviceAccessEffect'+ { -- | Device model the simulated user will report.+ deviceModel :: Prelude.Maybe Prelude.Text,+ -- | Device operating system the simulated user will report.+ deviceOperatingSystem :: Prelude.Maybe Prelude.Text,+ -- | Device type the simulated user will report.+ deviceType :: Prelude.Maybe Prelude.Text,+ -- | Device user agent the simulated user will report.+ deviceUserAgent :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization to simulate the access effect for.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMobileDeviceAccessEffect' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'deviceModel', 'getMobileDeviceAccessEffect_deviceModel' - Device model the simulated user will report.+--+-- 'deviceOperatingSystem', 'getMobileDeviceAccessEffect_deviceOperatingSystem' - Device operating system the simulated user will report.+--+-- 'deviceType', 'getMobileDeviceAccessEffect_deviceType' - Device type the simulated user will report.+--+-- 'deviceUserAgent', 'getMobileDeviceAccessEffect_deviceUserAgent' - Device user agent the simulated user will report.+--+-- 'organizationId', 'getMobileDeviceAccessEffect_organizationId' - The WorkMail organization to simulate the access effect for.+newGetMobileDeviceAccessEffect ::+ -- | 'organizationId'+ Prelude.Text ->+ GetMobileDeviceAccessEffect+newGetMobileDeviceAccessEffect pOrganizationId_ =+ GetMobileDeviceAccessEffect'+ { deviceModel =+ Prelude.Nothing,+ deviceOperatingSystem = Prelude.Nothing,+ deviceType = Prelude.Nothing,+ deviceUserAgent = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | Device model the simulated user will report.+getMobileDeviceAccessEffect_deviceModel :: Lens.Lens' GetMobileDeviceAccessEffect (Prelude.Maybe Prelude.Text)+getMobileDeviceAccessEffect_deviceModel = Lens.lens (\GetMobileDeviceAccessEffect' {deviceModel} -> deviceModel) (\s@GetMobileDeviceAccessEffect' {} a -> s {deviceModel = a} :: GetMobileDeviceAccessEffect)++-- | Device operating system the simulated user will report.+getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens.Lens' GetMobileDeviceAccessEffect (Prelude.Maybe Prelude.Text)+getMobileDeviceAccessEffect_deviceOperatingSystem = Lens.lens (\GetMobileDeviceAccessEffect' {deviceOperatingSystem} -> deviceOperatingSystem) (\s@GetMobileDeviceAccessEffect' {} a -> s {deviceOperatingSystem = a} :: GetMobileDeviceAccessEffect)++-- | Device type the simulated user will report.+getMobileDeviceAccessEffect_deviceType :: Lens.Lens' GetMobileDeviceAccessEffect (Prelude.Maybe Prelude.Text)+getMobileDeviceAccessEffect_deviceType = Lens.lens (\GetMobileDeviceAccessEffect' {deviceType} -> deviceType) (\s@GetMobileDeviceAccessEffect' {} a -> s {deviceType = a} :: GetMobileDeviceAccessEffect)++-- | Device user agent the simulated user will report.+getMobileDeviceAccessEffect_deviceUserAgent :: Lens.Lens' GetMobileDeviceAccessEffect (Prelude.Maybe Prelude.Text)+getMobileDeviceAccessEffect_deviceUserAgent = Lens.lens (\GetMobileDeviceAccessEffect' {deviceUserAgent} -> deviceUserAgent) (\s@GetMobileDeviceAccessEffect' {} a -> s {deviceUserAgent = a} :: GetMobileDeviceAccessEffect)++-- | The WorkMail organization to simulate the access effect for.+getMobileDeviceAccessEffect_organizationId :: Lens.Lens' GetMobileDeviceAccessEffect Prelude.Text+getMobileDeviceAccessEffect_organizationId = Lens.lens (\GetMobileDeviceAccessEffect' {organizationId} -> organizationId) (\s@GetMobileDeviceAccessEffect' {} a -> s {organizationId = a} :: GetMobileDeviceAccessEffect)++instance Core.AWSRequest GetMobileDeviceAccessEffect where+ type+ AWSResponse GetMobileDeviceAccessEffect =+ GetMobileDeviceAccessEffectResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetMobileDeviceAccessEffectResponse'+ Prelude.<$> (x Data..?> "Effect")+ Prelude.<*> (x Data..?> "MatchedRules" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetMobileDeviceAccessEffect where+ hashWithSalt _salt GetMobileDeviceAccessEffect' {..} =+ _salt+ `Prelude.hashWithSalt` deviceModel+ `Prelude.hashWithSalt` deviceOperatingSystem+ `Prelude.hashWithSalt` deviceType+ `Prelude.hashWithSalt` deviceUserAgent+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData GetMobileDeviceAccessEffect where+ rnf GetMobileDeviceAccessEffect' {..} =+ Prelude.rnf deviceModel+ `Prelude.seq` Prelude.rnf deviceOperatingSystem+ `Prelude.seq` Prelude.rnf deviceType+ `Prelude.seq` Prelude.rnf deviceUserAgent+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders GetMobileDeviceAccessEffect where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetMobileDeviceAccessEffect" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetMobileDeviceAccessEffect where+ toJSON GetMobileDeviceAccessEffect' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DeviceModel" Data..=) Prelude.<$> deviceModel,+ ("DeviceOperatingSystem" Data..=)+ Prelude.<$> deviceOperatingSystem,+ ("DeviceType" Data..=) Prelude.<$> deviceType,+ ("DeviceUserAgent" Data..=)+ Prelude.<$> deviceUserAgent,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath GetMobileDeviceAccessEffect where+ toPath = Prelude.const "/"++instance Data.ToQuery GetMobileDeviceAccessEffect where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetMobileDeviceAccessEffectResponse' smart constructor.+data GetMobileDeviceAccessEffectResponse = GetMobileDeviceAccessEffectResponse'+ { -- | The effect of the simulated access, @ALLOW@ or @DENY@, after evaluating+ -- mobile device access rules in the WorkMail organization for the+ -- simulated user parameters.+ effect :: Prelude.Maybe MobileDeviceAccessRuleEffect,+ -- | A list of the rules which matched the simulated user input and produced+ -- the effect.+ matchedRules :: Prelude.Maybe [MobileDeviceAccessMatchedRule],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMobileDeviceAccessEffectResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'effect', 'getMobileDeviceAccessEffectResponse_effect' - The effect of the simulated access, @ALLOW@ or @DENY@, after evaluating+-- mobile device access rules in the WorkMail organization for the+-- simulated user parameters.+--+-- 'matchedRules', 'getMobileDeviceAccessEffectResponse_matchedRules' - A list of the rules which matched the simulated user input and produced+-- the effect.+--+-- 'httpStatus', 'getMobileDeviceAccessEffectResponse_httpStatus' - The response's http status code.+newGetMobileDeviceAccessEffectResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetMobileDeviceAccessEffectResponse+newGetMobileDeviceAccessEffectResponse pHttpStatus_ =+ GetMobileDeviceAccessEffectResponse'+ { effect =+ Prelude.Nothing,+ matchedRules = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The effect of the simulated access, @ALLOW@ or @DENY@, after evaluating+-- mobile device access rules in the WorkMail organization for the+-- simulated user parameters.+getMobileDeviceAccessEffectResponse_effect :: Lens.Lens' GetMobileDeviceAccessEffectResponse (Prelude.Maybe MobileDeviceAccessRuleEffect)+getMobileDeviceAccessEffectResponse_effect = Lens.lens (\GetMobileDeviceAccessEffectResponse' {effect} -> effect) (\s@GetMobileDeviceAccessEffectResponse' {} a -> s {effect = a} :: GetMobileDeviceAccessEffectResponse)++-- | A list of the rules which matched the simulated user input and produced+-- the effect.+getMobileDeviceAccessEffectResponse_matchedRules :: Lens.Lens' GetMobileDeviceAccessEffectResponse (Prelude.Maybe [MobileDeviceAccessMatchedRule])+getMobileDeviceAccessEffectResponse_matchedRules = Lens.lens (\GetMobileDeviceAccessEffectResponse' {matchedRules} -> matchedRules) (\s@GetMobileDeviceAccessEffectResponse' {} a -> s {matchedRules = a} :: GetMobileDeviceAccessEffectResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getMobileDeviceAccessEffectResponse_httpStatus :: Lens.Lens' GetMobileDeviceAccessEffectResponse Prelude.Int+getMobileDeviceAccessEffectResponse_httpStatus = Lens.lens (\GetMobileDeviceAccessEffectResponse' {httpStatus} -> httpStatus) (\s@GetMobileDeviceAccessEffectResponse' {} a -> s {httpStatus = a} :: GetMobileDeviceAccessEffectResponse)++instance+ Prelude.NFData+ GetMobileDeviceAccessEffectResponse+ where+ rnf GetMobileDeviceAccessEffectResponse' {..} =+ Prelude.rnf effect+ `Prelude.seq` Prelude.rnf matchedRules+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/GetMobileDeviceAccessOverride.hs view
@@ -0,0 +1,305 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.GetMobileDeviceAccessOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the mobile device access override for the given WorkMail+-- organization, user, and device.+module Amazonka.WorkMail.GetMobileDeviceAccessOverride+ ( -- * Creating a Request+ GetMobileDeviceAccessOverride (..),+ newGetMobileDeviceAccessOverride,++ -- * Request Lenses+ getMobileDeviceAccessOverride_organizationId,+ getMobileDeviceAccessOverride_userId,+ getMobileDeviceAccessOverride_deviceId,++ -- * Destructuring the Response+ GetMobileDeviceAccessOverrideResponse (..),+ newGetMobileDeviceAccessOverrideResponse,++ -- * Response Lenses+ getMobileDeviceAccessOverrideResponse_dateCreated,+ getMobileDeviceAccessOverrideResponse_dateModified,+ getMobileDeviceAccessOverrideResponse_description,+ getMobileDeviceAccessOverrideResponse_deviceId,+ getMobileDeviceAccessOverrideResponse_effect,+ getMobileDeviceAccessOverrideResponse_userId,+ getMobileDeviceAccessOverrideResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newGetMobileDeviceAccessOverride' smart constructor.+data GetMobileDeviceAccessOverride = GetMobileDeviceAccessOverride'+ { -- | The WorkMail organization to which you want to apply the override.+ organizationId :: Prelude.Text,+ -- | Identifies the WorkMail user for the override. Accepts the following+ -- types of user identities:+ --+ -- - User ID: @12345678-1234-1234-1234-123456789012@ or+ -- @S-1-1-12-1234567890-123456789-123456789-1234@+ --+ -- - Email address: @user\@domain.tld@+ --+ -- - User name: @user@+ userId :: Prelude.Text,+ -- | The mobile device to which the override applies. @DeviceId@ is case+ -- insensitive.+ deviceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMobileDeviceAccessOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'getMobileDeviceAccessOverride_organizationId' - The WorkMail organization to which you want to apply the override.+--+-- 'userId', 'getMobileDeviceAccessOverride_userId' - Identifies the WorkMail user for the override. Accepts the following+-- types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+--+-- 'deviceId', 'getMobileDeviceAccessOverride_deviceId' - The mobile device to which the override applies. @DeviceId@ is case+-- insensitive.+newGetMobileDeviceAccessOverride ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ -- | 'deviceId'+ Prelude.Text ->+ GetMobileDeviceAccessOverride+newGetMobileDeviceAccessOverride+ pOrganizationId_+ pUserId_+ pDeviceId_ =+ GetMobileDeviceAccessOverride'+ { organizationId =+ pOrganizationId_,+ userId = pUserId_,+ deviceId = pDeviceId_+ }++-- | The WorkMail organization to which you want to apply the override.+getMobileDeviceAccessOverride_organizationId :: Lens.Lens' GetMobileDeviceAccessOverride Prelude.Text+getMobileDeviceAccessOverride_organizationId = Lens.lens (\GetMobileDeviceAccessOverride' {organizationId} -> organizationId) (\s@GetMobileDeviceAccessOverride' {} a -> s {organizationId = a} :: GetMobileDeviceAccessOverride)++-- | Identifies the WorkMail user for the override. Accepts the following+-- types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+getMobileDeviceAccessOverride_userId :: Lens.Lens' GetMobileDeviceAccessOverride Prelude.Text+getMobileDeviceAccessOverride_userId = Lens.lens (\GetMobileDeviceAccessOverride' {userId} -> userId) (\s@GetMobileDeviceAccessOverride' {} a -> s {userId = a} :: GetMobileDeviceAccessOverride)++-- | The mobile device to which the override applies. @DeviceId@ is case+-- insensitive.+getMobileDeviceAccessOverride_deviceId :: Lens.Lens' GetMobileDeviceAccessOverride Prelude.Text+getMobileDeviceAccessOverride_deviceId = Lens.lens (\GetMobileDeviceAccessOverride' {deviceId} -> deviceId) (\s@GetMobileDeviceAccessOverride' {} a -> s {deviceId = a} :: GetMobileDeviceAccessOverride)++instance+ Core.AWSRequest+ GetMobileDeviceAccessOverride+ where+ type+ AWSResponse GetMobileDeviceAccessOverride =+ GetMobileDeviceAccessOverrideResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetMobileDeviceAccessOverrideResponse'+ Prelude.<$> (x Data..?> "DateCreated")+ Prelude.<*> (x Data..?> "DateModified")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "DeviceId")+ Prelude.<*> (x Data..?> "Effect")+ Prelude.<*> (x Data..?> "UserId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ GetMobileDeviceAccessOverride+ where+ hashWithSalt _salt GetMobileDeviceAccessOverride' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId+ `Prelude.hashWithSalt` deviceId++instance Prelude.NFData GetMobileDeviceAccessOverride where+ rnf GetMobileDeviceAccessOverride' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf deviceId++instance Data.ToHeaders GetMobileDeviceAccessOverride where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.GetMobileDeviceAccessOverride" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetMobileDeviceAccessOverride where+ toJSON GetMobileDeviceAccessOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId),+ Prelude.Just ("DeviceId" Data..= deviceId)+ ]+ )++instance Data.ToPath GetMobileDeviceAccessOverride where+ toPath = Prelude.const "/"++instance Data.ToQuery GetMobileDeviceAccessOverride where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetMobileDeviceAccessOverrideResponse' smart constructor.+data GetMobileDeviceAccessOverrideResponse = GetMobileDeviceAccessOverrideResponse'+ { -- | The date the override was first created.+ dateCreated :: Prelude.Maybe Data.POSIX,+ -- | The date the description was last modified.+ dateModified :: Prelude.Maybe Data.POSIX,+ -- | A description of the override.+ description :: Prelude.Maybe Prelude.Text,+ -- | The device to which the access override applies.+ deviceId :: Prelude.Maybe Prelude.Text,+ -- | The effect of the override, @ALLOW@ or @DENY@.+ effect :: Prelude.Maybe MobileDeviceAccessRuleEffect,+ -- | The WorkMail user to which the access override applies.+ userId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMobileDeviceAccessOverrideResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dateCreated', 'getMobileDeviceAccessOverrideResponse_dateCreated' - The date the override was first created.+--+-- 'dateModified', 'getMobileDeviceAccessOverrideResponse_dateModified' - The date the description was last modified.+--+-- 'description', 'getMobileDeviceAccessOverrideResponse_description' - A description of the override.+--+-- 'deviceId', 'getMobileDeviceAccessOverrideResponse_deviceId' - The device to which the access override applies.+--+-- 'effect', 'getMobileDeviceAccessOverrideResponse_effect' - The effect of the override, @ALLOW@ or @DENY@.+--+-- 'userId', 'getMobileDeviceAccessOverrideResponse_userId' - The WorkMail user to which the access override applies.+--+-- 'httpStatus', 'getMobileDeviceAccessOverrideResponse_httpStatus' - The response's http status code.+newGetMobileDeviceAccessOverrideResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetMobileDeviceAccessOverrideResponse+newGetMobileDeviceAccessOverrideResponse pHttpStatus_ =+ GetMobileDeviceAccessOverrideResponse'+ { dateCreated =+ Prelude.Nothing,+ dateModified = Prelude.Nothing,+ description = Prelude.Nothing,+ deviceId = Prelude.Nothing,+ effect = Prelude.Nothing,+ userId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The date the override was first created.+getMobileDeviceAccessOverrideResponse_dateCreated :: Lens.Lens' GetMobileDeviceAccessOverrideResponse (Prelude.Maybe Prelude.UTCTime)+getMobileDeviceAccessOverrideResponse_dateCreated = Lens.lens (\GetMobileDeviceAccessOverrideResponse' {dateCreated} -> dateCreated) (\s@GetMobileDeviceAccessOverrideResponse' {} a -> s {dateCreated = a} :: GetMobileDeviceAccessOverrideResponse) Prelude.. Lens.mapping Data._Time++-- | The date the description was last modified.+getMobileDeviceAccessOverrideResponse_dateModified :: Lens.Lens' GetMobileDeviceAccessOverrideResponse (Prelude.Maybe Prelude.UTCTime)+getMobileDeviceAccessOverrideResponse_dateModified = Lens.lens (\GetMobileDeviceAccessOverrideResponse' {dateModified} -> dateModified) (\s@GetMobileDeviceAccessOverrideResponse' {} a -> s {dateModified = a} :: GetMobileDeviceAccessOverrideResponse) Prelude.. Lens.mapping Data._Time++-- | A description of the override.+getMobileDeviceAccessOverrideResponse_description :: Lens.Lens' GetMobileDeviceAccessOverrideResponse (Prelude.Maybe Prelude.Text)+getMobileDeviceAccessOverrideResponse_description = Lens.lens (\GetMobileDeviceAccessOverrideResponse' {description} -> description) (\s@GetMobileDeviceAccessOverrideResponse' {} a -> s {description = a} :: GetMobileDeviceAccessOverrideResponse)++-- | The device to which the access override applies.+getMobileDeviceAccessOverrideResponse_deviceId :: Lens.Lens' GetMobileDeviceAccessOverrideResponse (Prelude.Maybe Prelude.Text)+getMobileDeviceAccessOverrideResponse_deviceId = Lens.lens (\GetMobileDeviceAccessOverrideResponse' {deviceId} -> deviceId) (\s@GetMobileDeviceAccessOverrideResponse' {} a -> s {deviceId = a} :: GetMobileDeviceAccessOverrideResponse)++-- | The effect of the override, @ALLOW@ or @DENY@.+getMobileDeviceAccessOverrideResponse_effect :: Lens.Lens' GetMobileDeviceAccessOverrideResponse (Prelude.Maybe MobileDeviceAccessRuleEffect)+getMobileDeviceAccessOverrideResponse_effect = Lens.lens (\GetMobileDeviceAccessOverrideResponse' {effect} -> effect) (\s@GetMobileDeviceAccessOverrideResponse' {} a -> s {effect = a} :: GetMobileDeviceAccessOverrideResponse)++-- | The WorkMail user to which the access override applies.+getMobileDeviceAccessOverrideResponse_userId :: Lens.Lens' GetMobileDeviceAccessOverrideResponse (Prelude.Maybe Prelude.Text)+getMobileDeviceAccessOverrideResponse_userId = Lens.lens (\GetMobileDeviceAccessOverrideResponse' {userId} -> userId) (\s@GetMobileDeviceAccessOverrideResponse' {} a -> s {userId = a} :: GetMobileDeviceAccessOverrideResponse)++-- | The response's http status code.+getMobileDeviceAccessOverrideResponse_httpStatus :: Lens.Lens' GetMobileDeviceAccessOverrideResponse Prelude.Int+getMobileDeviceAccessOverrideResponse_httpStatus = Lens.lens (\GetMobileDeviceAccessOverrideResponse' {httpStatus} -> httpStatus) (\s@GetMobileDeviceAccessOverrideResponse' {} a -> s {httpStatus = a} :: GetMobileDeviceAccessOverrideResponse)++instance+ Prelude.NFData+ GetMobileDeviceAccessOverrideResponse+ where+ rnf GetMobileDeviceAccessOverrideResponse' {..} =+ Prelude.rnf dateCreated+ `Prelude.seq` Prelude.rnf dateModified+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf deviceId+ `Prelude.seq` Prelude.rnf effect+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/Lens.hs view
@@ -0,0 +1,919 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Lens+ ( -- * Operations++ -- ** AssociateDelegateToResource+ associateDelegateToResource_organizationId,+ associateDelegateToResource_resourceId,+ associateDelegateToResource_entityId,+ associateDelegateToResourceResponse_httpStatus,++ -- ** AssociateMemberToGroup+ associateMemberToGroup_organizationId,+ associateMemberToGroup_groupId,+ associateMemberToGroup_memberId,+ associateMemberToGroupResponse_httpStatus,++ -- ** AssumeImpersonationRole+ assumeImpersonationRole_organizationId,+ assumeImpersonationRole_impersonationRoleId,+ assumeImpersonationRoleResponse_expiresIn,+ assumeImpersonationRoleResponse_token,+ assumeImpersonationRoleResponse_httpStatus,++ -- ** CancelMailboxExportJob+ cancelMailboxExportJob_clientToken,+ cancelMailboxExportJob_jobId,+ cancelMailboxExportJob_organizationId,+ cancelMailboxExportJobResponse_httpStatus,++ -- ** CreateAlias+ createAlias_organizationId,+ createAlias_entityId,+ createAlias_alias,+ createAliasResponse_httpStatus,++ -- ** CreateAvailabilityConfiguration+ createAvailabilityConfiguration_clientToken,+ createAvailabilityConfiguration_ewsProvider,+ createAvailabilityConfiguration_lambdaProvider,+ createAvailabilityConfiguration_organizationId,+ createAvailabilityConfiguration_domainName,+ createAvailabilityConfigurationResponse_httpStatus,++ -- ** CreateGroup+ createGroup_organizationId,+ createGroup_name,+ createGroupResponse_groupId,+ createGroupResponse_httpStatus,++ -- ** CreateImpersonationRole+ createImpersonationRole_clientToken,+ createImpersonationRole_description,+ createImpersonationRole_organizationId,+ createImpersonationRole_name,+ createImpersonationRole_type,+ createImpersonationRole_rules,+ createImpersonationRoleResponse_impersonationRoleId,+ createImpersonationRoleResponse_httpStatus,++ -- ** CreateMobileDeviceAccessRule+ createMobileDeviceAccessRule_clientToken,+ createMobileDeviceAccessRule_description,+ createMobileDeviceAccessRule_deviceModels,+ createMobileDeviceAccessRule_deviceOperatingSystems,+ createMobileDeviceAccessRule_deviceTypes,+ createMobileDeviceAccessRule_deviceUserAgents,+ createMobileDeviceAccessRule_notDeviceModels,+ createMobileDeviceAccessRule_notDeviceOperatingSystems,+ createMobileDeviceAccessRule_notDeviceTypes,+ createMobileDeviceAccessRule_notDeviceUserAgents,+ createMobileDeviceAccessRule_organizationId,+ createMobileDeviceAccessRule_name,+ createMobileDeviceAccessRule_effect,+ createMobileDeviceAccessRuleResponse_mobileDeviceAccessRuleId,+ createMobileDeviceAccessRuleResponse_httpStatus,++ -- ** CreateOrganization+ createOrganization_clientToken,+ createOrganization_directoryId,+ createOrganization_domains,+ createOrganization_enableInteroperability,+ createOrganization_kmsKeyArn,+ createOrganization_alias,+ createOrganizationResponse_organizationId,+ createOrganizationResponse_httpStatus,++ -- ** CreateResource+ createResource_organizationId,+ createResource_name,+ createResource_type,+ createResourceResponse_resourceId,+ createResourceResponse_httpStatus,++ -- ** CreateUser+ createUser_organizationId,+ createUser_name,+ createUser_displayName,+ createUser_password,+ createUserResponse_userId,+ createUserResponse_httpStatus,++ -- ** DeleteAccessControlRule+ deleteAccessControlRule_organizationId,+ deleteAccessControlRule_name,+ deleteAccessControlRuleResponse_httpStatus,++ -- ** DeleteAlias+ deleteAlias_organizationId,+ deleteAlias_entityId,+ deleteAlias_alias,+ deleteAliasResponse_httpStatus,++ -- ** DeleteAvailabilityConfiguration+ deleteAvailabilityConfiguration_organizationId,+ deleteAvailabilityConfiguration_domainName,+ deleteAvailabilityConfigurationResponse_httpStatus,++ -- ** DeleteEmailMonitoringConfiguration+ deleteEmailMonitoringConfiguration_organizationId,+ deleteEmailMonitoringConfigurationResponse_httpStatus,++ -- ** DeleteGroup+ deleteGroup_organizationId,+ deleteGroup_groupId,+ deleteGroupResponse_httpStatus,++ -- ** DeleteImpersonationRole+ deleteImpersonationRole_organizationId,+ deleteImpersonationRole_impersonationRoleId,+ deleteImpersonationRoleResponse_httpStatus,++ -- ** DeleteMailboxPermissions+ deleteMailboxPermissions_organizationId,+ deleteMailboxPermissions_entityId,+ deleteMailboxPermissions_granteeId,+ deleteMailboxPermissionsResponse_httpStatus,++ -- ** DeleteMobileDeviceAccessOverride+ deleteMobileDeviceAccessOverride_organizationId,+ deleteMobileDeviceAccessOverride_userId,+ deleteMobileDeviceAccessOverride_deviceId,+ deleteMobileDeviceAccessOverrideResponse_httpStatus,++ -- ** DeleteMobileDeviceAccessRule+ deleteMobileDeviceAccessRule_organizationId,+ deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId,+ deleteMobileDeviceAccessRuleResponse_httpStatus,++ -- ** DeleteOrganization+ deleteOrganization_clientToken,+ deleteOrganization_organizationId,+ deleteOrganization_deleteDirectory,+ deleteOrganizationResponse_organizationId,+ deleteOrganizationResponse_state,+ deleteOrganizationResponse_httpStatus,++ -- ** DeleteResource+ deleteResource_organizationId,+ deleteResource_resourceId,+ deleteResourceResponse_httpStatus,++ -- ** DeleteRetentionPolicy+ deleteRetentionPolicy_organizationId,+ deleteRetentionPolicy_id,+ deleteRetentionPolicyResponse_httpStatus,++ -- ** DeleteUser+ deleteUser_organizationId,+ deleteUser_userId,+ deleteUserResponse_httpStatus,++ -- ** DeregisterFromWorkMail+ deregisterFromWorkMail_organizationId,+ deregisterFromWorkMail_entityId,+ deregisterFromWorkMailResponse_httpStatus,++ -- ** DeregisterMailDomain+ deregisterMailDomain_organizationId,+ deregisterMailDomain_domainName,+ deregisterMailDomainResponse_httpStatus,++ -- ** DescribeEmailMonitoringConfiguration+ describeEmailMonitoringConfiguration_organizationId,+ describeEmailMonitoringConfigurationResponse_logGroupArn,+ describeEmailMonitoringConfigurationResponse_roleArn,+ describeEmailMonitoringConfigurationResponse_httpStatus,++ -- ** DescribeGroup+ describeGroup_organizationId,+ describeGroup_groupId,+ describeGroupResponse_disabledDate,+ describeGroupResponse_email,+ describeGroupResponse_enabledDate,+ describeGroupResponse_groupId,+ describeGroupResponse_name,+ describeGroupResponse_state,+ describeGroupResponse_httpStatus,++ -- ** DescribeInboundDmarcSettings+ describeInboundDmarcSettings_organizationId,+ describeInboundDmarcSettingsResponse_enforced,+ describeInboundDmarcSettingsResponse_httpStatus,++ -- ** DescribeMailboxExportJob+ describeMailboxExportJob_jobId,+ describeMailboxExportJob_organizationId,+ describeMailboxExportJobResponse_description,+ describeMailboxExportJobResponse_endTime,+ describeMailboxExportJobResponse_entityId,+ describeMailboxExportJobResponse_errorInfo,+ describeMailboxExportJobResponse_estimatedProgress,+ describeMailboxExportJobResponse_kmsKeyArn,+ describeMailboxExportJobResponse_roleArn,+ describeMailboxExportJobResponse_s3BucketName,+ describeMailboxExportJobResponse_s3Path,+ describeMailboxExportJobResponse_s3Prefix,+ describeMailboxExportJobResponse_startTime,+ describeMailboxExportJobResponse_state,+ describeMailboxExportJobResponse_httpStatus,++ -- ** DescribeOrganization+ describeOrganization_organizationId,+ describeOrganizationResponse_arn,+ describeOrganizationResponse_alias,+ describeOrganizationResponse_completedDate,+ describeOrganizationResponse_defaultMailDomain,+ describeOrganizationResponse_directoryId,+ describeOrganizationResponse_directoryType,+ describeOrganizationResponse_errorMessage,+ describeOrganizationResponse_organizationId,+ describeOrganizationResponse_state,+ describeOrganizationResponse_httpStatus,++ -- ** DescribeResource+ describeResource_organizationId,+ describeResource_resourceId,+ describeResourceResponse_bookingOptions,+ describeResourceResponse_disabledDate,+ describeResourceResponse_email,+ describeResourceResponse_enabledDate,+ describeResourceResponse_name,+ describeResourceResponse_resourceId,+ describeResourceResponse_state,+ describeResourceResponse_type,+ describeResourceResponse_httpStatus,++ -- ** DescribeUser+ describeUser_organizationId,+ describeUser_userId,+ describeUserResponse_disabledDate,+ describeUserResponse_displayName,+ describeUserResponse_email,+ describeUserResponse_enabledDate,+ describeUserResponse_name,+ describeUserResponse_state,+ describeUserResponse_userId,+ describeUserResponse_userRole,+ describeUserResponse_httpStatus,++ -- ** DisassociateDelegateFromResource+ disassociateDelegateFromResource_organizationId,+ disassociateDelegateFromResource_resourceId,+ disassociateDelegateFromResource_entityId,+ disassociateDelegateFromResourceResponse_httpStatus,++ -- ** DisassociateMemberFromGroup+ disassociateMemberFromGroup_organizationId,+ disassociateMemberFromGroup_groupId,+ disassociateMemberFromGroup_memberId,+ disassociateMemberFromGroupResponse_httpStatus,++ -- ** GetAccessControlEffect+ getAccessControlEffect_impersonationRoleId,+ getAccessControlEffect_userId,+ getAccessControlEffect_organizationId,+ getAccessControlEffect_ipAddress,+ getAccessControlEffect_action,+ getAccessControlEffectResponse_effect,+ getAccessControlEffectResponse_matchedRules,+ getAccessControlEffectResponse_httpStatus,++ -- ** GetDefaultRetentionPolicy+ getDefaultRetentionPolicy_organizationId,+ getDefaultRetentionPolicyResponse_description,+ getDefaultRetentionPolicyResponse_folderConfigurations,+ getDefaultRetentionPolicyResponse_id,+ getDefaultRetentionPolicyResponse_name,+ getDefaultRetentionPolicyResponse_httpStatus,++ -- ** GetImpersonationRole+ getImpersonationRole_organizationId,+ getImpersonationRole_impersonationRoleId,+ getImpersonationRoleResponse_dateCreated,+ getImpersonationRoleResponse_dateModified,+ getImpersonationRoleResponse_description,+ getImpersonationRoleResponse_impersonationRoleId,+ getImpersonationRoleResponse_name,+ getImpersonationRoleResponse_rules,+ getImpersonationRoleResponse_type,+ getImpersonationRoleResponse_httpStatus,++ -- ** GetImpersonationRoleEffect+ getImpersonationRoleEffect_organizationId,+ getImpersonationRoleEffect_impersonationRoleId,+ getImpersonationRoleEffect_targetUser,+ getImpersonationRoleEffectResponse_effect,+ getImpersonationRoleEffectResponse_matchedRules,+ getImpersonationRoleEffectResponse_type,+ getImpersonationRoleEffectResponse_httpStatus,++ -- ** GetMailDomain+ getMailDomain_organizationId,+ getMailDomain_domainName,+ getMailDomainResponse_dkimVerificationStatus,+ getMailDomainResponse_isDefault,+ getMailDomainResponse_isTestDomain,+ getMailDomainResponse_ownershipVerificationStatus,+ getMailDomainResponse_records,+ getMailDomainResponse_httpStatus,++ -- ** GetMailboxDetails+ getMailboxDetails_organizationId,+ getMailboxDetails_userId,+ getMailboxDetailsResponse_mailboxQuota,+ getMailboxDetailsResponse_mailboxSize,+ getMailboxDetailsResponse_httpStatus,++ -- ** GetMobileDeviceAccessEffect+ getMobileDeviceAccessEffect_deviceModel,+ getMobileDeviceAccessEffect_deviceOperatingSystem,+ getMobileDeviceAccessEffect_deviceType,+ getMobileDeviceAccessEffect_deviceUserAgent,+ getMobileDeviceAccessEffect_organizationId,+ getMobileDeviceAccessEffectResponse_effect,+ getMobileDeviceAccessEffectResponse_matchedRules,+ getMobileDeviceAccessEffectResponse_httpStatus,++ -- ** GetMobileDeviceAccessOverride+ getMobileDeviceAccessOverride_organizationId,+ getMobileDeviceAccessOverride_userId,+ getMobileDeviceAccessOverride_deviceId,+ getMobileDeviceAccessOverrideResponse_dateCreated,+ getMobileDeviceAccessOverrideResponse_dateModified,+ getMobileDeviceAccessOverrideResponse_description,+ getMobileDeviceAccessOverrideResponse_deviceId,+ getMobileDeviceAccessOverrideResponse_effect,+ getMobileDeviceAccessOverrideResponse_userId,+ getMobileDeviceAccessOverrideResponse_httpStatus,++ -- ** ListAccessControlRules+ listAccessControlRules_organizationId,+ listAccessControlRulesResponse_rules,+ listAccessControlRulesResponse_httpStatus,++ -- ** ListAliases+ listAliases_maxResults,+ listAliases_nextToken,+ listAliases_organizationId,+ listAliases_entityId,+ listAliasesResponse_aliases,+ listAliasesResponse_nextToken,+ listAliasesResponse_httpStatus,++ -- ** ListAvailabilityConfigurations+ listAvailabilityConfigurations_maxResults,+ listAvailabilityConfigurations_nextToken,+ listAvailabilityConfigurations_organizationId,+ listAvailabilityConfigurationsResponse_availabilityConfigurations,+ listAvailabilityConfigurationsResponse_nextToken,+ listAvailabilityConfigurationsResponse_httpStatus,++ -- ** ListGroupMembers+ listGroupMembers_maxResults,+ listGroupMembers_nextToken,+ listGroupMembers_organizationId,+ listGroupMembers_groupId,+ listGroupMembersResponse_members,+ listGroupMembersResponse_nextToken,+ listGroupMembersResponse_httpStatus,++ -- ** ListGroups+ listGroups_maxResults,+ listGroups_nextToken,+ listGroups_organizationId,+ listGroupsResponse_groups,+ listGroupsResponse_nextToken,+ listGroupsResponse_httpStatus,++ -- ** ListImpersonationRoles+ listImpersonationRoles_maxResults,+ listImpersonationRoles_nextToken,+ listImpersonationRoles_organizationId,+ listImpersonationRolesResponse_nextToken,+ listImpersonationRolesResponse_roles,+ listImpersonationRolesResponse_httpStatus,++ -- ** ListMailDomains+ listMailDomains_maxResults,+ listMailDomains_nextToken,+ listMailDomains_organizationId,+ listMailDomainsResponse_mailDomains,+ listMailDomainsResponse_nextToken,+ listMailDomainsResponse_httpStatus,++ -- ** ListMailboxExportJobs+ listMailboxExportJobs_maxResults,+ listMailboxExportJobs_nextToken,+ listMailboxExportJobs_organizationId,+ listMailboxExportJobsResponse_jobs,+ listMailboxExportJobsResponse_nextToken,+ listMailboxExportJobsResponse_httpStatus,++ -- ** ListMailboxPermissions+ listMailboxPermissions_maxResults,+ listMailboxPermissions_nextToken,+ listMailboxPermissions_organizationId,+ listMailboxPermissions_entityId,+ listMailboxPermissionsResponse_nextToken,+ listMailboxPermissionsResponse_permissions,+ listMailboxPermissionsResponse_httpStatus,++ -- ** ListMobileDeviceAccessOverrides+ listMobileDeviceAccessOverrides_deviceId,+ listMobileDeviceAccessOverrides_maxResults,+ listMobileDeviceAccessOverrides_nextToken,+ listMobileDeviceAccessOverrides_userId,+ listMobileDeviceAccessOverrides_organizationId,+ listMobileDeviceAccessOverridesResponse_nextToken,+ listMobileDeviceAccessOverridesResponse_overrides,+ listMobileDeviceAccessOverridesResponse_httpStatus,++ -- ** ListMobileDeviceAccessRules+ listMobileDeviceAccessRules_organizationId,+ listMobileDeviceAccessRulesResponse_rules,+ listMobileDeviceAccessRulesResponse_httpStatus,++ -- ** ListOrganizations+ listOrganizations_maxResults,+ listOrganizations_nextToken,+ listOrganizationsResponse_nextToken,+ listOrganizationsResponse_organizationSummaries,+ listOrganizationsResponse_httpStatus,++ -- ** ListResourceDelegates+ listResourceDelegates_maxResults,+ listResourceDelegates_nextToken,+ listResourceDelegates_organizationId,+ listResourceDelegates_resourceId,+ listResourceDelegatesResponse_delegates,+ listResourceDelegatesResponse_nextToken,+ listResourceDelegatesResponse_httpStatus,++ -- ** ListResources+ listResources_maxResults,+ listResources_nextToken,+ listResources_organizationId,+ listResourcesResponse_nextToken,+ listResourcesResponse_resources,+ listResourcesResponse_httpStatus,++ -- ** ListTagsForResource+ listTagsForResource_resourceARN,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,++ -- ** ListUsers+ listUsers_maxResults,+ listUsers_nextToken,+ listUsers_organizationId,+ listUsersResponse_nextToken,+ listUsersResponse_users,+ listUsersResponse_httpStatus,++ -- ** PutAccessControlRule+ putAccessControlRule_actions,+ putAccessControlRule_impersonationRoleIds,+ putAccessControlRule_ipRanges,+ putAccessControlRule_notActions,+ putAccessControlRule_notImpersonationRoleIds,+ putAccessControlRule_notIpRanges,+ putAccessControlRule_notUserIds,+ putAccessControlRule_userIds,+ putAccessControlRule_name,+ putAccessControlRule_effect,+ putAccessControlRule_description,+ putAccessControlRule_organizationId,+ putAccessControlRuleResponse_httpStatus,++ -- ** PutEmailMonitoringConfiguration+ putEmailMonitoringConfiguration_organizationId,+ putEmailMonitoringConfiguration_roleArn,+ putEmailMonitoringConfiguration_logGroupArn,+ putEmailMonitoringConfigurationResponse_httpStatus,++ -- ** PutInboundDmarcSettings+ putInboundDmarcSettings_organizationId,+ putInboundDmarcSettings_enforced,+ putInboundDmarcSettingsResponse_httpStatus,++ -- ** PutMailboxPermissions+ putMailboxPermissions_organizationId,+ putMailboxPermissions_entityId,+ putMailboxPermissions_granteeId,+ putMailboxPermissions_permissionValues,+ putMailboxPermissionsResponse_httpStatus,++ -- ** PutMobileDeviceAccessOverride+ putMobileDeviceAccessOverride_description,+ putMobileDeviceAccessOverride_organizationId,+ putMobileDeviceAccessOverride_userId,+ putMobileDeviceAccessOverride_deviceId,+ putMobileDeviceAccessOverride_effect,+ putMobileDeviceAccessOverrideResponse_httpStatus,++ -- ** PutRetentionPolicy+ putRetentionPolicy_description,+ putRetentionPolicy_id,+ putRetentionPolicy_organizationId,+ putRetentionPolicy_name,+ putRetentionPolicy_folderConfigurations,+ putRetentionPolicyResponse_httpStatus,++ -- ** RegisterMailDomain+ registerMailDomain_clientToken,+ registerMailDomain_organizationId,+ registerMailDomain_domainName,+ registerMailDomainResponse_httpStatus,++ -- ** RegisterToWorkMail+ registerToWorkMail_organizationId,+ registerToWorkMail_entityId,+ registerToWorkMail_email,+ registerToWorkMailResponse_httpStatus,++ -- ** ResetPassword+ resetPassword_organizationId,+ resetPassword_userId,+ resetPassword_password,+ resetPasswordResponse_httpStatus,++ -- ** StartMailboxExportJob+ startMailboxExportJob_description,+ startMailboxExportJob_clientToken,+ startMailboxExportJob_organizationId,+ startMailboxExportJob_entityId,+ startMailboxExportJob_roleArn,+ startMailboxExportJob_kmsKeyArn,+ startMailboxExportJob_s3BucketName,+ startMailboxExportJob_s3Prefix,+ startMailboxExportJobResponse_jobId,+ startMailboxExportJobResponse_httpStatus,++ -- ** TagResource+ tagResource_resourceARN,+ tagResource_tags,+ tagResourceResponse_httpStatus,++ -- ** TestAvailabilityConfiguration+ testAvailabilityConfiguration_domainName,+ testAvailabilityConfiguration_ewsProvider,+ testAvailabilityConfiguration_lambdaProvider,+ testAvailabilityConfiguration_organizationId,+ testAvailabilityConfigurationResponse_failureReason,+ testAvailabilityConfigurationResponse_testPassed,+ testAvailabilityConfigurationResponse_httpStatus,++ -- ** UntagResource+ untagResource_resourceARN,+ untagResource_tagKeys,+ untagResourceResponse_httpStatus,++ -- ** UpdateAvailabilityConfiguration+ updateAvailabilityConfiguration_ewsProvider,+ updateAvailabilityConfiguration_lambdaProvider,+ updateAvailabilityConfiguration_organizationId,+ updateAvailabilityConfiguration_domainName,+ updateAvailabilityConfigurationResponse_httpStatus,++ -- ** UpdateDefaultMailDomain+ updateDefaultMailDomain_organizationId,+ updateDefaultMailDomain_domainName,+ updateDefaultMailDomainResponse_httpStatus,++ -- ** UpdateImpersonationRole+ updateImpersonationRole_description,+ updateImpersonationRole_organizationId,+ updateImpersonationRole_impersonationRoleId,+ updateImpersonationRole_name,+ updateImpersonationRole_type,+ updateImpersonationRole_rules,+ updateImpersonationRoleResponse_httpStatus,++ -- ** UpdateMailboxQuota+ updateMailboxQuota_organizationId,+ updateMailboxQuota_userId,+ updateMailboxQuota_mailboxQuota,+ updateMailboxQuotaResponse_httpStatus,++ -- ** UpdateMobileDeviceAccessRule+ updateMobileDeviceAccessRule_description,+ updateMobileDeviceAccessRule_deviceModels,+ updateMobileDeviceAccessRule_deviceOperatingSystems,+ updateMobileDeviceAccessRule_deviceTypes,+ updateMobileDeviceAccessRule_deviceUserAgents,+ updateMobileDeviceAccessRule_notDeviceModels,+ updateMobileDeviceAccessRule_notDeviceOperatingSystems,+ updateMobileDeviceAccessRule_notDeviceTypes,+ updateMobileDeviceAccessRule_notDeviceUserAgents,+ updateMobileDeviceAccessRule_organizationId,+ updateMobileDeviceAccessRule_mobileDeviceAccessRuleId,+ updateMobileDeviceAccessRule_name,+ updateMobileDeviceAccessRule_effect,+ updateMobileDeviceAccessRuleResponse_httpStatus,++ -- ** UpdatePrimaryEmailAddress+ updatePrimaryEmailAddress_organizationId,+ updatePrimaryEmailAddress_entityId,+ updatePrimaryEmailAddress_email,+ updatePrimaryEmailAddressResponse_httpStatus,++ -- ** UpdateResource+ updateResource_bookingOptions,+ updateResource_name,+ updateResource_organizationId,+ updateResource_resourceId,+ updateResourceResponse_httpStatus,++ -- * Types++ -- ** AccessControlRule+ accessControlRule_actions,+ accessControlRule_dateCreated,+ accessControlRule_dateModified,+ accessControlRule_description,+ accessControlRule_effect,+ accessControlRule_impersonationRoleIds,+ accessControlRule_ipRanges,+ accessControlRule_name,+ accessControlRule_notActions,+ accessControlRule_notImpersonationRoleIds,+ accessControlRule_notIpRanges,+ accessControlRule_notUserIds,+ accessControlRule_userIds,++ -- ** AvailabilityConfiguration+ availabilityConfiguration_dateCreated,+ availabilityConfiguration_dateModified,+ availabilityConfiguration_domainName,+ availabilityConfiguration_ewsProvider,+ availabilityConfiguration_lambdaProvider,+ availabilityConfiguration_providerType,++ -- ** BookingOptions+ bookingOptions_autoAcceptRequests,+ bookingOptions_autoDeclineConflictingRequests,+ bookingOptions_autoDeclineRecurringRequests,++ -- ** Delegate+ delegate_id,+ delegate_type,++ -- ** DnsRecord+ dnsRecord_hostname,+ dnsRecord_type,+ dnsRecord_value,++ -- ** Domain+ domain_domainName,+ domain_hostedZoneId,++ -- ** EwsAvailabilityProvider+ ewsAvailabilityProvider_ewsEndpoint,+ ewsAvailabilityProvider_ewsUsername,+ ewsAvailabilityProvider_ewsPassword,++ -- ** FolderConfiguration+ folderConfiguration_period,+ folderConfiguration_name,+ folderConfiguration_action,++ -- ** Group+ group_disabledDate,+ group_email,+ group_enabledDate,+ group_id,+ group_name,+ group_state,++ -- ** ImpersonationMatchedRule+ impersonationMatchedRule_impersonationRuleId,+ impersonationMatchedRule_name,++ -- ** ImpersonationRole+ impersonationRole_dateCreated,+ impersonationRole_dateModified,+ impersonationRole_impersonationRoleId,+ impersonationRole_name,+ impersonationRole_type,++ -- ** ImpersonationRule+ impersonationRule_description,+ impersonationRule_name,+ impersonationRule_notTargetUsers,+ impersonationRule_targetUsers,+ impersonationRule_impersonationRuleId,+ impersonationRule_effect,++ -- ** LambdaAvailabilityProvider+ lambdaAvailabilityProvider_lambdaArn,++ -- ** MailDomainSummary+ mailDomainSummary_defaultDomain,+ mailDomainSummary_domainName,++ -- ** MailboxExportJob+ mailboxExportJob_description,+ mailboxExportJob_endTime,+ mailboxExportJob_entityId,+ mailboxExportJob_estimatedProgress,+ mailboxExportJob_jobId,+ mailboxExportJob_s3BucketName,+ mailboxExportJob_s3Path,+ mailboxExportJob_startTime,+ mailboxExportJob_state,++ -- ** Member+ member_disabledDate,+ member_enabledDate,+ member_id,+ member_name,+ member_state,+ member_type,++ -- ** MobileDeviceAccessMatchedRule+ mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId,+ mobileDeviceAccessMatchedRule_name,++ -- ** MobileDeviceAccessOverride+ mobileDeviceAccessOverride_dateCreated,+ mobileDeviceAccessOverride_dateModified,+ mobileDeviceAccessOverride_description,+ mobileDeviceAccessOverride_deviceId,+ mobileDeviceAccessOverride_effect,+ mobileDeviceAccessOverride_userId,++ -- ** MobileDeviceAccessRule+ mobileDeviceAccessRule_dateCreated,+ mobileDeviceAccessRule_dateModified,+ mobileDeviceAccessRule_description,+ mobileDeviceAccessRule_deviceModels,+ mobileDeviceAccessRule_deviceOperatingSystems,+ mobileDeviceAccessRule_deviceTypes,+ mobileDeviceAccessRule_deviceUserAgents,+ mobileDeviceAccessRule_effect,+ mobileDeviceAccessRule_mobileDeviceAccessRuleId,+ mobileDeviceAccessRule_name,+ mobileDeviceAccessRule_notDeviceModels,+ mobileDeviceAccessRule_notDeviceOperatingSystems,+ mobileDeviceAccessRule_notDeviceTypes,+ mobileDeviceAccessRule_notDeviceUserAgents,++ -- ** OrganizationSummary+ organizationSummary_alias,+ organizationSummary_defaultMailDomain,+ organizationSummary_errorMessage,+ organizationSummary_organizationId,+ organizationSummary_state,++ -- ** Permission+ permission_granteeId,+ permission_granteeType,+ permission_permissionValues,++ -- ** RedactedEwsAvailabilityProvider+ redactedEwsAvailabilityProvider_ewsEndpoint,+ redactedEwsAvailabilityProvider_ewsUsername,++ -- ** Resource+ resource_disabledDate,+ resource_email,+ resource_enabledDate,+ resource_id,+ resource_name,+ resource_state,+ resource_type,++ -- ** Tag+ tag_key,+ tag_value,++ -- ** User+ user_disabledDate,+ user_displayName,+ user_email,+ user_enabledDate,+ user_id,+ user_name,+ user_state,+ user_userRole,+ )+where++import Amazonka.WorkMail.AssociateDelegateToResource+import Amazonka.WorkMail.AssociateMemberToGroup+import Amazonka.WorkMail.AssumeImpersonationRole+import Amazonka.WorkMail.CancelMailboxExportJob+import Amazonka.WorkMail.CreateAlias+import Amazonka.WorkMail.CreateAvailabilityConfiguration+import Amazonka.WorkMail.CreateGroup+import Amazonka.WorkMail.CreateImpersonationRole+import Amazonka.WorkMail.CreateMobileDeviceAccessRule+import Amazonka.WorkMail.CreateOrganization+import Amazonka.WorkMail.CreateResource+import Amazonka.WorkMail.CreateUser+import Amazonka.WorkMail.DeleteAccessControlRule+import Amazonka.WorkMail.DeleteAlias+import Amazonka.WorkMail.DeleteAvailabilityConfiguration+import Amazonka.WorkMail.DeleteEmailMonitoringConfiguration+import Amazonka.WorkMail.DeleteGroup+import Amazonka.WorkMail.DeleteImpersonationRole+import Amazonka.WorkMail.DeleteMailboxPermissions+import Amazonka.WorkMail.DeleteMobileDeviceAccessOverride+import Amazonka.WorkMail.DeleteMobileDeviceAccessRule+import Amazonka.WorkMail.DeleteOrganization+import Amazonka.WorkMail.DeleteResource+import Amazonka.WorkMail.DeleteRetentionPolicy+import Amazonka.WorkMail.DeleteUser+import Amazonka.WorkMail.DeregisterFromWorkMail+import Amazonka.WorkMail.DeregisterMailDomain+import Amazonka.WorkMail.DescribeEmailMonitoringConfiguration+import Amazonka.WorkMail.DescribeGroup+import Amazonka.WorkMail.DescribeInboundDmarcSettings+import Amazonka.WorkMail.DescribeMailboxExportJob+import Amazonka.WorkMail.DescribeOrganization+import Amazonka.WorkMail.DescribeResource+import Amazonka.WorkMail.DescribeUser+import Amazonka.WorkMail.DisassociateDelegateFromResource+import Amazonka.WorkMail.DisassociateMemberFromGroup+import Amazonka.WorkMail.GetAccessControlEffect+import Amazonka.WorkMail.GetDefaultRetentionPolicy+import Amazonka.WorkMail.GetImpersonationRole+import Amazonka.WorkMail.GetImpersonationRoleEffect+import Amazonka.WorkMail.GetMailDomain+import Amazonka.WorkMail.GetMailboxDetails+import Amazonka.WorkMail.GetMobileDeviceAccessEffect+import Amazonka.WorkMail.GetMobileDeviceAccessOverride+import Amazonka.WorkMail.ListAccessControlRules+import Amazonka.WorkMail.ListAliases+import Amazonka.WorkMail.ListAvailabilityConfigurations+import Amazonka.WorkMail.ListGroupMembers+import Amazonka.WorkMail.ListGroups+import Amazonka.WorkMail.ListImpersonationRoles+import Amazonka.WorkMail.ListMailDomains+import Amazonka.WorkMail.ListMailboxExportJobs+import Amazonka.WorkMail.ListMailboxPermissions+import Amazonka.WorkMail.ListMobileDeviceAccessOverrides+import Amazonka.WorkMail.ListMobileDeviceAccessRules+import Amazonka.WorkMail.ListOrganizations+import Amazonka.WorkMail.ListResourceDelegates+import Amazonka.WorkMail.ListResources+import Amazonka.WorkMail.ListTagsForResource+import Amazonka.WorkMail.ListUsers+import Amazonka.WorkMail.PutAccessControlRule+import Amazonka.WorkMail.PutEmailMonitoringConfiguration+import Amazonka.WorkMail.PutInboundDmarcSettings+import Amazonka.WorkMail.PutMailboxPermissions+import Amazonka.WorkMail.PutMobileDeviceAccessOverride+import Amazonka.WorkMail.PutRetentionPolicy+import Amazonka.WorkMail.RegisterMailDomain+import Amazonka.WorkMail.RegisterToWorkMail+import Amazonka.WorkMail.ResetPassword+import Amazonka.WorkMail.StartMailboxExportJob+import Amazonka.WorkMail.TagResource+import Amazonka.WorkMail.TestAvailabilityConfiguration+import Amazonka.WorkMail.Types.AccessControlRule+import Amazonka.WorkMail.Types.AvailabilityConfiguration+import Amazonka.WorkMail.Types.BookingOptions+import Amazonka.WorkMail.Types.Delegate+import Amazonka.WorkMail.Types.DnsRecord+import Amazonka.WorkMail.Types.Domain+import Amazonka.WorkMail.Types.EwsAvailabilityProvider+import Amazonka.WorkMail.Types.FolderConfiguration+import Amazonka.WorkMail.Types.Group+import Amazonka.WorkMail.Types.ImpersonationMatchedRule+import Amazonka.WorkMail.Types.ImpersonationRole+import Amazonka.WorkMail.Types.ImpersonationRule+import Amazonka.WorkMail.Types.LambdaAvailabilityProvider+import Amazonka.WorkMail.Types.MailDomainSummary+import Amazonka.WorkMail.Types.MailboxExportJob+import Amazonka.WorkMail.Types.Member+import Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule+import Amazonka.WorkMail.Types.MobileDeviceAccessOverride+import Amazonka.WorkMail.Types.MobileDeviceAccessRule+import Amazonka.WorkMail.Types.OrganizationSummary+import Amazonka.WorkMail.Types.Permission+import Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider+import Amazonka.WorkMail.Types.Resource+import Amazonka.WorkMail.Types.Tag+import Amazonka.WorkMail.Types.User+import Amazonka.WorkMail.UntagResource+import Amazonka.WorkMail.UpdateAvailabilityConfiguration+import Amazonka.WorkMail.UpdateDefaultMailDomain+import Amazonka.WorkMail.UpdateImpersonationRole+import Amazonka.WorkMail.UpdateMailboxQuota+import Amazonka.WorkMail.UpdateMobileDeviceAccessRule+import Amazonka.WorkMail.UpdatePrimaryEmailAddress+import Amazonka.WorkMail.UpdateResource
+ gen/Amazonka/WorkMail/ListAccessControlRules.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListAccessControlRules+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the access control rules for the specified organization.+module Amazonka.WorkMail.ListAccessControlRules+ ( -- * Creating a Request+ ListAccessControlRules (..),+ newListAccessControlRules,++ -- * Request Lenses+ listAccessControlRules_organizationId,++ -- * Destructuring the Response+ ListAccessControlRulesResponse (..),+ newListAccessControlRulesResponse,++ -- * Response Lenses+ listAccessControlRulesResponse_rules,+ listAccessControlRulesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListAccessControlRules' smart constructor.+data ListAccessControlRules = ListAccessControlRules'+ { -- | The identifier for the organization.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccessControlRules' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'listAccessControlRules_organizationId' - The identifier for the organization.+newListAccessControlRules ::+ -- | 'organizationId'+ Prelude.Text ->+ ListAccessControlRules+newListAccessControlRules pOrganizationId_ =+ ListAccessControlRules'+ { organizationId =+ pOrganizationId_+ }++-- | The identifier for the organization.+listAccessControlRules_organizationId :: Lens.Lens' ListAccessControlRules Prelude.Text+listAccessControlRules_organizationId = Lens.lens (\ListAccessControlRules' {organizationId} -> organizationId) (\s@ListAccessControlRules' {} a -> s {organizationId = a} :: ListAccessControlRules)++instance Core.AWSRequest ListAccessControlRules where+ type+ AWSResponse ListAccessControlRules =+ ListAccessControlRulesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListAccessControlRulesResponse'+ Prelude.<$> (x Data..?> "Rules" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListAccessControlRules where+ hashWithSalt _salt ListAccessControlRules' {..} =+ _salt `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListAccessControlRules where+ rnf ListAccessControlRules' {..} =+ Prelude.rnf organizationId++instance Data.ToHeaders ListAccessControlRules where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListAccessControlRules" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListAccessControlRules where+ toJSON ListAccessControlRules' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListAccessControlRules where+ toPath = Prelude.const "/"++instance Data.ToQuery ListAccessControlRules where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAccessControlRulesResponse' smart constructor.+data ListAccessControlRulesResponse = ListAccessControlRulesResponse'+ { -- | The access control rules.+ rules :: Prelude.Maybe [AccessControlRule],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccessControlRulesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'rules', 'listAccessControlRulesResponse_rules' - The access control rules.+--+-- 'httpStatus', 'listAccessControlRulesResponse_httpStatus' - The response's http status code.+newListAccessControlRulesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListAccessControlRulesResponse+newListAccessControlRulesResponse pHttpStatus_ =+ ListAccessControlRulesResponse'+ { rules =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The access control rules.+listAccessControlRulesResponse_rules :: Lens.Lens' ListAccessControlRulesResponse (Prelude.Maybe [AccessControlRule])+listAccessControlRulesResponse_rules = Lens.lens (\ListAccessControlRulesResponse' {rules} -> rules) (\s@ListAccessControlRulesResponse' {} a -> s {rules = a} :: ListAccessControlRulesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listAccessControlRulesResponse_httpStatus :: Lens.Lens' ListAccessControlRulesResponse Prelude.Int+listAccessControlRulesResponse_httpStatus = Lens.lens (\ListAccessControlRulesResponse' {httpStatus} -> httpStatus) (\s@ListAccessControlRulesResponse' {} a -> s {httpStatus = a} :: ListAccessControlRulesResponse)++instance+ Prelude.NFData+ ListAccessControlRulesResponse+ where+ rnf ListAccessControlRulesResponse' {..} =+ Prelude.rnf rules+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListAliases.hs view
@@ -0,0 +1,255 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListAliases+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a paginated call to list the aliases associated with a given+-- entity.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListAliases+ ( -- * Creating a Request+ ListAliases (..),+ newListAliases,++ -- * Request Lenses+ listAliases_maxResults,+ listAliases_nextToken,+ listAliases_organizationId,+ listAliases_entityId,++ -- * Destructuring the Response+ ListAliasesResponse (..),+ newListAliasesResponse,++ -- * Response Lenses+ listAliasesResponse_aliases,+ listAliasesResponse_nextToken,+ listAliasesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListAliases' smart constructor.+data ListAliases = ListAliases'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the organization under which the entity exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the entity for which to list the aliases.+ entityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAliases' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listAliases_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listAliases_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+--+-- 'organizationId', 'listAliases_organizationId' - The identifier for the organization under which the entity exists.+--+-- 'entityId', 'listAliases_entityId' - The identifier for the entity for which to list the aliases.+newListAliases ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ ListAliases+newListAliases pOrganizationId_ pEntityId_ =+ ListAliases'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_,+ entityId = pEntityId_+ }++-- | The maximum number of results to return in a single call.+listAliases_maxResults :: Lens.Lens' ListAliases (Prelude.Maybe Prelude.Natural)+listAliases_maxResults = Lens.lens (\ListAliases' {maxResults} -> maxResults) (\s@ListAliases' {} a -> s {maxResults = a} :: ListAliases)++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listAliases_nextToken :: Lens.Lens' ListAliases (Prelude.Maybe Prelude.Text)+listAliases_nextToken = Lens.lens (\ListAliases' {nextToken} -> nextToken) (\s@ListAliases' {} a -> s {nextToken = a} :: ListAliases)++-- | The identifier for the organization under which the entity exists.+listAliases_organizationId :: Lens.Lens' ListAliases Prelude.Text+listAliases_organizationId = Lens.lens (\ListAliases' {organizationId} -> organizationId) (\s@ListAliases' {} a -> s {organizationId = a} :: ListAliases)++-- | The identifier for the entity for which to list the aliases.+listAliases_entityId :: Lens.Lens' ListAliases Prelude.Text+listAliases_entityId = Lens.lens (\ListAliases' {entityId} -> entityId) (\s@ListAliases' {} a -> s {entityId = a} :: ListAliases)++instance Core.AWSPager ListAliases where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listAliasesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listAliasesResponse_aliases+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listAliases_nextToken+ Lens..~ rs+ Lens.^? listAliasesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListAliases where+ type AWSResponse ListAliases = ListAliasesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListAliasesResponse'+ Prelude.<$> (x Data..?> "Aliases" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListAliases where+ hashWithSalt _salt ListAliases' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId++instance Prelude.NFData ListAliases where+ rnf ListAliases' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId++instance Data.ToHeaders ListAliases where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListAliases" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListAliases where+ toJSON ListAliases' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId)+ ]+ )++instance Data.ToPath ListAliases where+ toPath = Prelude.const "/"++instance Data.ToQuery ListAliases where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAliasesResponse' smart constructor.+data ListAliasesResponse = ListAliasesResponse'+ { -- | The entity\'s paginated aliases.+ aliases :: Prelude.Maybe [Prelude.Text],+ -- | The token to use to retrieve the next page of results. The value is+ -- \"null\" when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAliasesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'aliases', 'listAliasesResponse_aliases' - The entity\'s paginated aliases.+--+-- 'nextToken', 'listAliasesResponse_nextToken' - The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+--+-- 'httpStatus', 'listAliasesResponse_httpStatus' - The response's http status code.+newListAliasesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListAliasesResponse+newListAliasesResponse pHttpStatus_ =+ ListAliasesResponse'+ { aliases = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The entity\'s paginated aliases.+listAliasesResponse_aliases :: Lens.Lens' ListAliasesResponse (Prelude.Maybe [Prelude.Text])+listAliasesResponse_aliases = Lens.lens (\ListAliasesResponse' {aliases} -> aliases) (\s@ListAliasesResponse' {} a -> s {aliases = a} :: ListAliasesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+listAliasesResponse_nextToken :: Lens.Lens' ListAliasesResponse (Prelude.Maybe Prelude.Text)+listAliasesResponse_nextToken = Lens.lens (\ListAliasesResponse' {nextToken} -> nextToken) (\s@ListAliasesResponse' {} a -> s {nextToken = a} :: ListAliasesResponse)++-- | The response's http status code.+listAliasesResponse_httpStatus :: Lens.Lens' ListAliasesResponse Prelude.Int+listAliasesResponse_httpStatus = Lens.lens (\ListAliasesResponse' {httpStatus} -> httpStatus) (\s@ListAliasesResponse' {} a -> s {httpStatus = a} :: ListAliasesResponse)++instance Prelude.NFData ListAliasesResponse where+ rnf ListAliasesResponse' {..} =+ Prelude.rnf aliases+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListAvailabilityConfigurations.hs view
@@ -0,0 +1,271 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListAvailabilityConfigurations+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- List all the @AvailabilityConfiguration@\'s for the given WorkMail+-- organization.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListAvailabilityConfigurations+ ( -- * Creating a Request+ ListAvailabilityConfigurations (..),+ newListAvailabilityConfigurations,++ -- * Request Lenses+ listAvailabilityConfigurations_maxResults,+ listAvailabilityConfigurations_nextToken,+ listAvailabilityConfigurations_organizationId,++ -- * Destructuring the Response+ ListAvailabilityConfigurationsResponse (..),+ newListAvailabilityConfigurationsResponse,++ -- * Response Lenses+ listAvailabilityConfigurationsResponse_availabilityConfigurations,+ listAvailabilityConfigurationsResponse_nextToken,+ listAvailabilityConfigurationsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListAvailabilityConfigurations' smart constructor.+data ListAvailabilityConfigurations = ListAvailabilityConfigurations'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not require a token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization for which the @AvailabilityConfiguration@\'s+ -- will be listed.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAvailabilityConfigurations' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listAvailabilityConfigurations_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listAvailabilityConfigurations_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not require a token.+--+-- 'organizationId', 'listAvailabilityConfigurations_organizationId' - The WorkMail organization for which the @AvailabilityConfiguration@\'s+-- will be listed.+newListAvailabilityConfigurations ::+ -- | 'organizationId'+ Prelude.Text ->+ ListAvailabilityConfigurations+newListAvailabilityConfigurations pOrganizationId_ =+ ListAvailabilityConfigurations'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The maximum number of results to return in a single call.+listAvailabilityConfigurations_maxResults :: Lens.Lens' ListAvailabilityConfigurations (Prelude.Maybe Prelude.Natural)+listAvailabilityConfigurations_maxResults = Lens.lens (\ListAvailabilityConfigurations' {maxResults} -> maxResults) (\s@ListAvailabilityConfigurations' {} a -> s {maxResults = a} :: ListAvailabilityConfigurations)++-- | The token to use to retrieve the next page of results. The first call+-- does not require a token.+listAvailabilityConfigurations_nextToken :: Lens.Lens' ListAvailabilityConfigurations (Prelude.Maybe Prelude.Text)+listAvailabilityConfigurations_nextToken = Lens.lens (\ListAvailabilityConfigurations' {nextToken} -> nextToken) (\s@ListAvailabilityConfigurations' {} a -> s {nextToken = a} :: ListAvailabilityConfigurations)++-- | The WorkMail organization for which the @AvailabilityConfiguration@\'s+-- will be listed.+listAvailabilityConfigurations_organizationId :: Lens.Lens' ListAvailabilityConfigurations Prelude.Text+listAvailabilityConfigurations_organizationId = Lens.lens (\ListAvailabilityConfigurations' {organizationId} -> organizationId) (\s@ListAvailabilityConfigurations' {} a -> s {organizationId = a} :: ListAvailabilityConfigurations)++instance Core.AWSPager ListAvailabilityConfigurations where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listAvailabilityConfigurationsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listAvailabilityConfigurationsResponse_availabilityConfigurations+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listAvailabilityConfigurations_nextToken+ Lens..~ rs+ Lens.^? listAvailabilityConfigurationsResponse_nextToken+ Prelude.. Lens._Just++instance+ Core.AWSRequest+ ListAvailabilityConfigurations+ where+ type+ AWSResponse ListAvailabilityConfigurations =+ ListAvailabilityConfigurationsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListAvailabilityConfigurationsResponse'+ Prelude.<$> ( x+ Data..?> "AvailabilityConfigurations"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ ListAvailabilityConfigurations+ where+ hashWithSalt+ _salt+ ListAvailabilityConfigurations' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId++instance+ Prelude.NFData+ ListAvailabilityConfigurations+ where+ rnf ListAvailabilityConfigurations' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId++instance+ Data.ToHeaders+ ListAvailabilityConfigurations+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListAvailabilityConfigurations" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListAvailabilityConfigurations where+ toJSON ListAvailabilityConfigurations' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListAvailabilityConfigurations where+ toPath = Prelude.const "/"++instance Data.ToQuery ListAvailabilityConfigurations where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAvailabilityConfigurationsResponse' smart constructor.+data ListAvailabilityConfigurationsResponse = ListAvailabilityConfigurationsResponse'+ { -- | The list of @AvailabilityConfiguration@\'s that exist for the specified+ -- WorkMail organization.+ availabilityConfigurations :: Prelude.Maybe [AvailabilityConfiguration],+ -- | The token to use to retrieve the next page of results. The value is+ -- @null@ when there are no further results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAvailabilityConfigurationsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'availabilityConfigurations', 'listAvailabilityConfigurationsResponse_availabilityConfigurations' - The list of @AvailabilityConfiguration@\'s that exist for the specified+-- WorkMail organization.+--+-- 'nextToken', 'listAvailabilityConfigurationsResponse_nextToken' - The token to use to retrieve the next page of results. The value is+-- @null@ when there are no further results to return.+--+-- 'httpStatus', 'listAvailabilityConfigurationsResponse_httpStatus' - The response's http status code.+newListAvailabilityConfigurationsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListAvailabilityConfigurationsResponse+newListAvailabilityConfigurationsResponse+ pHttpStatus_ =+ ListAvailabilityConfigurationsResponse'+ { availabilityConfigurations =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of @AvailabilityConfiguration@\'s that exist for the specified+-- WorkMail organization.+listAvailabilityConfigurationsResponse_availabilityConfigurations :: Lens.Lens' ListAvailabilityConfigurationsResponse (Prelude.Maybe [AvailabilityConfiguration])+listAvailabilityConfigurationsResponse_availabilityConfigurations = Lens.lens (\ListAvailabilityConfigurationsResponse' {availabilityConfigurations} -> availabilityConfigurations) (\s@ListAvailabilityConfigurationsResponse' {} a -> s {availabilityConfigurations = a} :: ListAvailabilityConfigurationsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token to use to retrieve the next page of results. The value is+-- @null@ when there are no further results to return.+listAvailabilityConfigurationsResponse_nextToken :: Lens.Lens' ListAvailabilityConfigurationsResponse (Prelude.Maybe Prelude.Text)+listAvailabilityConfigurationsResponse_nextToken = Lens.lens (\ListAvailabilityConfigurationsResponse' {nextToken} -> nextToken) (\s@ListAvailabilityConfigurationsResponse' {} a -> s {nextToken = a} :: ListAvailabilityConfigurationsResponse)++-- | The response's http status code.+listAvailabilityConfigurationsResponse_httpStatus :: Lens.Lens' ListAvailabilityConfigurationsResponse Prelude.Int+listAvailabilityConfigurationsResponse_httpStatus = Lens.lens (\ListAvailabilityConfigurationsResponse' {httpStatus} -> httpStatus) (\s@ListAvailabilityConfigurationsResponse' {} a -> s {httpStatus = a} :: ListAvailabilityConfigurationsResponse)++instance+ Prelude.NFData+ ListAvailabilityConfigurationsResponse+ where+ rnf ListAvailabilityConfigurationsResponse' {..} =+ Prelude.rnf availabilityConfigurations+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListGroupMembers.hs view
@@ -0,0 +1,261 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListGroupMembers+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns an overview of the members of a group. Users and groups can be+-- members of a group.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListGroupMembers+ ( -- * Creating a Request+ ListGroupMembers (..),+ newListGroupMembers,++ -- * Request Lenses+ listGroupMembers_maxResults,+ listGroupMembers_nextToken,+ listGroupMembers_organizationId,+ listGroupMembers_groupId,++ -- * Destructuring the Response+ ListGroupMembersResponse (..),+ newListGroupMembersResponse,++ -- * Response Lenses+ listGroupMembersResponse_members,+ listGroupMembersResponse_nextToken,+ listGroupMembersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListGroupMembers' smart constructor.+data ListGroupMembers = ListGroupMembers'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the organization under which the group exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the group to which the members (users or groups) are+ -- associated.+ groupId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroupMembers' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listGroupMembers_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listGroupMembers_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+--+-- 'organizationId', 'listGroupMembers_organizationId' - The identifier for the organization under which the group exists.+--+-- 'groupId', 'listGroupMembers_groupId' - The identifier for the group to which the members (users or groups) are+-- associated.+newListGroupMembers ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'groupId'+ Prelude.Text ->+ ListGroupMembers+newListGroupMembers pOrganizationId_ pGroupId_ =+ ListGroupMembers'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_,+ groupId = pGroupId_+ }++-- | The maximum number of results to return in a single call.+listGroupMembers_maxResults :: Lens.Lens' ListGroupMembers (Prelude.Maybe Prelude.Natural)+listGroupMembers_maxResults = Lens.lens (\ListGroupMembers' {maxResults} -> maxResults) (\s@ListGroupMembers' {} a -> s {maxResults = a} :: ListGroupMembers)++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listGroupMembers_nextToken :: Lens.Lens' ListGroupMembers (Prelude.Maybe Prelude.Text)+listGroupMembers_nextToken = Lens.lens (\ListGroupMembers' {nextToken} -> nextToken) (\s@ListGroupMembers' {} a -> s {nextToken = a} :: ListGroupMembers)++-- | The identifier for the organization under which the group exists.+listGroupMembers_organizationId :: Lens.Lens' ListGroupMembers Prelude.Text+listGroupMembers_organizationId = Lens.lens (\ListGroupMembers' {organizationId} -> organizationId) (\s@ListGroupMembers' {} a -> s {organizationId = a} :: ListGroupMembers)++-- | The identifier for the group to which the members (users or groups) are+-- associated.+listGroupMembers_groupId :: Lens.Lens' ListGroupMembers Prelude.Text+listGroupMembers_groupId = Lens.lens (\ListGroupMembers' {groupId} -> groupId) (\s@ListGroupMembers' {} a -> s {groupId = a} :: ListGroupMembers)++instance Core.AWSPager ListGroupMembers where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listGroupMembersResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listGroupMembersResponse_members+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listGroupMembers_nextToken+ Lens..~ rs+ Lens.^? listGroupMembersResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListGroupMembers where+ type+ AWSResponse ListGroupMembers =+ ListGroupMembersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListGroupMembersResponse'+ Prelude.<$> (x Data..?> "Members" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListGroupMembers where+ hashWithSalt _salt ListGroupMembers' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` groupId++instance Prelude.NFData ListGroupMembers where+ rnf ListGroupMembers' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf groupId++instance Data.ToHeaders ListGroupMembers where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListGroupMembers" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListGroupMembers where+ toJSON ListGroupMembers' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("GroupId" Data..= groupId)+ ]+ )++instance Data.ToPath ListGroupMembers where+ toPath = Prelude.const "/"++instance Data.ToQuery ListGroupMembers where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListGroupMembersResponse' smart constructor.+data ListGroupMembersResponse = ListGroupMembersResponse'+ { -- | The members associated to the group.+ members :: Prelude.Maybe [Member],+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroupMembersResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'members', 'listGroupMembersResponse_members' - The members associated to the group.+--+-- 'nextToken', 'listGroupMembersResponse_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+--+-- 'httpStatus', 'listGroupMembersResponse_httpStatus' - The response's http status code.+newListGroupMembersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListGroupMembersResponse+newListGroupMembersResponse pHttpStatus_ =+ ListGroupMembersResponse'+ { members =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The members associated to the group.+listGroupMembersResponse_members :: Lens.Lens' ListGroupMembersResponse (Prelude.Maybe [Member])+listGroupMembersResponse_members = Lens.lens (\ListGroupMembersResponse' {members} -> members) (\s@ListGroupMembersResponse' {} a -> s {members = a} :: ListGroupMembersResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listGroupMembersResponse_nextToken :: Lens.Lens' ListGroupMembersResponse (Prelude.Maybe Prelude.Text)+listGroupMembersResponse_nextToken = Lens.lens (\ListGroupMembersResponse' {nextToken} -> nextToken) (\s@ListGroupMembersResponse' {} a -> s {nextToken = a} :: ListGroupMembersResponse)++-- | The response's http status code.+listGroupMembersResponse_httpStatus :: Lens.Lens' ListGroupMembersResponse Prelude.Int+listGroupMembersResponse_httpStatus = Lens.lens (\ListGroupMembersResponse' {httpStatus} -> httpStatus) (\s@ListGroupMembersResponse' {} a -> s {httpStatus = a} :: ListGroupMembersResponse)++instance Prelude.NFData ListGroupMembersResponse where+ rnf ListGroupMembersResponse' {..} =+ Prelude.rnf members+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListGroups.hs view
@@ -0,0 +1,237 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListGroups+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns summaries of the organization\'s groups.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListGroups+ ( -- * Creating a Request+ ListGroups (..),+ newListGroups,++ -- * Request Lenses+ listGroups_maxResults,+ listGroups_nextToken,+ listGroups_organizationId,++ -- * Destructuring the Response+ ListGroupsResponse (..),+ newListGroupsResponse,++ -- * Response Lenses+ listGroupsResponse_groups,+ listGroupsResponse_nextToken,+ listGroupsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListGroups' smart constructor.+data ListGroups = ListGroups'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the organization under which the groups exist.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroups' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listGroups_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listGroups_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+--+-- 'organizationId', 'listGroups_organizationId' - The identifier for the organization under which the groups exist.+newListGroups ::+ -- | 'organizationId'+ Prelude.Text ->+ ListGroups+newListGroups pOrganizationId_ =+ ListGroups'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The maximum number of results to return in a single call.+listGroups_maxResults :: Lens.Lens' ListGroups (Prelude.Maybe Prelude.Natural)+listGroups_maxResults = Lens.lens (\ListGroups' {maxResults} -> maxResults) (\s@ListGroups' {} a -> s {maxResults = a} :: ListGroups)++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listGroups_nextToken :: Lens.Lens' ListGroups (Prelude.Maybe Prelude.Text)+listGroups_nextToken = Lens.lens (\ListGroups' {nextToken} -> nextToken) (\s@ListGroups' {} a -> s {nextToken = a} :: ListGroups)++-- | The identifier for the organization under which the groups exist.+listGroups_organizationId :: Lens.Lens' ListGroups Prelude.Text+listGroups_organizationId = Lens.lens (\ListGroups' {organizationId} -> organizationId) (\s@ListGroups' {} a -> s {organizationId = a} :: ListGroups)++instance Core.AWSPager ListGroups where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listGroupsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listGroupsResponse_groups+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listGroups_nextToken+ Lens..~ rs+ Lens.^? listGroupsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListGroups where+ type AWSResponse ListGroups = ListGroupsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListGroupsResponse'+ Prelude.<$> (x Data..?> "Groups" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListGroups where+ hashWithSalt _salt ListGroups' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListGroups where+ rnf ListGroups' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders ListGroups where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("WorkMailService.ListGroups" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListGroups where+ toJSON ListGroups' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListGroups where+ toPath = Prelude.const "/"++instance Data.ToQuery ListGroups where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListGroupsResponse' smart constructor.+data ListGroupsResponse = ListGroupsResponse'+ { -- | The overview of groups for an organization.+ groups :: Prelude.Maybe [Group],+ -- | The token to use to retrieve the next page of results. The value is+ -- \"null\" when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroupsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groups', 'listGroupsResponse_groups' - The overview of groups for an organization.+--+-- 'nextToken', 'listGroupsResponse_nextToken' - The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+--+-- 'httpStatus', 'listGroupsResponse_httpStatus' - The response's http status code.+newListGroupsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListGroupsResponse+newListGroupsResponse pHttpStatus_ =+ ListGroupsResponse'+ { groups = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The overview of groups for an organization.+listGroupsResponse_groups :: Lens.Lens' ListGroupsResponse (Prelude.Maybe [Group])+listGroupsResponse_groups = Lens.lens (\ListGroupsResponse' {groups} -> groups) (\s@ListGroupsResponse' {} a -> s {groups = a} :: ListGroupsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+listGroupsResponse_nextToken :: Lens.Lens' ListGroupsResponse (Prelude.Maybe Prelude.Text)+listGroupsResponse_nextToken = Lens.lens (\ListGroupsResponse' {nextToken} -> nextToken) (\s@ListGroupsResponse' {} a -> s {nextToken = a} :: ListGroupsResponse)++-- | The response's http status code.+listGroupsResponse_httpStatus :: Lens.Lens' ListGroupsResponse Prelude.Int+listGroupsResponse_httpStatus = Lens.lens (\ListGroupsResponse' {httpStatus} -> httpStatus) (\s@ListGroupsResponse' {} a -> s {httpStatus = a} :: ListGroupsResponse)++instance Prelude.NFData ListGroupsResponse where+ rnf ListGroupsResponse' {..} =+ Prelude.rnf groups+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListImpersonationRoles.hs view
@@ -0,0 +1,225 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListImpersonationRoles+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the impersonation roles for the given WorkMail organization.+module Amazonka.WorkMail.ListImpersonationRoles+ ( -- * Creating a Request+ ListImpersonationRoles (..),+ newListImpersonationRoles,++ -- * Request Lenses+ listImpersonationRoles_maxResults,+ listImpersonationRoles_nextToken,+ listImpersonationRoles_organizationId,++ -- * Destructuring the Response+ ListImpersonationRolesResponse (..),+ newListImpersonationRolesResponse,++ -- * Response Lenses+ listImpersonationRolesResponse_nextToken,+ listImpersonationRolesResponse_roles,+ listImpersonationRolesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListImpersonationRoles' smart constructor.+data ListImpersonationRoles = ListImpersonationRoles'+ { -- | The maximum number of results returned in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token used to retrieve the next page of results. The first call+ -- doesn\'t require a token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization to which the listed impersonation roles+ -- belong.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListImpersonationRoles' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listImpersonationRoles_maxResults' - The maximum number of results returned in a single call.+--+-- 'nextToken', 'listImpersonationRoles_nextToken' - The token used to retrieve the next page of results. The first call+-- doesn\'t require a token.+--+-- 'organizationId', 'listImpersonationRoles_organizationId' - The WorkMail organization to which the listed impersonation roles+-- belong.+newListImpersonationRoles ::+ -- | 'organizationId'+ Prelude.Text ->+ ListImpersonationRoles+newListImpersonationRoles pOrganizationId_ =+ ListImpersonationRoles'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The maximum number of results returned in a single call.+listImpersonationRoles_maxResults :: Lens.Lens' ListImpersonationRoles (Prelude.Maybe Prelude.Natural)+listImpersonationRoles_maxResults = Lens.lens (\ListImpersonationRoles' {maxResults} -> maxResults) (\s@ListImpersonationRoles' {} a -> s {maxResults = a} :: ListImpersonationRoles)++-- | The token used to retrieve the next page of results. The first call+-- doesn\'t require a token.+listImpersonationRoles_nextToken :: Lens.Lens' ListImpersonationRoles (Prelude.Maybe Prelude.Text)+listImpersonationRoles_nextToken = Lens.lens (\ListImpersonationRoles' {nextToken} -> nextToken) (\s@ListImpersonationRoles' {} a -> s {nextToken = a} :: ListImpersonationRoles)++-- | The WorkMail organization to which the listed impersonation roles+-- belong.+listImpersonationRoles_organizationId :: Lens.Lens' ListImpersonationRoles Prelude.Text+listImpersonationRoles_organizationId = Lens.lens (\ListImpersonationRoles' {organizationId} -> organizationId) (\s@ListImpersonationRoles' {} a -> s {organizationId = a} :: ListImpersonationRoles)++instance Core.AWSRequest ListImpersonationRoles where+ type+ AWSResponse ListImpersonationRoles =+ ListImpersonationRolesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListImpersonationRolesResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Roles" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListImpersonationRoles where+ hashWithSalt _salt ListImpersonationRoles' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListImpersonationRoles where+ rnf ListImpersonationRoles' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders ListImpersonationRoles where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListImpersonationRoles" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListImpersonationRoles where+ toJSON ListImpersonationRoles' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListImpersonationRoles where+ toPath = Prelude.const "/"++instance Data.ToQuery ListImpersonationRoles where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListImpersonationRolesResponse' smart constructor.+data ListImpersonationRolesResponse = ListImpersonationRolesResponse'+ { -- | The token to retrieve the next page of results. The value is @null@ when+ -- there are no results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of impersonation roles under the given WorkMail organization.+ roles :: Prelude.Maybe [ImpersonationRole],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListImpersonationRolesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listImpersonationRolesResponse_nextToken' - The token to retrieve the next page of results. The value is @null@ when+-- there are no results to return.+--+-- 'roles', 'listImpersonationRolesResponse_roles' - The list of impersonation roles under the given WorkMail organization.+--+-- 'httpStatus', 'listImpersonationRolesResponse_httpStatus' - The response's http status code.+newListImpersonationRolesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListImpersonationRolesResponse+newListImpersonationRolesResponse pHttpStatus_ =+ ListImpersonationRolesResponse'+ { nextToken =+ Prelude.Nothing,+ roles = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The token to retrieve the next page of results. The value is @null@ when+-- there are no results to return.+listImpersonationRolesResponse_nextToken :: Lens.Lens' ListImpersonationRolesResponse (Prelude.Maybe Prelude.Text)+listImpersonationRolesResponse_nextToken = Lens.lens (\ListImpersonationRolesResponse' {nextToken} -> nextToken) (\s@ListImpersonationRolesResponse' {} a -> s {nextToken = a} :: ListImpersonationRolesResponse)++-- | The list of impersonation roles under the given WorkMail organization.+listImpersonationRolesResponse_roles :: Lens.Lens' ListImpersonationRolesResponse (Prelude.Maybe [ImpersonationRole])+listImpersonationRolesResponse_roles = Lens.lens (\ListImpersonationRolesResponse' {roles} -> roles) (\s@ListImpersonationRolesResponse' {} a -> s {roles = a} :: ListImpersonationRolesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listImpersonationRolesResponse_httpStatus :: Lens.Lens' ListImpersonationRolesResponse Prelude.Int+listImpersonationRolesResponse_httpStatus = Lens.lens (\ListImpersonationRolesResponse' {httpStatus} -> httpStatus) (\s@ListImpersonationRolesResponse' {} a -> s {httpStatus = a} :: ListImpersonationRolesResponse)++instance+ Prelude.NFData+ ListImpersonationRolesResponse+ where+ rnf ListImpersonationRolesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf roles+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListMailDomains.hs view
@@ -0,0 +1,224 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListMailDomains+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the mail domains in a given WorkMail organization.+module Amazonka.WorkMail.ListMailDomains+ ( -- * Creating a Request+ ListMailDomains (..),+ newListMailDomains,++ -- * Request Lenses+ listMailDomains_maxResults,+ listMailDomains_nextToken,+ listMailDomains_organizationId,++ -- * Destructuring the Response+ ListMailDomainsResponse (..),+ newListMailDomainsResponse,++ -- * Response Lenses+ listMailDomainsResponse_mailDomains,+ listMailDomainsResponse_nextToken,+ listMailDomainsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListMailDomains' smart constructor.+data ListMailDomains = ListMailDomains'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not require a token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization for which to list domains.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMailDomains' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listMailDomains_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listMailDomains_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not require a token.+--+-- 'organizationId', 'listMailDomains_organizationId' - The WorkMail organization for which to list domains.+newListMailDomains ::+ -- | 'organizationId'+ Prelude.Text ->+ ListMailDomains+newListMailDomains pOrganizationId_ =+ ListMailDomains'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The maximum number of results to return in a single call.+listMailDomains_maxResults :: Lens.Lens' ListMailDomains (Prelude.Maybe Prelude.Natural)+listMailDomains_maxResults = Lens.lens (\ListMailDomains' {maxResults} -> maxResults) (\s@ListMailDomains' {} a -> s {maxResults = a} :: ListMailDomains)++-- | The token to use to retrieve the next page of results. The first call+-- does not require a token.+listMailDomains_nextToken :: Lens.Lens' ListMailDomains (Prelude.Maybe Prelude.Text)+listMailDomains_nextToken = Lens.lens (\ListMailDomains' {nextToken} -> nextToken) (\s@ListMailDomains' {} a -> s {nextToken = a} :: ListMailDomains)++-- | The WorkMail organization for which to list domains.+listMailDomains_organizationId :: Lens.Lens' ListMailDomains Prelude.Text+listMailDomains_organizationId = Lens.lens (\ListMailDomains' {organizationId} -> organizationId) (\s@ListMailDomains' {} a -> s {organizationId = a} :: ListMailDomains)++instance Core.AWSRequest ListMailDomains where+ type+ AWSResponse ListMailDomains =+ ListMailDomainsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListMailDomainsResponse'+ Prelude.<$> (x Data..?> "MailDomains" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListMailDomains where+ hashWithSalt _salt ListMailDomains' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListMailDomains where+ rnf ListMailDomains' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders ListMailDomains where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListMailDomains" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListMailDomains where+ toJSON ListMailDomains' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListMailDomains where+ toPath = Prelude.const "/"++instance Data.ToQuery ListMailDomains where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListMailDomainsResponse' smart constructor.+data ListMailDomainsResponse = ListMailDomainsResponse'+ { -- | The list of mail domain summaries, specifying domains that exist in the+ -- specified WorkMail organization, along with the information about+ -- whether the domain is or isn\'t the default.+ mailDomains :: Prelude.Maybe [MailDomainSummary],+ -- | The token to use to retrieve the next page of results. The value becomes+ -- @null@ when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMailDomainsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mailDomains', 'listMailDomainsResponse_mailDomains' - The list of mail domain summaries, specifying domains that exist in the+-- specified WorkMail organization, along with the information about+-- whether the domain is or isn\'t the default.+--+-- 'nextToken', 'listMailDomainsResponse_nextToken' - The token to use to retrieve the next page of results. The value becomes+-- @null@ when there are no more results to return.+--+-- 'httpStatus', 'listMailDomainsResponse_httpStatus' - The response's http status code.+newListMailDomainsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListMailDomainsResponse+newListMailDomainsResponse pHttpStatus_ =+ ListMailDomainsResponse'+ { mailDomains =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of mail domain summaries, specifying domains that exist in the+-- specified WorkMail organization, along with the information about+-- whether the domain is or isn\'t the default.+listMailDomainsResponse_mailDomains :: Lens.Lens' ListMailDomainsResponse (Prelude.Maybe [MailDomainSummary])+listMailDomainsResponse_mailDomains = Lens.lens (\ListMailDomainsResponse' {mailDomains} -> mailDomains) (\s@ListMailDomainsResponse' {} a -> s {mailDomains = a} :: ListMailDomainsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token to use to retrieve the next page of results. The value becomes+-- @null@ when there are no more results to return.+listMailDomainsResponse_nextToken :: Lens.Lens' ListMailDomainsResponse (Prelude.Maybe Prelude.Text)+listMailDomainsResponse_nextToken = Lens.lens (\ListMailDomainsResponse' {nextToken} -> nextToken) (\s@ListMailDomainsResponse' {} a -> s {nextToken = a} :: ListMailDomainsResponse)++-- | The response's http status code.+listMailDomainsResponse_httpStatus :: Lens.Lens' ListMailDomainsResponse Prelude.Int+listMailDomainsResponse_httpStatus = Lens.lens (\ListMailDomainsResponse' {httpStatus} -> httpStatus) (\s@ListMailDomainsResponse' {} a -> s {httpStatus = a} :: ListMailDomainsResponse)++instance Prelude.NFData ListMailDomainsResponse where+ rnf ListMailDomainsResponse' {..} =+ Prelude.rnf mailDomains+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListMailboxExportJobs.hs view
@@ -0,0 +1,214 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListMailboxExportJobs+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the mailbox export jobs started for the specified organization+-- within the last seven days.+module Amazonka.WorkMail.ListMailboxExportJobs+ ( -- * Creating a Request+ ListMailboxExportJobs (..),+ newListMailboxExportJobs,++ -- * Request Lenses+ listMailboxExportJobs_maxResults,+ listMailboxExportJobs_nextToken,+ listMailboxExportJobs_organizationId,++ -- * Destructuring the Response+ ListMailboxExportJobsResponse (..),+ newListMailboxExportJobsResponse,++ -- * Response Lenses+ listMailboxExportJobsResponse_jobs,+ listMailboxExportJobsResponse_nextToken,+ listMailboxExportJobsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListMailboxExportJobs' smart constructor.+data ListMailboxExportJobs = ListMailboxExportJobs'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The organization ID.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMailboxExportJobs' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listMailboxExportJobs_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listMailboxExportJobs_nextToken' - The token to use to retrieve the next page of results.+--+-- 'organizationId', 'listMailboxExportJobs_organizationId' - The organization ID.+newListMailboxExportJobs ::+ -- | 'organizationId'+ Prelude.Text ->+ ListMailboxExportJobs+newListMailboxExportJobs pOrganizationId_ =+ ListMailboxExportJobs'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The maximum number of results to return in a single call.+listMailboxExportJobs_maxResults :: Lens.Lens' ListMailboxExportJobs (Prelude.Maybe Prelude.Natural)+listMailboxExportJobs_maxResults = Lens.lens (\ListMailboxExportJobs' {maxResults} -> maxResults) (\s@ListMailboxExportJobs' {} a -> s {maxResults = a} :: ListMailboxExportJobs)++-- | The token to use to retrieve the next page of results.+listMailboxExportJobs_nextToken :: Lens.Lens' ListMailboxExportJobs (Prelude.Maybe Prelude.Text)+listMailboxExportJobs_nextToken = Lens.lens (\ListMailboxExportJobs' {nextToken} -> nextToken) (\s@ListMailboxExportJobs' {} a -> s {nextToken = a} :: ListMailboxExportJobs)++-- | The organization ID.+listMailboxExportJobs_organizationId :: Lens.Lens' ListMailboxExportJobs Prelude.Text+listMailboxExportJobs_organizationId = Lens.lens (\ListMailboxExportJobs' {organizationId} -> organizationId) (\s@ListMailboxExportJobs' {} a -> s {organizationId = a} :: ListMailboxExportJobs)++instance Core.AWSRequest ListMailboxExportJobs where+ type+ AWSResponse ListMailboxExportJobs =+ ListMailboxExportJobsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListMailboxExportJobsResponse'+ Prelude.<$> (x Data..?> "Jobs" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListMailboxExportJobs where+ hashWithSalt _salt ListMailboxExportJobs' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListMailboxExportJobs where+ rnf ListMailboxExportJobs' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders ListMailboxExportJobs where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListMailboxExportJobs" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListMailboxExportJobs where+ toJSON ListMailboxExportJobs' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListMailboxExportJobs where+ toPath = Prelude.const "/"++instance Data.ToQuery ListMailboxExportJobs where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListMailboxExportJobsResponse' smart constructor.+data ListMailboxExportJobsResponse = ListMailboxExportJobsResponse'+ { -- | The mailbox export job details.+ jobs :: Prelude.Maybe [MailboxExportJob],+ -- | The token to use to retrieve the next page of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMailboxExportJobsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobs', 'listMailboxExportJobsResponse_jobs' - The mailbox export job details.+--+-- 'nextToken', 'listMailboxExportJobsResponse_nextToken' - The token to use to retrieve the next page of results.+--+-- 'httpStatus', 'listMailboxExportJobsResponse_httpStatus' - The response's http status code.+newListMailboxExportJobsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListMailboxExportJobsResponse+newListMailboxExportJobsResponse pHttpStatus_ =+ ListMailboxExportJobsResponse'+ { jobs =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The mailbox export job details.+listMailboxExportJobsResponse_jobs :: Lens.Lens' ListMailboxExportJobsResponse (Prelude.Maybe [MailboxExportJob])+listMailboxExportJobsResponse_jobs = Lens.lens (\ListMailboxExportJobsResponse' {jobs} -> jobs) (\s@ListMailboxExportJobsResponse' {} a -> s {jobs = a} :: ListMailboxExportJobsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token to use to retrieve the next page of results.+listMailboxExportJobsResponse_nextToken :: Lens.Lens' ListMailboxExportJobsResponse (Prelude.Maybe Prelude.Text)+listMailboxExportJobsResponse_nextToken = Lens.lens (\ListMailboxExportJobsResponse' {nextToken} -> nextToken) (\s@ListMailboxExportJobsResponse' {} a -> s {nextToken = a} :: ListMailboxExportJobsResponse)++-- | The response's http status code.+listMailboxExportJobsResponse_httpStatus :: Lens.Lens' ListMailboxExportJobsResponse Prelude.Int+listMailboxExportJobsResponse_httpStatus = Lens.lens (\ListMailboxExportJobsResponse' {httpStatus} -> httpStatus) (\s@ListMailboxExportJobsResponse' {} a -> s {httpStatus = a} :: ListMailboxExportJobsResponse)++instance Prelude.NFData ListMailboxExportJobsResponse where+ rnf ListMailboxExportJobsResponse' {..} =+ Prelude.rnf jobs+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListMailboxPermissions.hs view
@@ -0,0 +1,268 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListMailboxPermissions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the mailbox permissions associated with a user, group, or resource+-- mailbox.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListMailboxPermissions+ ( -- * Creating a Request+ ListMailboxPermissions (..),+ newListMailboxPermissions,++ -- * Request Lenses+ listMailboxPermissions_maxResults,+ listMailboxPermissions_nextToken,+ listMailboxPermissions_organizationId,+ listMailboxPermissions_entityId,++ -- * Destructuring the Response+ ListMailboxPermissionsResponse (..),+ newListMailboxPermissionsResponse,++ -- * Response Lenses+ listMailboxPermissionsResponse_nextToken,+ listMailboxPermissionsResponse_permissions,+ listMailboxPermissionsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListMailboxPermissions' smart constructor.+data ListMailboxPermissions = ListMailboxPermissions'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The identifier of the organization under which the user, group, or+ -- resource exists.+ organizationId :: Prelude.Text,+ -- | The identifier of the user, group, or resource for which to list mailbox+ -- permissions.+ entityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMailboxPermissions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listMailboxPermissions_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listMailboxPermissions_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+--+-- 'organizationId', 'listMailboxPermissions_organizationId' - The identifier of the organization under which the user, group, or+-- resource exists.+--+-- 'entityId', 'listMailboxPermissions_entityId' - The identifier of the user, group, or resource for which to list mailbox+-- permissions.+newListMailboxPermissions ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ ListMailboxPermissions+newListMailboxPermissions pOrganizationId_ pEntityId_ =+ ListMailboxPermissions'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_,+ entityId = pEntityId_+ }++-- | The maximum number of results to return in a single call.+listMailboxPermissions_maxResults :: Lens.Lens' ListMailboxPermissions (Prelude.Maybe Prelude.Natural)+listMailboxPermissions_maxResults = Lens.lens (\ListMailboxPermissions' {maxResults} -> maxResults) (\s@ListMailboxPermissions' {} a -> s {maxResults = a} :: ListMailboxPermissions)++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listMailboxPermissions_nextToken :: Lens.Lens' ListMailboxPermissions (Prelude.Maybe Prelude.Text)+listMailboxPermissions_nextToken = Lens.lens (\ListMailboxPermissions' {nextToken} -> nextToken) (\s@ListMailboxPermissions' {} a -> s {nextToken = a} :: ListMailboxPermissions)++-- | The identifier of the organization under which the user, group, or+-- resource exists.+listMailboxPermissions_organizationId :: Lens.Lens' ListMailboxPermissions Prelude.Text+listMailboxPermissions_organizationId = Lens.lens (\ListMailboxPermissions' {organizationId} -> organizationId) (\s@ListMailboxPermissions' {} a -> s {organizationId = a} :: ListMailboxPermissions)++-- | The identifier of the user, group, or resource for which to list mailbox+-- permissions.+listMailboxPermissions_entityId :: Lens.Lens' ListMailboxPermissions Prelude.Text+listMailboxPermissions_entityId = Lens.lens (\ListMailboxPermissions' {entityId} -> entityId) (\s@ListMailboxPermissions' {} a -> s {entityId = a} :: ListMailboxPermissions)++instance Core.AWSPager ListMailboxPermissions where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listMailboxPermissionsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listMailboxPermissionsResponse_permissions+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listMailboxPermissions_nextToken+ Lens..~ rs+ Lens.^? listMailboxPermissionsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListMailboxPermissions where+ type+ AWSResponse ListMailboxPermissions =+ ListMailboxPermissionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListMailboxPermissionsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Permissions" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListMailboxPermissions where+ hashWithSalt _salt ListMailboxPermissions' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId++instance Prelude.NFData ListMailboxPermissions where+ rnf ListMailboxPermissions' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId++instance Data.ToHeaders ListMailboxPermissions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListMailboxPermissions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListMailboxPermissions where+ toJSON ListMailboxPermissions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId)+ ]+ )++instance Data.ToPath ListMailboxPermissions where+ toPath = Prelude.const "/"++instance Data.ToQuery ListMailboxPermissions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListMailboxPermissionsResponse' smart constructor.+data ListMailboxPermissionsResponse = ListMailboxPermissionsResponse'+ { -- | The token to use to retrieve the next page of results. The value is+ -- \"null\" when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | One page of the user, group, or resource mailbox permissions.+ permissions :: Prelude.Maybe [Permission],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMailboxPermissionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listMailboxPermissionsResponse_nextToken' - The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+--+-- 'permissions', 'listMailboxPermissionsResponse_permissions' - One page of the user, group, or resource mailbox permissions.+--+-- 'httpStatus', 'listMailboxPermissionsResponse_httpStatus' - The response's http status code.+newListMailboxPermissionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListMailboxPermissionsResponse+newListMailboxPermissionsResponse pHttpStatus_ =+ ListMailboxPermissionsResponse'+ { nextToken =+ Prelude.Nothing,+ permissions = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+listMailboxPermissionsResponse_nextToken :: Lens.Lens' ListMailboxPermissionsResponse (Prelude.Maybe Prelude.Text)+listMailboxPermissionsResponse_nextToken = Lens.lens (\ListMailboxPermissionsResponse' {nextToken} -> nextToken) (\s@ListMailboxPermissionsResponse' {} a -> s {nextToken = a} :: ListMailboxPermissionsResponse)++-- | One page of the user, group, or resource mailbox permissions.+listMailboxPermissionsResponse_permissions :: Lens.Lens' ListMailboxPermissionsResponse (Prelude.Maybe [Permission])+listMailboxPermissionsResponse_permissions = Lens.lens (\ListMailboxPermissionsResponse' {permissions} -> permissions) (\s@ListMailboxPermissionsResponse' {} a -> s {permissions = a} :: ListMailboxPermissionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listMailboxPermissionsResponse_httpStatus :: Lens.Lens' ListMailboxPermissionsResponse Prelude.Int+listMailboxPermissionsResponse_httpStatus = Lens.lens (\ListMailboxPermissionsResponse' {httpStatus} -> httpStatus) (\s@ListMailboxPermissionsResponse' {} a -> s {httpStatus = a} :: ListMailboxPermissionsResponse)++instance+ Prelude.NFData+ ListMailboxPermissionsResponse+ where+ rnf ListMailboxPermissionsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf permissions+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListMobileDeviceAccessOverrides.hs view
@@ -0,0 +1,294 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListMobileDeviceAccessOverrides+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the mobile device access overrides for any given combination+-- of WorkMail organization, user, or device.+module Amazonka.WorkMail.ListMobileDeviceAccessOverrides+ ( -- * Creating a Request+ ListMobileDeviceAccessOverrides (..),+ newListMobileDeviceAccessOverrides,++ -- * Request Lenses+ listMobileDeviceAccessOverrides_deviceId,+ listMobileDeviceAccessOverrides_maxResults,+ listMobileDeviceAccessOverrides_nextToken,+ listMobileDeviceAccessOverrides_userId,+ listMobileDeviceAccessOverrides_organizationId,++ -- * Destructuring the Response+ ListMobileDeviceAccessOverridesResponse (..),+ newListMobileDeviceAccessOverridesResponse,++ -- * Response Lenses+ listMobileDeviceAccessOverridesResponse_nextToken,+ listMobileDeviceAccessOverridesResponse_overrides,+ listMobileDeviceAccessOverridesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListMobileDeviceAccessOverrides' smart constructor.+data ListMobileDeviceAccessOverrides = ListMobileDeviceAccessOverrides'+ { -- | The mobile device to which the access override applies.+ deviceId :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not require a token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail user under which you list the mobile device access+ -- overrides. Accepts the following types of user identities:+ --+ -- - User ID: @12345678-1234-1234-1234-123456789012@ or+ -- @S-1-1-12-1234567890-123456789-123456789-1234@+ --+ -- - Email address: @user\@domain.tld@+ --+ -- - User name: @user@+ userId :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization under which to list mobile device access+ -- overrides.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMobileDeviceAccessOverrides' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'deviceId', 'listMobileDeviceAccessOverrides_deviceId' - The mobile device to which the access override applies.+--+-- 'maxResults', 'listMobileDeviceAccessOverrides_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listMobileDeviceAccessOverrides_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not require a token.+--+-- 'userId', 'listMobileDeviceAccessOverrides_userId' - The WorkMail user under which you list the mobile device access+-- overrides. Accepts the following types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+--+-- 'organizationId', 'listMobileDeviceAccessOverrides_organizationId' - The WorkMail organization under which to list mobile device access+-- overrides.+newListMobileDeviceAccessOverrides ::+ -- | 'organizationId'+ Prelude.Text ->+ ListMobileDeviceAccessOverrides+newListMobileDeviceAccessOverrides pOrganizationId_ =+ ListMobileDeviceAccessOverrides'+ { deviceId =+ Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ userId = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The mobile device to which the access override applies.+listMobileDeviceAccessOverrides_deviceId :: Lens.Lens' ListMobileDeviceAccessOverrides (Prelude.Maybe Prelude.Text)+listMobileDeviceAccessOverrides_deviceId = Lens.lens (\ListMobileDeviceAccessOverrides' {deviceId} -> deviceId) (\s@ListMobileDeviceAccessOverrides' {} a -> s {deviceId = a} :: ListMobileDeviceAccessOverrides)++-- | The maximum number of results to return in a single call.+listMobileDeviceAccessOverrides_maxResults :: Lens.Lens' ListMobileDeviceAccessOverrides (Prelude.Maybe Prelude.Natural)+listMobileDeviceAccessOverrides_maxResults = Lens.lens (\ListMobileDeviceAccessOverrides' {maxResults} -> maxResults) (\s@ListMobileDeviceAccessOverrides' {} a -> s {maxResults = a} :: ListMobileDeviceAccessOverrides)++-- | The token to use to retrieve the next page of results. The first call+-- does not require a token.+listMobileDeviceAccessOverrides_nextToken :: Lens.Lens' ListMobileDeviceAccessOverrides (Prelude.Maybe Prelude.Text)+listMobileDeviceAccessOverrides_nextToken = Lens.lens (\ListMobileDeviceAccessOverrides' {nextToken} -> nextToken) (\s@ListMobileDeviceAccessOverrides' {} a -> s {nextToken = a} :: ListMobileDeviceAccessOverrides)++-- | The WorkMail user under which you list the mobile device access+-- overrides. Accepts the following types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+listMobileDeviceAccessOverrides_userId :: Lens.Lens' ListMobileDeviceAccessOverrides (Prelude.Maybe Prelude.Text)+listMobileDeviceAccessOverrides_userId = Lens.lens (\ListMobileDeviceAccessOverrides' {userId} -> userId) (\s@ListMobileDeviceAccessOverrides' {} a -> s {userId = a} :: ListMobileDeviceAccessOverrides)++-- | The WorkMail organization under which to list mobile device access+-- overrides.+listMobileDeviceAccessOverrides_organizationId :: Lens.Lens' ListMobileDeviceAccessOverrides Prelude.Text+listMobileDeviceAccessOverrides_organizationId = Lens.lens (\ListMobileDeviceAccessOverrides' {organizationId} -> organizationId) (\s@ListMobileDeviceAccessOverrides' {} a -> s {organizationId = a} :: ListMobileDeviceAccessOverrides)++instance+ Core.AWSRequest+ ListMobileDeviceAccessOverrides+ where+ type+ AWSResponse ListMobileDeviceAccessOverrides =+ ListMobileDeviceAccessOverridesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListMobileDeviceAccessOverridesResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Overrides" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ ListMobileDeviceAccessOverrides+ where+ hashWithSalt+ _salt+ ListMobileDeviceAccessOverrides' {..} =+ _salt+ `Prelude.hashWithSalt` deviceId+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` userId+ `Prelude.hashWithSalt` organizationId++instance+ Prelude.NFData+ ListMobileDeviceAccessOverrides+ where+ rnf ListMobileDeviceAccessOverrides' {..} =+ Prelude.rnf deviceId+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf organizationId++instance+ Data.ToHeaders+ ListMobileDeviceAccessOverrides+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListMobileDeviceAccessOverrides" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListMobileDeviceAccessOverrides where+ toJSON ListMobileDeviceAccessOverrides' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DeviceId" Data..=) Prelude.<$> deviceId,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("UserId" Data..=) Prelude.<$> userId,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListMobileDeviceAccessOverrides where+ toPath = Prelude.const "/"++instance Data.ToQuery ListMobileDeviceAccessOverrides where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListMobileDeviceAccessOverridesResponse' smart constructor.+data ListMobileDeviceAccessOverridesResponse = ListMobileDeviceAccessOverridesResponse'+ { -- | The token to use to retrieve the next page of results. The value is+ -- “null” when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of mobile device access overrides that exist for the specified+ -- WorkMail organization and user.+ overrides :: Prelude.Maybe [MobileDeviceAccessOverride],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMobileDeviceAccessOverridesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listMobileDeviceAccessOverridesResponse_nextToken' - The token to use to retrieve the next page of results. The value is+-- “null” when there are no more results to return.+--+-- 'overrides', 'listMobileDeviceAccessOverridesResponse_overrides' - The list of mobile device access overrides that exist for the specified+-- WorkMail organization and user.+--+-- 'httpStatus', 'listMobileDeviceAccessOverridesResponse_httpStatus' - The response's http status code.+newListMobileDeviceAccessOverridesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListMobileDeviceAccessOverridesResponse+newListMobileDeviceAccessOverridesResponse+ pHttpStatus_ =+ ListMobileDeviceAccessOverridesResponse'+ { nextToken =+ Prelude.Nothing,+ overrides = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The token to use to retrieve the next page of results. The value is+-- “null” when there are no more results to return.+listMobileDeviceAccessOverridesResponse_nextToken :: Lens.Lens' ListMobileDeviceAccessOverridesResponse (Prelude.Maybe Prelude.Text)+listMobileDeviceAccessOverridesResponse_nextToken = Lens.lens (\ListMobileDeviceAccessOverridesResponse' {nextToken} -> nextToken) (\s@ListMobileDeviceAccessOverridesResponse' {} a -> s {nextToken = a} :: ListMobileDeviceAccessOverridesResponse)++-- | The list of mobile device access overrides that exist for the specified+-- WorkMail organization and user.+listMobileDeviceAccessOverridesResponse_overrides :: Lens.Lens' ListMobileDeviceAccessOverridesResponse (Prelude.Maybe [MobileDeviceAccessOverride])+listMobileDeviceAccessOverridesResponse_overrides = Lens.lens (\ListMobileDeviceAccessOverridesResponse' {overrides} -> overrides) (\s@ListMobileDeviceAccessOverridesResponse' {} a -> s {overrides = a} :: ListMobileDeviceAccessOverridesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listMobileDeviceAccessOverridesResponse_httpStatus :: Lens.Lens' ListMobileDeviceAccessOverridesResponse Prelude.Int+listMobileDeviceAccessOverridesResponse_httpStatus = Lens.lens (\ListMobileDeviceAccessOverridesResponse' {httpStatus} -> httpStatus) (\s@ListMobileDeviceAccessOverridesResponse' {} a -> s {httpStatus = a} :: ListMobileDeviceAccessOverridesResponse)++instance+ Prelude.NFData+ ListMobileDeviceAccessOverridesResponse+ where+ rnf ListMobileDeviceAccessOverridesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf overrides+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListMobileDeviceAccessRules.hs view
@@ -0,0 +1,181 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListMobileDeviceAccessRules+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the mobile device access rules for the specified WorkMail+-- organization.+module Amazonka.WorkMail.ListMobileDeviceAccessRules+ ( -- * Creating a Request+ ListMobileDeviceAccessRules (..),+ newListMobileDeviceAccessRules,++ -- * Request Lenses+ listMobileDeviceAccessRules_organizationId,++ -- * Destructuring the Response+ ListMobileDeviceAccessRulesResponse (..),+ newListMobileDeviceAccessRulesResponse,++ -- * Response Lenses+ listMobileDeviceAccessRulesResponse_rules,+ listMobileDeviceAccessRulesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListMobileDeviceAccessRules' smart constructor.+data ListMobileDeviceAccessRules = ListMobileDeviceAccessRules'+ { -- | The WorkMail organization for which to list the rules.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMobileDeviceAccessRules' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'listMobileDeviceAccessRules_organizationId' - The WorkMail organization for which to list the rules.+newListMobileDeviceAccessRules ::+ -- | 'organizationId'+ Prelude.Text ->+ ListMobileDeviceAccessRules+newListMobileDeviceAccessRules pOrganizationId_ =+ ListMobileDeviceAccessRules'+ { organizationId =+ pOrganizationId_+ }++-- | The WorkMail organization for which to list the rules.+listMobileDeviceAccessRules_organizationId :: Lens.Lens' ListMobileDeviceAccessRules Prelude.Text+listMobileDeviceAccessRules_organizationId = Lens.lens (\ListMobileDeviceAccessRules' {organizationId} -> organizationId) (\s@ListMobileDeviceAccessRules' {} a -> s {organizationId = a} :: ListMobileDeviceAccessRules)++instance Core.AWSRequest ListMobileDeviceAccessRules where+ type+ AWSResponse ListMobileDeviceAccessRules =+ ListMobileDeviceAccessRulesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListMobileDeviceAccessRulesResponse'+ Prelude.<$> (x Data..?> "Rules" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListMobileDeviceAccessRules where+ hashWithSalt _salt ListMobileDeviceAccessRules' {..} =+ _salt `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListMobileDeviceAccessRules where+ rnf ListMobileDeviceAccessRules' {..} =+ Prelude.rnf organizationId++instance Data.ToHeaders ListMobileDeviceAccessRules where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListMobileDeviceAccessRules" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListMobileDeviceAccessRules where+ toJSON ListMobileDeviceAccessRules' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListMobileDeviceAccessRules where+ toPath = Prelude.const "/"++instance Data.ToQuery ListMobileDeviceAccessRules where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListMobileDeviceAccessRulesResponse' smart constructor.+data ListMobileDeviceAccessRulesResponse = ListMobileDeviceAccessRulesResponse'+ { -- | The list of mobile device access rules that exist under the specified+ -- WorkMail organization.+ rules :: Prelude.Maybe [MobileDeviceAccessRule],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListMobileDeviceAccessRulesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'rules', 'listMobileDeviceAccessRulesResponse_rules' - The list of mobile device access rules that exist under the specified+-- WorkMail organization.+--+-- 'httpStatus', 'listMobileDeviceAccessRulesResponse_httpStatus' - The response's http status code.+newListMobileDeviceAccessRulesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListMobileDeviceAccessRulesResponse+newListMobileDeviceAccessRulesResponse pHttpStatus_ =+ ListMobileDeviceAccessRulesResponse'+ { rules =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of mobile device access rules that exist under the specified+-- WorkMail organization.+listMobileDeviceAccessRulesResponse_rules :: Lens.Lens' ListMobileDeviceAccessRulesResponse (Prelude.Maybe [MobileDeviceAccessRule])+listMobileDeviceAccessRulesResponse_rules = Lens.lens (\ListMobileDeviceAccessRulesResponse' {rules} -> rules) (\s@ListMobileDeviceAccessRulesResponse' {} a -> s {rules = a} :: ListMobileDeviceAccessRulesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listMobileDeviceAccessRulesResponse_httpStatus :: Lens.Lens' ListMobileDeviceAccessRulesResponse Prelude.Int+listMobileDeviceAccessRulesResponse_httpStatus = Lens.lens (\ListMobileDeviceAccessRulesResponse' {httpStatus} -> httpStatus) (\s@ListMobileDeviceAccessRulesResponse' {} a -> s {httpStatus = a} :: ListMobileDeviceAccessRulesResponse)++instance+ Prelude.NFData+ ListMobileDeviceAccessRulesResponse+ where+ rnf ListMobileDeviceAccessRulesResponse' {..} =+ Prelude.rnf rules+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListOrganizations.hs view
@@ -0,0 +1,232 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListOrganizations+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns summaries of the customer\'s organizations.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListOrganizations+ ( -- * Creating a Request+ ListOrganizations (..),+ newListOrganizations,++ -- * Request Lenses+ listOrganizations_maxResults,+ listOrganizations_nextToken,++ -- * Destructuring the Response+ ListOrganizationsResponse (..),+ newListOrganizationsResponse,++ -- * Response Lenses+ listOrganizationsResponse_nextToken,+ listOrganizationsResponse_organizationSummaries,+ listOrganizationsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListOrganizations' smart constructor.+data ListOrganizations = ListOrganizations'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListOrganizations' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listOrganizations_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listOrganizations_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+newListOrganizations ::+ ListOrganizations+newListOrganizations =+ ListOrganizations'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The maximum number of results to return in a single call.+listOrganizations_maxResults :: Lens.Lens' ListOrganizations (Prelude.Maybe Prelude.Natural)+listOrganizations_maxResults = Lens.lens (\ListOrganizations' {maxResults} -> maxResults) (\s@ListOrganizations' {} a -> s {maxResults = a} :: ListOrganizations)++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listOrganizations_nextToken :: Lens.Lens' ListOrganizations (Prelude.Maybe Prelude.Text)+listOrganizations_nextToken = Lens.lens (\ListOrganizations' {nextToken} -> nextToken) (\s@ListOrganizations' {} a -> s {nextToken = a} :: ListOrganizations)++instance Core.AWSPager ListOrganizations where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listOrganizationsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listOrganizationsResponse_organizationSummaries+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listOrganizations_nextToken+ Lens..~ rs+ Lens.^? listOrganizationsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListOrganizations where+ type+ AWSResponse ListOrganizations =+ ListOrganizationsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListOrganizationsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> ( x+ Data..?> "OrganizationSummaries"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListOrganizations where+ hashWithSalt _salt ListOrganizations' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListOrganizations where+ rnf ListOrganizations' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListOrganizations where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListOrganizations" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListOrganizations where+ toJSON ListOrganizations' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListOrganizations where+ toPath = Prelude.const "/"++instance Data.ToQuery ListOrganizations where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListOrganizationsResponse' smart constructor.+data ListOrganizationsResponse = ListOrganizationsResponse'+ { -- | The token to use to retrieve the next page of results. The value is+ -- \"null\" when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The overview of owned organizations presented as a list of organization+ -- summaries.+ organizationSummaries :: Prelude.Maybe [OrganizationSummary],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListOrganizationsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listOrganizationsResponse_nextToken' - The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+--+-- 'organizationSummaries', 'listOrganizationsResponse_organizationSummaries' - The overview of owned organizations presented as a list of organization+-- summaries.+--+-- 'httpStatus', 'listOrganizationsResponse_httpStatus' - The response's http status code.+newListOrganizationsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListOrganizationsResponse+newListOrganizationsResponse pHttpStatus_ =+ ListOrganizationsResponse'+ { nextToken =+ Prelude.Nothing,+ organizationSummaries = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The token to use to retrieve the next page of results. The value is+-- \"null\" when there are no more results to return.+listOrganizationsResponse_nextToken :: Lens.Lens' ListOrganizationsResponse (Prelude.Maybe Prelude.Text)+listOrganizationsResponse_nextToken = Lens.lens (\ListOrganizationsResponse' {nextToken} -> nextToken) (\s@ListOrganizationsResponse' {} a -> s {nextToken = a} :: ListOrganizationsResponse)++-- | The overview of owned organizations presented as a list of organization+-- summaries.+listOrganizationsResponse_organizationSummaries :: Lens.Lens' ListOrganizationsResponse (Prelude.Maybe [OrganizationSummary])+listOrganizationsResponse_organizationSummaries = Lens.lens (\ListOrganizationsResponse' {organizationSummaries} -> organizationSummaries) (\s@ListOrganizationsResponse' {} a -> s {organizationSummaries = a} :: ListOrganizationsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listOrganizationsResponse_httpStatus :: Lens.Lens' ListOrganizationsResponse Prelude.Int+listOrganizationsResponse_httpStatus = Lens.lens (\ListOrganizationsResponse' {httpStatus} -> httpStatus) (\s@ListOrganizationsResponse' {} a -> s {httpStatus = a} :: ListOrganizationsResponse)++instance Prelude.NFData ListOrganizationsResponse where+ rnf ListOrganizationsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationSummaries+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListResourceDelegates.hs view
@@ -0,0 +1,267 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListResourceDelegates+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the delegates associated with a resource. Users and groups can be+-- resource delegates and answer requests on behalf of the resource.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListResourceDelegates+ ( -- * Creating a Request+ ListResourceDelegates (..),+ newListResourceDelegates,++ -- * Request Lenses+ listResourceDelegates_maxResults,+ listResourceDelegates_nextToken,+ listResourceDelegates_organizationId,+ listResourceDelegates_resourceId,++ -- * Destructuring the Response+ ListResourceDelegatesResponse (..),+ newListResourceDelegatesResponse,++ -- * Response Lenses+ listResourceDelegatesResponse_delegates,+ listResourceDelegatesResponse_nextToken,+ listResourceDelegatesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListResourceDelegates' smart constructor.+data ListResourceDelegates = ListResourceDelegates'+ { -- | The number of maximum results in a page.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token used to paginate through the delegates associated with a+ -- resource.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the organization that contains the resource for which+ -- delegates are listed.+ organizationId :: Prelude.Text,+ -- | The identifier for the resource whose delegates are listed.+ resourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListResourceDelegates' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listResourceDelegates_maxResults' - The number of maximum results in a page.+--+-- 'nextToken', 'listResourceDelegates_nextToken' - The token used to paginate through the delegates associated with a+-- resource.+--+-- 'organizationId', 'listResourceDelegates_organizationId' - The identifier for the organization that contains the resource for which+-- delegates are listed.+--+-- 'resourceId', 'listResourceDelegates_resourceId' - The identifier for the resource whose delegates are listed.+newListResourceDelegates ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'resourceId'+ Prelude.Text ->+ ListResourceDelegates+newListResourceDelegates+ pOrganizationId_+ pResourceId_ =+ ListResourceDelegates'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_,+ resourceId = pResourceId_+ }++-- | The number of maximum results in a page.+listResourceDelegates_maxResults :: Lens.Lens' ListResourceDelegates (Prelude.Maybe Prelude.Natural)+listResourceDelegates_maxResults = Lens.lens (\ListResourceDelegates' {maxResults} -> maxResults) (\s@ListResourceDelegates' {} a -> s {maxResults = a} :: ListResourceDelegates)++-- | The token used to paginate through the delegates associated with a+-- resource.+listResourceDelegates_nextToken :: Lens.Lens' ListResourceDelegates (Prelude.Maybe Prelude.Text)+listResourceDelegates_nextToken = Lens.lens (\ListResourceDelegates' {nextToken} -> nextToken) (\s@ListResourceDelegates' {} a -> s {nextToken = a} :: ListResourceDelegates)++-- | The identifier for the organization that contains the resource for which+-- delegates are listed.+listResourceDelegates_organizationId :: Lens.Lens' ListResourceDelegates Prelude.Text+listResourceDelegates_organizationId = Lens.lens (\ListResourceDelegates' {organizationId} -> organizationId) (\s@ListResourceDelegates' {} a -> s {organizationId = a} :: ListResourceDelegates)++-- | The identifier for the resource whose delegates are listed.+listResourceDelegates_resourceId :: Lens.Lens' ListResourceDelegates Prelude.Text+listResourceDelegates_resourceId = Lens.lens (\ListResourceDelegates' {resourceId} -> resourceId) (\s@ListResourceDelegates' {} a -> s {resourceId = a} :: ListResourceDelegates)++instance Core.AWSPager ListResourceDelegates where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listResourceDelegatesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listResourceDelegatesResponse_delegates+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listResourceDelegates_nextToken+ Lens..~ rs+ Lens.^? listResourceDelegatesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListResourceDelegates where+ type+ AWSResponse ListResourceDelegates =+ ListResourceDelegatesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListResourceDelegatesResponse'+ Prelude.<$> (x Data..?> "Delegates" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListResourceDelegates where+ hashWithSalt _salt ListResourceDelegates' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` resourceId++instance Prelude.NFData ListResourceDelegates where+ rnf ListResourceDelegates' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf resourceId++instance Data.ToHeaders ListResourceDelegates where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListResourceDelegates" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListResourceDelegates where+ toJSON ListResourceDelegates' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("ResourceId" Data..= resourceId)+ ]+ )++instance Data.ToPath ListResourceDelegates where+ toPath = Prelude.const "/"++instance Data.ToQuery ListResourceDelegates where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListResourceDelegatesResponse' smart constructor.+data ListResourceDelegatesResponse = ListResourceDelegatesResponse'+ { -- | One page of the resource\'s delegates.+ delegates :: Prelude.Maybe [Delegate],+ -- | The token used to paginate through the delegates associated with a+ -- resource. While results are still available, it has an associated value.+ -- When the last page is reached, the token is empty.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListResourceDelegatesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'delegates', 'listResourceDelegatesResponse_delegates' - One page of the resource\'s delegates.+--+-- 'nextToken', 'listResourceDelegatesResponse_nextToken' - The token used to paginate through the delegates associated with a+-- resource. While results are still available, it has an associated value.+-- When the last page is reached, the token is empty.+--+-- 'httpStatus', 'listResourceDelegatesResponse_httpStatus' - The response's http status code.+newListResourceDelegatesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListResourceDelegatesResponse+newListResourceDelegatesResponse pHttpStatus_ =+ ListResourceDelegatesResponse'+ { delegates =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | One page of the resource\'s delegates.+listResourceDelegatesResponse_delegates :: Lens.Lens' ListResourceDelegatesResponse (Prelude.Maybe [Delegate])+listResourceDelegatesResponse_delegates = Lens.lens (\ListResourceDelegatesResponse' {delegates} -> delegates) (\s@ListResourceDelegatesResponse' {} a -> s {delegates = a} :: ListResourceDelegatesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token used to paginate through the delegates associated with a+-- resource. While results are still available, it has an associated value.+-- When the last page is reached, the token is empty.+listResourceDelegatesResponse_nextToken :: Lens.Lens' ListResourceDelegatesResponse (Prelude.Maybe Prelude.Text)+listResourceDelegatesResponse_nextToken = Lens.lens (\ListResourceDelegatesResponse' {nextToken} -> nextToken) (\s@ListResourceDelegatesResponse' {} a -> s {nextToken = a} :: ListResourceDelegatesResponse)++-- | The response's http status code.+listResourceDelegatesResponse_httpStatus :: Lens.Lens' ListResourceDelegatesResponse Prelude.Int+listResourceDelegatesResponse_httpStatus = Lens.lens (\ListResourceDelegatesResponse' {httpStatus} -> httpStatus) (\s@ListResourceDelegatesResponse' {} a -> s {httpStatus = a} :: ListResourceDelegatesResponse)++instance Prelude.NFData ListResourceDelegatesResponse where+ rnf ListResourceDelegatesResponse' {..} =+ Prelude.rnf delegates+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListResources.hs view
@@ -0,0 +1,244 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListResources+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns summaries of the organization\'s resources.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListResources+ ( -- * Creating a Request+ ListResources (..),+ newListResources,++ -- * Request Lenses+ listResources_maxResults,+ listResources_nextToken,+ listResources_organizationId,++ -- * Destructuring the Response+ ListResourcesResponse (..),+ newListResourcesResponse,++ -- * Response Lenses+ listResourcesResponse_nextToken,+ listResourcesResponse_resources,+ listResourcesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListResources' smart constructor.+data ListResources = ListResources'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the organization under which the resources exist.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListResources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listResources_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listResources_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+--+-- 'organizationId', 'listResources_organizationId' - The identifier for the organization under which the resources exist.+newListResources ::+ -- | 'organizationId'+ Prelude.Text ->+ ListResources+newListResources pOrganizationId_ =+ ListResources'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The maximum number of results to return in a single call.+listResources_maxResults :: Lens.Lens' ListResources (Prelude.Maybe Prelude.Natural)+listResources_maxResults = Lens.lens (\ListResources' {maxResults} -> maxResults) (\s@ListResources' {} a -> s {maxResults = a} :: ListResources)++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listResources_nextToken :: Lens.Lens' ListResources (Prelude.Maybe Prelude.Text)+listResources_nextToken = Lens.lens (\ListResources' {nextToken} -> nextToken) (\s@ListResources' {} a -> s {nextToken = a} :: ListResources)++-- | The identifier for the organization under which the resources exist.+listResources_organizationId :: Lens.Lens' ListResources Prelude.Text+listResources_organizationId = Lens.lens (\ListResources' {organizationId} -> organizationId) (\s@ListResources' {} a -> s {organizationId = a} :: ListResources)++instance Core.AWSPager ListResources where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listResourcesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listResourcesResponse_resources+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listResources_nextToken+ Lens..~ rs+ Lens.^? listResourcesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListResources where+ type+ AWSResponse ListResources =+ ListResourcesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListResourcesResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Resources" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListResources where+ hashWithSalt _salt ListResources' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListResources where+ rnf ListResources' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders ListResources where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListResources" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListResources where+ toJSON ListResources' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListResources where+ toPath = Prelude.const "/"++instance Data.ToQuery ListResources where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListResourcesResponse' smart constructor.+data ListResourcesResponse = ListResourcesResponse'+ { -- | The token used to paginate through all the organization\'s resources.+ -- While results are still available, it has an associated value. When the+ -- last page is reached, the token is empty.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | One page of the organization\'s resource representation.+ resources :: Prelude.Maybe [Resource],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListResourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listResourcesResponse_nextToken' - The token used to paginate through all the organization\'s resources.+-- While results are still available, it has an associated value. When the+-- last page is reached, the token is empty.+--+-- 'resources', 'listResourcesResponse_resources' - One page of the organization\'s resource representation.+--+-- 'httpStatus', 'listResourcesResponse_httpStatus' - The response's http status code.+newListResourcesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListResourcesResponse+newListResourcesResponse pHttpStatus_ =+ ListResourcesResponse'+ { nextToken = Prelude.Nothing,+ resources = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The token used to paginate through all the organization\'s resources.+-- While results are still available, it has an associated value. When the+-- last page is reached, the token is empty.+listResourcesResponse_nextToken :: Lens.Lens' ListResourcesResponse (Prelude.Maybe Prelude.Text)+listResourcesResponse_nextToken = Lens.lens (\ListResourcesResponse' {nextToken} -> nextToken) (\s@ListResourcesResponse' {} a -> s {nextToken = a} :: ListResourcesResponse)++-- | One page of the organization\'s resource representation.+listResourcesResponse_resources :: Lens.Lens' ListResourcesResponse (Prelude.Maybe [Resource])+listResourcesResponse_resources = Lens.lens (\ListResourcesResponse' {resources} -> resources) (\s@ListResourcesResponse' {} a -> s {resources = a} :: ListResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listResourcesResponse_httpStatus :: Lens.Lens' ListResourcesResponse Prelude.Int+listResourcesResponse_httpStatus = Lens.lens (\ListResourcesResponse' {httpStatus} -> httpStatus) (\s@ListResourcesResponse' {} a -> s {httpStatus = a} :: ListResourcesResponse)++instance Prelude.NFData ListResourcesResponse where+ rnf ListResourcesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf resources+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListTagsForResource.hs view
@@ -0,0 +1,169 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListTagsForResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the tags applied to an WorkMail organization resource.+module Amazonka.WorkMail.ListTagsForResource+ ( -- * Creating a Request+ ListTagsForResource (..),+ newListTagsForResource,++ -- * Request Lenses+ listTagsForResource_resourceARN,++ -- * Destructuring the Response+ ListTagsForResourceResponse (..),+ newListTagsForResourceResponse,++ -- * Response Lenses+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+ { -- | The resource ARN.+ resourceARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'listTagsForResource_resourceARN' - The resource ARN.+newListTagsForResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ ListTagsForResource+newListTagsForResource pResourceARN_ =+ ListTagsForResource' {resourceARN = pResourceARN_}++-- | The resource ARN.+listTagsForResource_resourceARN :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceARN = Lens.lens (\ListTagsForResource' {resourceARN} -> resourceARN) (\s@ListTagsForResource' {} a -> s {resourceARN = a} :: ListTagsForResource)++instance Core.AWSRequest ListTagsForResource where+ type+ AWSResponse ListTagsForResource =+ ListTagsForResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTagsForResourceResponse'+ Prelude.<$> (x Data..?> "Tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTagsForResource where+ hashWithSalt _salt ListTagsForResource' {..} =+ _salt `Prelude.hashWithSalt` resourceARN++instance Prelude.NFData ListTagsForResource where+ rnf ListTagsForResource' {..} =+ Prelude.rnf resourceARN++instance Data.ToHeaders ListTagsForResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ListTagsForResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTagsForResource where+ toJSON ListTagsForResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ResourceARN" Data..= resourceARN)]+ )++instance Data.ToPath ListTagsForResource where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+ { -- | A list of tag key-value pairs.+ tags :: Prelude.Maybe [Tag],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'listTagsForResourceResponse_tags' - A list of tag key-value pairs.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+ ListTagsForResourceResponse'+ { tags =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A list of tag key-value pairs.+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe [Tag])+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+ rnf ListTagsForResourceResponse' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ListUsers.hs view
@@ -0,0 +1,237 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ListUsers+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns summaries of the organization\'s users.+--+-- This operation returns paginated results.+module Amazonka.WorkMail.ListUsers+ ( -- * Creating a Request+ ListUsers (..),+ newListUsers,++ -- * Request Lenses+ listUsers_maxResults,+ listUsers_nextToken,+ listUsers_organizationId,++ -- * Destructuring the Response+ ListUsersResponse (..),+ newListUsersResponse,++ -- * Response Lenses+ listUsersResponse_nextToken,+ listUsersResponse_users,+ listUsersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newListUsers' smart constructor.+data ListUsers = ListUsers'+ { -- | The maximum number of results to return in a single call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token to use to retrieve the next page of results. The first call+ -- does not contain any tokens.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The identifier for the organization under which the users exist.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListUsers' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listUsers_maxResults' - The maximum number of results to return in a single call.+--+-- 'nextToken', 'listUsers_nextToken' - The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+--+-- 'organizationId', 'listUsers_organizationId' - The identifier for the organization under which the users exist.+newListUsers ::+ -- | 'organizationId'+ Prelude.Text ->+ ListUsers+newListUsers pOrganizationId_ =+ ListUsers'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The maximum number of results to return in a single call.+listUsers_maxResults :: Lens.Lens' ListUsers (Prelude.Maybe Prelude.Natural)+listUsers_maxResults = Lens.lens (\ListUsers' {maxResults} -> maxResults) (\s@ListUsers' {} a -> s {maxResults = a} :: ListUsers)++-- | The token to use to retrieve the next page of results. The first call+-- does not contain any tokens.+listUsers_nextToken :: Lens.Lens' ListUsers (Prelude.Maybe Prelude.Text)+listUsers_nextToken = Lens.lens (\ListUsers' {nextToken} -> nextToken) (\s@ListUsers' {} a -> s {nextToken = a} :: ListUsers)++-- | The identifier for the organization under which the users exist.+listUsers_organizationId :: Lens.Lens' ListUsers Prelude.Text+listUsers_organizationId = Lens.lens (\ListUsers' {organizationId} -> organizationId) (\s@ListUsers' {} a -> s {organizationId = a} :: ListUsers)++instance Core.AWSPager ListUsers where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listUsersResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listUsersResponse_users+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listUsers_nextToken+ Lens..~ rs+ Lens.^? listUsersResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListUsers where+ type AWSResponse ListUsers = ListUsersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListUsersResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Users" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListUsers where+ hashWithSalt _salt ListUsers' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData ListUsers where+ rnf ListUsers' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders ListUsers where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("WorkMailService.ListUsers" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListUsers where+ toJSON ListUsers' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath ListUsers where+ toPath = Prelude.const "/"++instance Data.ToQuery ListUsers where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListUsersResponse' smart constructor.+data ListUsersResponse = ListUsersResponse'+ { -- | The token to use to retrieve the next page of results. This value is+ -- \`null\` when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The overview of users for an organization.+ users :: Prelude.Maybe [User],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListUsersResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listUsersResponse_nextToken' - The token to use to retrieve the next page of results. This value is+-- \`null\` when there are no more results to return.+--+-- 'users', 'listUsersResponse_users' - The overview of users for an organization.+--+-- 'httpStatus', 'listUsersResponse_httpStatus' - The response's http status code.+newListUsersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListUsersResponse+newListUsersResponse pHttpStatus_ =+ ListUsersResponse'+ { nextToken = Prelude.Nothing,+ users = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The token to use to retrieve the next page of results. This value is+-- \`null\` when there are no more results to return.+listUsersResponse_nextToken :: Lens.Lens' ListUsersResponse (Prelude.Maybe Prelude.Text)+listUsersResponse_nextToken = Lens.lens (\ListUsersResponse' {nextToken} -> nextToken) (\s@ListUsersResponse' {} a -> s {nextToken = a} :: ListUsersResponse)++-- | The overview of users for an organization.+listUsersResponse_users :: Lens.Lens' ListUsersResponse (Prelude.Maybe [User])+listUsersResponse_users = Lens.lens (\ListUsersResponse' {users} -> users) (\s@ListUsersResponse' {} a -> s {users = a} :: ListUsersResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listUsersResponse_httpStatus :: Lens.Lens' ListUsersResponse Prelude.Int+listUsersResponse_httpStatus = Lens.lens (\ListUsersResponse' {httpStatus} -> httpStatus) (\s@ListUsersResponse' {} a -> s {httpStatus = a} :: ListUsersResponse)++instance Prelude.NFData ListUsersResponse where+ rnf ListUsersResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf users+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/PutAccessControlRule.hs view
@@ -0,0 +1,333 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.PutAccessControlRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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, user IDs and impersonation IDs.+-- Adding a new rule with the same name as an existing rule replaces the+-- older rule.+module Amazonka.WorkMail.PutAccessControlRule+ ( -- * Creating a Request+ PutAccessControlRule (..),+ newPutAccessControlRule,++ -- * Request Lenses+ putAccessControlRule_actions,+ putAccessControlRule_impersonationRoleIds,+ putAccessControlRule_ipRanges,+ putAccessControlRule_notActions,+ putAccessControlRule_notImpersonationRoleIds,+ putAccessControlRule_notIpRanges,+ putAccessControlRule_notUserIds,+ putAccessControlRule_userIds,+ putAccessControlRule_name,+ putAccessControlRule_effect,+ putAccessControlRule_description,+ putAccessControlRule_organizationId,++ -- * Destructuring the Response+ PutAccessControlRuleResponse (..),+ newPutAccessControlRuleResponse,++ -- * Response Lenses+ putAccessControlRuleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newPutAccessControlRule' smart constructor.+data PutAccessControlRule = PutAccessControlRule'+ { -- | Access protocol actions to include in the rule. Valid values include+ -- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+ -- and @WebMail@.+ actions :: Prelude.Maybe [Prelude.Text],+ -- | Impersonation role IDs to include in the rule.+ impersonationRoleIds :: Prelude.Maybe [Prelude.Text],+ -- | IPv4 CIDR ranges to include in the rule.+ ipRanges :: Prelude.Maybe [Prelude.Text],+ -- | Access protocol actions to exclude from the rule. Valid values include+ -- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+ -- and @WebMail@.+ notActions :: Prelude.Maybe [Prelude.Text],+ -- | Impersonation role IDs to exclude from the rule.+ notImpersonationRoleIds :: Prelude.Maybe [Prelude.Text],+ -- | IPv4 CIDR ranges to exclude from the rule.+ notIpRanges :: Prelude.Maybe [Prelude.Text],+ -- | User IDs to exclude from the rule.+ notUserIds :: Prelude.Maybe [Prelude.Text],+ -- | User IDs to include in the rule.+ userIds :: Prelude.Maybe [Prelude.Text],+ -- | The rule name.+ name :: Prelude.Text,+ -- | The rule effect.+ effect :: AccessControlRuleEffect,+ -- | The rule description.+ description :: Prelude.Text,+ -- | The identifier of the organization.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAccessControlRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'actions', 'putAccessControlRule_actions' - Access protocol actions to include in the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+--+-- 'impersonationRoleIds', 'putAccessControlRule_impersonationRoleIds' - Impersonation role IDs to include in the rule.+--+-- 'ipRanges', 'putAccessControlRule_ipRanges' - IPv4 CIDR ranges to include in the rule.+--+-- 'notActions', 'putAccessControlRule_notActions' - Access protocol actions to exclude from the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+--+-- 'notImpersonationRoleIds', 'putAccessControlRule_notImpersonationRoleIds' - Impersonation role IDs to exclude from the rule.+--+-- 'notIpRanges', 'putAccessControlRule_notIpRanges' - IPv4 CIDR ranges to exclude from the rule.+--+-- 'notUserIds', 'putAccessControlRule_notUserIds' - User IDs to exclude from the rule.+--+-- 'userIds', 'putAccessControlRule_userIds' - User IDs to include in the rule.+--+-- 'name', 'putAccessControlRule_name' - The rule name.+--+-- 'effect', 'putAccessControlRule_effect' - The rule effect.+--+-- 'description', 'putAccessControlRule_description' - The rule description.+--+-- 'organizationId', 'putAccessControlRule_organizationId' - The identifier of the organization.+newPutAccessControlRule ::+ -- | 'name'+ Prelude.Text ->+ -- | 'effect'+ AccessControlRuleEffect ->+ -- | 'description'+ Prelude.Text ->+ -- | 'organizationId'+ Prelude.Text ->+ PutAccessControlRule+newPutAccessControlRule+ pName_+ pEffect_+ pDescription_+ pOrganizationId_ =+ PutAccessControlRule'+ { actions = Prelude.Nothing,+ impersonationRoleIds = Prelude.Nothing,+ ipRanges = Prelude.Nothing,+ notActions = Prelude.Nothing,+ notImpersonationRoleIds = Prelude.Nothing,+ notIpRanges = Prelude.Nothing,+ notUserIds = Prelude.Nothing,+ userIds = Prelude.Nothing,+ name = pName_,+ effect = pEffect_,+ description = pDescription_,+ organizationId = pOrganizationId_+ }++-- | Access protocol actions to include in the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+putAccessControlRule_actions :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_actions = Lens.lens (\PutAccessControlRule' {actions} -> actions) (\s@PutAccessControlRule' {} a -> s {actions = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | Impersonation role IDs to include in the rule.+putAccessControlRule_impersonationRoleIds :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_impersonationRoleIds = Lens.lens (\PutAccessControlRule' {impersonationRoleIds} -> impersonationRoleIds) (\s@PutAccessControlRule' {} a -> s {impersonationRoleIds = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | IPv4 CIDR ranges to include in the rule.+putAccessControlRule_ipRanges :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_ipRanges = Lens.lens (\PutAccessControlRule' {ipRanges} -> ipRanges) (\s@PutAccessControlRule' {} a -> s {ipRanges = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | Access protocol actions to exclude from the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+putAccessControlRule_notActions :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_notActions = Lens.lens (\PutAccessControlRule' {notActions} -> notActions) (\s@PutAccessControlRule' {} a -> s {notActions = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | Impersonation role IDs to exclude from the rule.+putAccessControlRule_notImpersonationRoleIds :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_notImpersonationRoleIds = Lens.lens (\PutAccessControlRule' {notImpersonationRoleIds} -> notImpersonationRoleIds) (\s@PutAccessControlRule' {} a -> s {notImpersonationRoleIds = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | IPv4 CIDR ranges to exclude from the rule.+putAccessControlRule_notIpRanges :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_notIpRanges = Lens.lens (\PutAccessControlRule' {notIpRanges} -> notIpRanges) (\s@PutAccessControlRule' {} a -> s {notIpRanges = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | User IDs to exclude from the rule.+putAccessControlRule_notUserIds :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_notUserIds = Lens.lens (\PutAccessControlRule' {notUserIds} -> notUserIds) (\s@PutAccessControlRule' {} a -> s {notUserIds = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | User IDs to include in the rule.+putAccessControlRule_userIds :: Lens.Lens' PutAccessControlRule (Prelude.Maybe [Prelude.Text])+putAccessControlRule_userIds = Lens.lens (\PutAccessControlRule' {userIds} -> userIds) (\s@PutAccessControlRule' {} a -> s {userIds = a} :: PutAccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | The rule name.+putAccessControlRule_name :: Lens.Lens' PutAccessControlRule Prelude.Text+putAccessControlRule_name = Lens.lens (\PutAccessControlRule' {name} -> name) (\s@PutAccessControlRule' {} a -> s {name = a} :: PutAccessControlRule)++-- | The rule effect.+putAccessControlRule_effect :: Lens.Lens' PutAccessControlRule AccessControlRuleEffect+putAccessControlRule_effect = Lens.lens (\PutAccessControlRule' {effect} -> effect) (\s@PutAccessControlRule' {} a -> s {effect = a} :: PutAccessControlRule)++-- | The rule description.+putAccessControlRule_description :: Lens.Lens' PutAccessControlRule Prelude.Text+putAccessControlRule_description = Lens.lens (\PutAccessControlRule' {description} -> description) (\s@PutAccessControlRule' {} a -> s {description = a} :: PutAccessControlRule)++-- | The identifier of the organization.+putAccessControlRule_organizationId :: Lens.Lens' PutAccessControlRule Prelude.Text+putAccessControlRule_organizationId = Lens.lens (\PutAccessControlRule' {organizationId} -> organizationId) (\s@PutAccessControlRule' {} a -> s {organizationId = a} :: PutAccessControlRule)++instance Core.AWSRequest PutAccessControlRule where+ type+ AWSResponse PutAccessControlRule =+ PutAccessControlRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ PutAccessControlRuleResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutAccessControlRule where+ hashWithSalt _salt PutAccessControlRule' {..} =+ _salt+ `Prelude.hashWithSalt` actions+ `Prelude.hashWithSalt` impersonationRoleIds+ `Prelude.hashWithSalt` ipRanges+ `Prelude.hashWithSalt` notActions+ `Prelude.hashWithSalt` notImpersonationRoleIds+ `Prelude.hashWithSalt` notIpRanges+ `Prelude.hashWithSalt` notUserIds+ `Prelude.hashWithSalt` userIds+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` effect+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData PutAccessControlRule where+ rnf PutAccessControlRule' {..} =+ Prelude.rnf actions+ `Prelude.seq` Prelude.rnf impersonationRoleIds+ `Prelude.seq` Prelude.rnf ipRanges+ `Prelude.seq` Prelude.rnf notActions+ `Prelude.seq` Prelude.rnf notImpersonationRoleIds+ `Prelude.seq` Prelude.rnf notIpRanges+ `Prelude.seq` Prelude.rnf notUserIds+ `Prelude.seq` Prelude.rnf userIds+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf effect+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders PutAccessControlRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.PutAccessControlRule" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutAccessControlRule where+ toJSON PutAccessControlRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Actions" Data..=) Prelude.<$> actions,+ ("ImpersonationRoleIds" Data..=)+ Prelude.<$> impersonationRoleIds,+ ("IpRanges" Data..=) Prelude.<$> ipRanges,+ ("NotActions" Data..=) Prelude.<$> notActions,+ ("NotImpersonationRoleIds" Data..=)+ Prelude.<$> notImpersonationRoleIds,+ ("NotIpRanges" Data..=) Prelude.<$> notIpRanges,+ ("NotUserIds" Data..=) Prelude.<$> notUserIds,+ ("UserIds" Data..=) Prelude.<$> userIds,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Effect" Data..= effect),+ Prelude.Just ("Description" Data..= description),+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath PutAccessControlRule where+ toPath = Prelude.const "/"++instance Data.ToQuery PutAccessControlRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutAccessControlRuleResponse' smart constructor.+data PutAccessControlRuleResponse = PutAccessControlRuleResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAccessControlRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putAccessControlRuleResponse_httpStatus' - The response's http status code.+newPutAccessControlRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutAccessControlRuleResponse+newPutAccessControlRuleResponse pHttpStatus_ =+ PutAccessControlRuleResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+putAccessControlRuleResponse_httpStatus :: Lens.Lens' PutAccessControlRuleResponse Prelude.Int+putAccessControlRuleResponse_httpStatus = Lens.lens (\PutAccessControlRuleResponse' {httpStatus} -> httpStatus) (\s@PutAccessControlRuleResponse' {} a -> s {httpStatus = a} :: PutAccessControlRuleResponse)++instance Prelude.NFData PutAccessControlRuleResponse where+ rnf PutAccessControlRuleResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/PutEmailMonitoringConfiguration.hs view
@@ -0,0 +1,224 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.PutEmailMonitoringConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates the email monitoring configuration for a specified+-- organization.+module Amazonka.WorkMail.PutEmailMonitoringConfiguration+ ( -- * Creating a Request+ PutEmailMonitoringConfiguration (..),+ newPutEmailMonitoringConfiguration,++ -- * Request Lenses+ putEmailMonitoringConfiguration_organizationId,+ putEmailMonitoringConfiguration_roleArn,+ putEmailMonitoringConfiguration_logGroupArn,++ -- * Destructuring the Response+ PutEmailMonitoringConfigurationResponse (..),+ newPutEmailMonitoringConfigurationResponse,++ -- * Response Lenses+ putEmailMonitoringConfigurationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newPutEmailMonitoringConfiguration' smart constructor.+data PutEmailMonitoringConfiguration = PutEmailMonitoringConfiguration'+ { -- | The ID of the organization for which the email monitoring configuration+ -- is set.+ organizationId :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the IAM Role associated with the email+ -- monitoring configuration.+ roleArn :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the CloudWatch Log group associated+ -- with the email monitoring configuration.+ logGroupArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutEmailMonitoringConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'putEmailMonitoringConfiguration_organizationId' - The ID of the organization for which the email monitoring configuration+-- is set.+--+-- 'roleArn', 'putEmailMonitoringConfiguration_roleArn' - The Amazon Resource Name (ARN) of the IAM Role associated with the email+-- monitoring configuration.+--+-- 'logGroupArn', 'putEmailMonitoringConfiguration_logGroupArn' - The Amazon Resource Name (ARN) of the CloudWatch Log group associated+-- with the email monitoring configuration.+newPutEmailMonitoringConfiguration ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'roleArn'+ Prelude.Text ->+ -- | 'logGroupArn'+ Prelude.Text ->+ PutEmailMonitoringConfiguration+newPutEmailMonitoringConfiguration+ pOrganizationId_+ pRoleArn_+ pLogGroupArn_ =+ PutEmailMonitoringConfiguration'+ { organizationId =+ pOrganizationId_,+ roleArn = pRoleArn_,+ logGroupArn = pLogGroupArn_+ }++-- | The ID of the organization for which the email monitoring configuration+-- is set.+putEmailMonitoringConfiguration_organizationId :: Lens.Lens' PutEmailMonitoringConfiguration Prelude.Text+putEmailMonitoringConfiguration_organizationId = Lens.lens (\PutEmailMonitoringConfiguration' {organizationId} -> organizationId) (\s@PutEmailMonitoringConfiguration' {} a -> s {organizationId = a} :: PutEmailMonitoringConfiguration)++-- | The Amazon Resource Name (ARN) of the IAM Role associated with the email+-- monitoring configuration.+putEmailMonitoringConfiguration_roleArn :: Lens.Lens' PutEmailMonitoringConfiguration Prelude.Text+putEmailMonitoringConfiguration_roleArn = Lens.lens (\PutEmailMonitoringConfiguration' {roleArn} -> roleArn) (\s@PutEmailMonitoringConfiguration' {} a -> s {roleArn = a} :: PutEmailMonitoringConfiguration)++-- | The Amazon Resource Name (ARN) of the CloudWatch Log group associated+-- with the email monitoring configuration.+putEmailMonitoringConfiguration_logGroupArn :: Lens.Lens' PutEmailMonitoringConfiguration Prelude.Text+putEmailMonitoringConfiguration_logGroupArn = Lens.lens (\PutEmailMonitoringConfiguration' {logGroupArn} -> logGroupArn) (\s@PutEmailMonitoringConfiguration' {} a -> s {logGroupArn = a} :: PutEmailMonitoringConfiguration)++instance+ Core.AWSRequest+ PutEmailMonitoringConfiguration+ where+ type+ AWSResponse PutEmailMonitoringConfiguration =+ PutEmailMonitoringConfigurationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ PutEmailMonitoringConfigurationResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ PutEmailMonitoringConfiguration+ where+ hashWithSalt+ _salt+ PutEmailMonitoringConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` logGroupArn++instance+ Prelude.NFData+ PutEmailMonitoringConfiguration+ where+ rnf PutEmailMonitoringConfiguration' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf logGroupArn++instance+ Data.ToHeaders+ PutEmailMonitoringConfiguration+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.PutEmailMonitoringConfiguration" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutEmailMonitoringConfiguration where+ toJSON PutEmailMonitoringConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("RoleArn" Data..= roleArn),+ Prelude.Just ("LogGroupArn" Data..= logGroupArn)+ ]+ )++instance Data.ToPath PutEmailMonitoringConfiguration where+ toPath = Prelude.const "/"++instance Data.ToQuery PutEmailMonitoringConfiguration where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutEmailMonitoringConfigurationResponse' smart constructor.+data PutEmailMonitoringConfigurationResponse = PutEmailMonitoringConfigurationResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutEmailMonitoringConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putEmailMonitoringConfigurationResponse_httpStatus' - The response's http status code.+newPutEmailMonitoringConfigurationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutEmailMonitoringConfigurationResponse+newPutEmailMonitoringConfigurationResponse+ pHttpStatus_ =+ PutEmailMonitoringConfigurationResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+putEmailMonitoringConfigurationResponse_httpStatus :: Lens.Lens' PutEmailMonitoringConfigurationResponse Prelude.Int+putEmailMonitoringConfigurationResponse_httpStatus = Lens.lens (\PutEmailMonitoringConfigurationResponse' {httpStatus} -> httpStatus) (\s@PutEmailMonitoringConfigurationResponse' {} a -> s {httpStatus = a} :: PutEmailMonitoringConfigurationResponse)++instance+ Prelude.NFData+ PutEmailMonitoringConfigurationResponse+ where+ rnf PutEmailMonitoringConfigurationResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/PutInboundDmarcSettings.hs view
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.PutInboundDmarcSettings+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables or disables a DMARC policy for a given organization.+module Amazonka.WorkMail.PutInboundDmarcSettings+ ( -- * Creating a Request+ PutInboundDmarcSettings (..),+ newPutInboundDmarcSettings,++ -- * Request Lenses+ putInboundDmarcSettings_organizationId,+ putInboundDmarcSettings_enforced,++ -- * Destructuring the Response+ PutInboundDmarcSettingsResponse (..),+ newPutInboundDmarcSettingsResponse,++ -- * Response Lenses+ putInboundDmarcSettingsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newPutInboundDmarcSettings' smart constructor.+data PutInboundDmarcSettings = PutInboundDmarcSettings'+ { -- | The ID of the organization that you are applying the DMARC policy to.+ organizationId :: Prelude.Text,+ -- | Enforces or suspends a policy after it\'s applied.+ enforced :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutInboundDmarcSettings' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'putInboundDmarcSettings_organizationId' - The ID of the organization that you are applying the DMARC policy to.+--+-- 'enforced', 'putInboundDmarcSettings_enforced' - Enforces or suspends a policy after it\'s applied.+newPutInboundDmarcSettings ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'enforced'+ Prelude.Bool ->+ PutInboundDmarcSettings+newPutInboundDmarcSettings+ pOrganizationId_+ pEnforced_ =+ PutInboundDmarcSettings'+ { organizationId =+ pOrganizationId_,+ enforced = pEnforced_+ }++-- | The ID of the organization that you are applying the DMARC policy to.+putInboundDmarcSettings_organizationId :: Lens.Lens' PutInboundDmarcSettings Prelude.Text+putInboundDmarcSettings_organizationId = Lens.lens (\PutInboundDmarcSettings' {organizationId} -> organizationId) (\s@PutInboundDmarcSettings' {} a -> s {organizationId = a} :: PutInboundDmarcSettings)++-- | Enforces or suspends a policy after it\'s applied.+putInboundDmarcSettings_enforced :: Lens.Lens' PutInboundDmarcSettings Prelude.Bool+putInboundDmarcSettings_enforced = Lens.lens (\PutInboundDmarcSettings' {enforced} -> enforced) (\s@PutInboundDmarcSettings' {} a -> s {enforced = a} :: PutInboundDmarcSettings)++instance Core.AWSRequest PutInboundDmarcSettings where+ type+ AWSResponse PutInboundDmarcSettings =+ PutInboundDmarcSettingsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ PutInboundDmarcSettingsResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutInboundDmarcSettings where+ hashWithSalt _salt PutInboundDmarcSettings' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` enforced++instance Prelude.NFData PutInboundDmarcSettings where+ rnf PutInboundDmarcSettings' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf enforced++instance Data.ToHeaders PutInboundDmarcSettings where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.PutInboundDmarcSettings" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutInboundDmarcSettings where+ toJSON PutInboundDmarcSettings' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Enforced" Data..= enforced)+ ]+ )++instance Data.ToPath PutInboundDmarcSettings where+ toPath = Prelude.const "/"++instance Data.ToQuery PutInboundDmarcSettings where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutInboundDmarcSettingsResponse' smart constructor.+data PutInboundDmarcSettingsResponse = PutInboundDmarcSettingsResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutInboundDmarcSettingsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putInboundDmarcSettingsResponse_httpStatus' - The response's http status code.+newPutInboundDmarcSettingsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutInboundDmarcSettingsResponse+newPutInboundDmarcSettingsResponse pHttpStatus_ =+ PutInboundDmarcSettingsResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+putInboundDmarcSettingsResponse_httpStatus :: Lens.Lens' PutInboundDmarcSettingsResponse Prelude.Int+putInboundDmarcSettingsResponse_httpStatus = Lens.lens (\PutInboundDmarcSettingsResponse' {httpStatus} -> httpStatus) (\s@PutInboundDmarcSettingsResponse' {} a -> s {httpStatus = a} :: PutInboundDmarcSettingsResponse)++instance+ Prelude.NFData+ PutInboundDmarcSettingsResponse+ where+ rnf PutInboundDmarcSettingsResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/PutMailboxPermissions.hs view
@@ -0,0 +1,238 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.PutMailboxPermissions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets permissions for a user, group, or resource. This replaces any+-- pre-existing permissions.+module Amazonka.WorkMail.PutMailboxPermissions+ ( -- * Creating a Request+ PutMailboxPermissions (..),+ newPutMailboxPermissions,++ -- * Request Lenses+ putMailboxPermissions_organizationId,+ putMailboxPermissions_entityId,+ putMailboxPermissions_granteeId,+ putMailboxPermissions_permissionValues,++ -- * Destructuring the Response+ PutMailboxPermissionsResponse (..),+ newPutMailboxPermissionsResponse,++ -- * Response Lenses+ putMailboxPermissionsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newPutMailboxPermissions' smart constructor.+data PutMailboxPermissions = PutMailboxPermissions'+ { -- | The identifier of the organization under which the user, group, or+ -- resource exists.+ organizationId :: Prelude.Text,+ -- | The identifier of the user, group, or resource for which to update+ -- mailbox permissions.+ entityId :: Prelude.Text,+ -- | The identifier of the user, group, or resource to which to grant the+ -- permissions.+ granteeId :: Prelude.Text,+ -- | 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.+ permissionValues :: [PermissionType]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutMailboxPermissions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'putMailboxPermissions_organizationId' - The identifier of the organization under which the user, group, or+-- resource exists.+--+-- 'entityId', 'putMailboxPermissions_entityId' - The identifier of the user, group, or resource for which to update+-- mailbox permissions.+--+-- 'granteeId', 'putMailboxPermissions_granteeId' - The identifier of the user, group, or resource to which to grant the+-- permissions.+--+-- 'permissionValues', 'putMailboxPermissions_permissionValues' - 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.+newPutMailboxPermissions ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ -- | 'granteeId'+ Prelude.Text ->+ PutMailboxPermissions+newPutMailboxPermissions+ pOrganizationId_+ pEntityId_+ pGranteeId_ =+ PutMailboxPermissions'+ { organizationId =+ pOrganizationId_,+ entityId = pEntityId_,+ granteeId = pGranteeId_,+ permissionValues = Prelude.mempty+ }++-- | The identifier of the organization under which the user, group, or+-- resource exists.+putMailboxPermissions_organizationId :: Lens.Lens' PutMailboxPermissions Prelude.Text+putMailboxPermissions_organizationId = Lens.lens (\PutMailboxPermissions' {organizationId} -> organizationId) (\s@PutMailboxPermissions' {} a -> s {organizationId = a} :: PutMailboxPermissions)++-- | The identifier of the user, group, or resource for which to update+-- mailbox permissions.+putMailboxPermissions_entityId :: Lens.Lens' PutMailboxPermissions Prelude.Text+putMailboxPermissions_entityId = Lens.lens (\PutMailboxPermissions' {entityId} -> entityId) (\s@PutMailboxPermissions' {} a -> s {entityId = a} :: PutMailboxPermissions)++-- | The identifier of the user, group, or resource to which to grant the+-- permissions.+putMailboxPermissions_granteeId :: Lens.Lens' PutMailboxPermissions Prelude.Text+putMailboxPermissions_granteeId = Lens.lens (\PutMailboxPermissions' {granteeId} -> granteeId) (\s@PutMailboxPermissions' {} a -> s {granteeId = a} :: PutMailboxPermissions)++-- | 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.+putMailboxPermissions_permissionValues :: Lens.Lens' PutMailboxPermissions [PermissionType]+putMailboxPermissions_permissionValues = Lens.lens (\PutMailboxPermissions' {permissionValues} -> permissionValues) (\s@PutMailboxPermissions' {} a -> s {permissionValues = a} :: PutMailboxPermissions) Prelude.. Lens.coerced++instance Core.AWSRequest PutMailboxPermissions where+ type+ AWSResponse PutMailboxPermissions =+ PutMailboxPermissionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ PutMailboxPermissionsResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutMailboxPermissions where+ hashWithSalt _salt PutMailboxPermissions' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` granteeId+ `Prelude.hashWithSalt` permissionValues++instance Prelude.NFData PutMailboxPermissions where+ rnf PutMailboxPermissions' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf granteeId+ `Prelude.seq` Prelude.rnf permissionValues++instance Data.ToHeaders PutMailboxPermissions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.PutMailboxPermissions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutMailboxPermissions where+ toJSON PutMailboxPermissions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId),+ Prelude.Just ("GranteeId" Data..= granteeId),+ Prelude.Just+ ("PermissionValues" Data..= permissionValues)+ ]+ )++instance Data.ToPath PutMailboxPermissions where+ toPath = Prelude.const "/"++instance Data.ToQuery PutMailboxPermissions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutMailboxPermissionsResponse' smart constructor.+data PutMailboxPermissionsResponse = PutMailboxPermissionsResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutMailboxPermissionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putMailboxPermissionsResponse_httpStatus' - The response's http status code.+newPutMailboxPermissionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutMailboxPermissionsResponse+newPutMailboxPermissionsResponse pHttpStatus_ =+ PutMailboxPermissionsResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+putMailboxPermissionsResponse_httpStatus :: Lens.Lens' PutMailboxPermissionsResponse Prelude.Int+putMailboxPermissionsResponse_httpStatus = Lens.lens (\PutMailboxPermissionsResponse' {httpStatus} -> httpStatus) (\s@PutMailboxPermissionsResponse' {} a -> s {httpStatus = a} :: PutMailboxPermissionsResponse)++instance Prelude.NFData PutMailboxPermissionsResponse where+ rnf PutMailboxPermissionsResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/PutMobileDeviceAccessOverride.hs view
@@ -0,0 +1,262 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.PutMobileDeviceAccessOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates a mobile device access override for the given+-- WorkMail organization, user, and device.+module Amazonka.WorkMail.PutMobileDeviceAccessOverride+ ( -- * Creating a Request+ PutMobileDeviceAccessOverride (..),+ newPutMobileDeviceAccessOverride,++ -- * Request Lenses+ putMobileDeviceAccessOverride_description,+ putMobileDeviceAccessOverride_organizationId,+ putMobileDeviceAccessOverride_userId,+ putMobileDeviceAccessOverride_deviceId,+ putMobileDeviceAccessOverride_effect,++ -- * Destructuring the Response+ PutMobileDeviceAccessOverrideResponse (..),+ newPutMobileDeviceAccessOverrideResponse,++ -- * Response Lenses+ putMobileDeviceAccessOverrideResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newPutMobileDeviceAccessOverride' smart constructor.+data PutMobileDeviceAccessOverride = PutMobileDeviceAccessOverride'+ { -- | A description of the override.+ description :: Prelude.Maybe Prelude.Text,+ -- | Identifies the WorkMail organization for which you create the override.+ organizationId :: Prelude.Text,+ -- | The WorkMail user for which you create the override. Accepts the+ -- following types of user identities:+ --+ -- - User ID: @12345678-1234-1234-1234-123456789012@ or+ -- @S-1-1-12-1234567890-123456789-123456789-1234@+ --+ -- - Email address: @user\@domain.tld@+ --+ -- - User name: @user@+ userId :: Prelude.Text,+ -- | The mobile device for which you create the override. @DeviceId@ is case+ -- insensitive.+ deviceId :: Prelude.Text,+ -- | The effect of the override, @ALLOW@ or @DENY@.+ effect :: MobileDeviceAccessRuleEffect+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutMobileDeviceAccessOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'putMobileDeviceAccessOverride_description' - A description of the override.+--+-- 'organizationId', 'putMobileDeviceAccessOverride_organizationId' - Identifies the WorkMail organization for which you create the override.+--+-- 'userId', 'putMobileDeviceAccessOverride_userId' - The WorkMail user for which you create the override. Accepts the+-- following types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+--+-- 'deviceId', 'putMobileDeviceAccessOverride_deviceId' - The mobile device for which you create the override. @DeviceId@ is case+-- insensitive.+--+-- 'effect', 'putMobileDeviceAccessOverride_effect' - The effect of the override, @ALLOW@ or @DENY@.+newPutMobileDeviceAccessOverride ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ -- | 'deviceId'+ Prelude.Text ->+ -- | 'effect'+ MobileDeviceAccessRuleEffect ->+ PutMobileDeviceAccessOverride+newPutMobileDeviceAccessOverride+ pOrganizationId_+ pUserId_+ pDeviceId_+ pEffect_ =+ PutMobileDeviceAccessOverride'+ { description =+ Prelude.Nothing,+ organizationId = pOrganizationId_,+ userId = pUserId_,+ deviceId = pDeviceId_,+ effect = pEffect_+ }++-- | A description of the override.+putMobileDeviceAccessOverride_description :: Lens.Lens' PutMobileDeviceAccessOverride (Prelude.Maybe Prelude.Text)+putMobileDeviceAccessOverride_description = Lens.lens (\PutMobileDeviceAccessOverride' {description} -> description) (\s@PutMobileDeviceAccessOverride' {} a -> s {description = a} :: PutMobileDeviceAccessOverride)++-- | Identifies the WorkMail organization for which you create the override.+putMobileDeviceAccessOverride_organizationId :: Lens.Lens' PutMobileDeviceAccessOverride Prelude.Text+putMobileDeviceAccessOverride_organizationId = Lens.lens (\PutMobileDeviceAccessOverride' {organizationId} -> organizationId) (\s@PutMobileDeviceAccessOverride' {} a -> s {organizationId = a} :: PutMobileDeviceAccessOverride)++-- | The WorkMail user for which you create the override. Accepts the+-- following types of user identities:+--+-- - User ID: @12345678-1234-1234-1234-123456789012@ or+-- @S-1-1-12-1234567890-123456789-123456789-1234@+--+-- - Email address: @user\@domain.tld@+--+-- - User name: @user@+putMobileDeviceAccessOverride_userId :: Lens.Lens' PutMobileDeviceAccessOverride Prelude.Text+putMobileDeviceAccessOverride_userId = Lens.lens (\PutMobileDeviceAccessOverride' {userId} -> userId) (\s@PutMobileDeviceAccessOverride' {} a -> s {userId = a} :: PutMobileDeviceAccessOverride)++-- | The mobile device for which you create the override. @DeviceId@ is case+-- insensitive.+putMobileDeviceAccessOverride_deviceId :: Lens.Lens' PutMobileDeviceAccessOverride Prelude.Text+putMobileDeviceAccessOverride_deviceId = Lens.lens (\PutMobileDeviceAccessOverride' {deviceId} -> deviceId) (\s@PutMobileDeviceAccessOverride' {} a -> s {deviceId = a} :: PutMobileDeviceAccessOverride)++-- | The effect of the override, @ALLOW@ or @DENY@.+putMobileDeviceAccessOverride_effect :: Lens.Lens' PutMobileDeviceAccessOverride MobileDeviceAccessRuleEffect+putMobileDeviceAccessOverride_effect = Lens.lens (\PutMobileDeviceAccessOverride' {effect} -> effect) (\s@PutMobileDeviceAccessOverride' {} a -> s {effect = a} :: PutMobileDeviceAccessOverride)++instance+ Core.AWSRequest+ PutMobileDeviceAccessOverride+ where+ type+ AWSResponse PutMobileDeviceAccessOverride =+ PutMobileDeviceAccessOverrideResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ PutMobileDeviceAccessOverrideResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ PutMobileDeviceAccessOverride+ where+ hashWithSalt _salt PutMobileDeviceAccessOverride' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId+ `Prelude.hashWithSalt` deviceId+ `Prelude.hashWithSalt` effect++instance Prelude.NFData PutMobileDeviceAccessOverride where+ rnf PutMobileDeviceAccessOverride' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf deviceId+ `Prelude.seq` Prelude.rnf effect++instance Data.ToHeaders PutMobileDeviceAccessOverride where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.PutMobileDeviceAccessOverride" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutMobileDeviceAccessOverride where+ toJSON PutMobileDeviceAccessOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId),+ Prelude.Just ("DeviceId" Data..= deviceId),+ Prelude.Just ("Effect" Data..= effect)+ ]+ )++instance Data.ToPath PutMobileDeviceAccessOverride where+ toPath = Prelude.const "/"++instance Data.ToQuery PutMobileDeviceAccessOverride where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutMobileDeviceAccessOverrideResponse' smart constructor.+data PutMobileDeviceAccessOverrideResponse = PutMobileDeviceAccessOverrideResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutMobileDeviceAccessOverrideResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putMobileDeviceAccessOverrideResponse_httpStatus' - The response's http status code.+newPutMobileDeviceAccessOverrideResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutMobileDeviceAccessOverrideResponse+newPutMobileDeviceAccessOverrideResponse pHttpStatus_ =+ PutMobileDeviceAccessOverrideResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+putMobileDeviceAccessOverrideResponse_httpStatus :: Lens.Lens' PutMobileDeviceAccessOverrideResponse Prelude.Int+putMobileDeviceAccessOverrideResponse_httpStatus = Lens.lens (\PutMobileDeviceAccessOverrideResponse' {httpStatus} -> httpStatus) (\s@PutMobileDeviceAccessOverrideResponse' {} a -> s {httpStatus = a} :: PutMobileDeviceAccessOverrideResponse)++instance+ Prelude.NFData+ PutMobileDeviceAccessOverrideResponse+ where+ rnf PutMobileDeviceAccessOverrideResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/PutRetentionPolicy.hs view
@@ -0,0 +1,219 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.PutRetentionPolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Puts a retention policy to the specified organization.+module Amazonka.WorkMail.PutRetentionPolicy+ ( -- * Creating a Request+ PutRetentionPolicy (..),+ newPutRetentionPolicy,++ -- * Request Lenses+ putRetentionPolicy_description,+ putRetentionPolicy_id,+ putRetentionPolicy_organizationId,+ putRetentionPolicy_name,+ putRetentionPolicy_folderConfigurations,++ -- * Destructuring the Response+ PutRetentionPolicyResponse (..),+ newPutRetentionPolicyResponse,++ -- * Response Lenses+ putRetentionPolicyResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newPutRetentionPolicy' smart constructor.+data PutRetentionPolicy = PutRetentionPolicy'+ { -- | The retention policy description.+ description :: Prelude.Maybe (Data.Sensitive Prelude.Text),+ -- | The retention policy ID.+ id :: Prelude.Maybe Prelude.Text,+ -- | The organization ID.+ organizationId :: Prelude.Text,+ -- | The retention policy name.+ name :: Prelude.Text,+ -- | The retention policy folder configurations.+ folderConfigurations :: [FolderConfiguration]+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRetentionPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'putRetentionPolicy_description' - The retention policy description.+--+-- 'id', 'putRetentionPolicy_id' - The retention policy ID.+--+-- 'organizationId', 'putRetentionPolicy_organizationId' - The organization ID.+--+-- 'name', 'putRetentionPolicy_name' - The retention policy name.+--+-- 'folderConfigurations', 'putRetentionPolicy_folderConfigurations' - The retention policy folder configurations.+newPutRetentionPolicy ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ PutRetentionPolicy+newPutRetentionPolicy pOrganizationId_ pName_ =+ PutRetentionPolicy'+ { description = Prelude.Nothing,+ id = Prelude.Nothing,+ organizationId = pOrganizationId_,+ name = pName_,+ folderConfigurations = Prelude.mempty+ }++-- | The retention policy description.+putRetentionPolicy_description :: Lens.Lens' PutRetentionPolicy (Prelude.Maybe Prelude.Text)+putRetentionPolicy_description = Lens.lens (\PutRetentionPolicy' {description} -> description) (\s@PutRetentionPolicy' {} a -> s {description = a} :: PutRetentionPolicy) Prelude.. Lens.mapping Data._Sensitive++-- | The retention policy ID.+putRetentionPolicy_id :: Lens.Lens' PutRetentionPolicy (Prelude.Maybe Prelude.Text)+putRetentionPolicy_id = Lens.lens (\PutRetentionPolicy' {id} -> id) (\s@PutRetentionPolicy' {} a -> s {id = a} :: PutRetentionPolicy)++-- | The organization ID.+putRetentionPolicy_organizationId :: Lens.Lens' PutRetentionPolicy Prelude.Text+putRetentionPolicy_organizationId = Lens.lens (\PutRetentionPolicy' {organizationId} -> organizationId) (\s@PutRetentionPolicy' {} a -> s {organizationId = a} :: PutRetentionPolicy)++-- | The retention policy name.+putRetentionPolicy_name :: Lens.Lens' PutRetentionPolicy Prelude.Text+putRetentionPolicy_name = Lens.lens (\PutRetentionPolicy' {name} -> name) (\s@PutRetentionPolicy' {} a -> s {name = a} :: PutRetentionPolicy)++-- | The retention policy folder configurations.+putRetentionPolicy_folderConfigurations :: Lens.Lens' PutRetentionPolicy [FolderConfiguration]+putRetentionPolicy_folderConfigurations = Lens.lens (\PutRetentionPolicy' {folderConfigurations} -> folderConfigurations) (\s@PutRetentionPolicy' {} a -> s {folderConfigurations = a} :: PutRetentionPolicy) Prelude.. Lens.coerced++instance Core.AWSRequest PutRetentionPolicy where+ type+ AWSResponse PutRetentionPolicy =+ PutRetentionPolicyResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ PutRetentionPolicyResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutRetentionPolicy where+ hashWithSalt _salt PutRetentionPolicy' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` folderConfigurations++instance Prelude.NFData PutRetentionPolicy where+ rnf PutRetentionPolicy' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf folderConfigurations++instance Data.ToHeaders PutRetentionPolicy where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.PutRetentionPolicy" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutRetentionPolicy where+ toJSON PutRetentionPolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("Id" Data..=) Prelude.<$> id,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just+ ( "FolderConfigurations"+ Data..= folderConfigurations+ )+ ]+ )++instance Data.ToPath PutRetentionPolicy where+ toPath = Prelude.const "/"++instance Data.ToQuery PutRetentionPolicy where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutRetentionPolicyResponse' smart constructor.+data PutRetentionPolicyResponse = PutRetentionPolicyResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRetentionPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putRetentionPolicyResponse_httpStatus' - The response's http status code.+newPutRetentionPolicyResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutRetentionPolicyResponse+newPutRetentionPolicyResponse pHttpStatus_ =+ PutRetentionPolicyResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+putRetentionPolicyResponse_httpStatus :: Lens.Lens' PutRetentionPolicyResponse Prelude.Int+putRetentionPolicyResponse_httpStatus = Lens.lens (\PutRetentionPolicyResponse' {httpStatus} -> httpStatus) (\s@PutRetentionPolicyResponse' {} a -> s {httpStatus = a} :: PutRetentionPolicyResponse)++instance Prelude.NFData PutRetentionPolicyResponse where+ rnf PutRetentionPolicyResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/RegisterMailDomain.hs view
@@ -0,0 +1,193 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.RegisterMailDomain+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Registers a new domain in WorkMail and SES, and configures it for use by+-- WorkMail. Emails received by SES for this domain are routed to the+-- specified WorkMail organization, and WorkMail has permanent permission+-- to use the specified domain for sending your users\' emails.+module Amazonka.WorkMail.RegisterMailDomain+ ( -- * Creating a Request+ RegisterMailDomain (..),+ newRegisterMailDomain,++ -- * Request Lenses+ registerMailDomain_clientToken,+ registerMailDomain_organizationId,+ registerMailDomain_domainName,++ -- * Destructuring the Response+ RegisterMailDomainResponse (..),+ newRegisterMailDomainResponse,++ -- * Response Lenses+ registerMailDomainResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newRegisterMailDomain' smart constructor.+data RegisterMailDomain = RegisterMailDomain'+ { -- | Idempotency token used when retrying requests.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization under which you\'re creating the domain.+ organizationId :: Prelude.Text,+ -- | The name of the mail domain to create in WorkMail and SES.+ domainName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterMailDomain' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientToken', 'registerMailDomain_clientToken' - Idempotency token used when retrying requests.+--+-- 'organizationId', 'registerMailDomain_organizationId' - The WorkMail organization under which you\'re creating the domain.+--+-- 'domainName', 'registerMailDomain_domainName' - The name of the mail domain to create in WorkMail and SES.+newRegisterMailDomain ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'domainName'+ Prelude.Text ->+ RegisterMailDomain+newRegisterMailDomain pOrganizationId_ pDomainName_ =+ RegisterMailDomain'+ { clientToken = Prelude.Nothing,+ organizationId = pOrganizationId_,+ domainName = pDomainName_+ }++-- | Idempotency token used when retrying requests.+registerMailDomain_clientToken :: Lens.Lens' RegisterMailDomain (Prelude.Maybe Prelude.Text)+registerMailDomain_clientToken = Lens.lens (\RegisterMailDomain' {clientToken} -> clientToken) (\s@RegisterMailDomain' {} a -> s {clientToken = a} :: RegisterMailDomain)++-- | The WorkMail organization under which you\'re creating the domain.+registerMailDomain_organizationId :: Lens.Lens' RegisterMailDomain Prelude.Text+registerMailDomain_organizationId = Lens.lens (\RegisterMailDomain' {organizationId} -> organizationId) (\s@RegisterMailDomain' {} a -> s {organizationId = a} :: RegisterMailDomain)++-- | The name of the mail domain to create in WorkMail and SES.+registerMailDomain_domainName :: Lens.Lens' RegisterMailDomain Prelude.Text+registerMailDomain_domainName = Lens.lens (\RegisterMailDomain' {domainName} -> domainName) (\s@RegisterMailDomain' {} a -> s {domainName = a} :: RegisterMailDomain)++instance Core.AWSRequest RegisterMailDomain where+ type+ AWSResponse RegisterMailDomain =+ RegisterMailDomainResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ RegisterMailDomainResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable RegisterMailDomain where+ hashWithSalt _salt RegisterMailDomain' {..} =+ _salt+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` domainName++instance Prelude.NFData RegisterMailDomain where+ rnf RegisterMailDomain' {..} =+ Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf domainName++instance Data.ToHeaders RegisterMailDomain where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.RegisterMailDomain" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RegisterMailDomain where+ toJSON RegisterMailDomain' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientToken" Data..=) Prelude.<$> clientToken,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("DomainName" Data..= domainName)+ ]+ )++instance Data.ToPath RegisterMailDomain where+ toPath = Prelude.const "/"++instance Data.ToQuery RegisterMailDomain where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterMailDomainResponse' smart constructor.+data RegisterMailDomainResponse = RegisterMailDomainResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterMailDomainResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'registerMailDomainResponse_httpStatus' - The response's http status code.+newRegisterMailDomainResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ RegisterMailDomainResponse+newRegisterMailDomainResponse pHttpStatus_ =+ RegisterMailDomainResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+registerMailDomainResponse_httpStatus :: Lens.Lens' RegisterMailDomainResponse Prelude.Int+registerMailDomainResponse_httpStatus = Lens.lens (\RegisterMailDomainResponse' {httpStatus} -> httpStatus) (\s@RegisterMailDomainResponse' {} a -> s {httpStatus = a} :: RegisterMailDomainResponse)++instance Prelude.NFData RegisterMailDomainResponse where+ rnf RegisterMailDomainResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/RegisterToWorkMail.hs view
@@ -0,0 +1,209 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.RegisterToWorkMail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Registers an existing and disabled user, group, or resource for 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+-- <https://aws.amazon.com/workmail/pricing 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.+module Amazonka.WorkMail.RegisterToWorkMail+ ( -- * Creating a Request+ RegisterToWorkMail (..),+ newRegisterToWorkMail,++ -- * Request Lenses+ registerToWorkMail_organizationId,+ registerToWorkMail_entityId,+ registerToWorkMail_email,++ -- * Destructuring the Response+ RegisterToWorkMailResponse (..),+ newRegisterToWorkMailResponse,++ -- * Response Lenses+ registerToWorkMailResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newRegisterToWorkMail' smart constructor.+data RegisterToWorkMail = RegisterToWorkMail'+ { -- | The identifier for the organization under which the user, group, or+ -- resource exists.+ organizationId :: Prelude.Text,+ -- | The identifier for the user, group, or resource to be updated.+ entityId :: Prelude.Text,+ -- | The email for the user, group, or resource to be updated.+ email :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterToWorkMail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'registerToWorkMail_organizationId' - The identifier for the organization under which the user, group, or+-- resource exists.+--+-- 'entityId', 'registerToWorkMail_entityId' - The identifier for the user, group, or resource to be updated.+--+-- 'email', 'registerToWorkMail_email' - The email for the user, group, or resource to be updated.+newRegisterToWorkMail ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ -- | 'email'+ Prelude.Text ->+ RegisterToWorkMail+newRegisterToWorkMail+ pOrganizationId_+ pEntityId_+ pEmail_ =+ RegisterToWorkMail'+ { organizationId =+ pOrganizationId_,+ entityId = pEntityId_,+ email = pEmail_+ }++-- | The identifier for the organization under which the user, group, or+-- resource exists.+registerToWorkMail_organizationId :: Lens.Lens' RegisterToWorkMail Prelude.Text+registerToWorkMail_organizationId = Lens.lens (\RegisterToWorkMail' {organizationId} -> organizationId) (\s@RegisterToWorkMail' {} a -> s {organizationId = a} :: RegisterToWorkMail)++-- | The identifier for the user, group, or resource to be updated.+registerToWorkMail_entityId :: Lens.Lens' RegisterToWorkMail Prelude.Text+registerToWorkMail_entityId = Lens.lens (\RegisterToWorkMail' {entityId} -> entityId) (\s@RegisterToWorkMail' {} a -> s {entityId = a} :: RegisterToWorkMail)++-- | The email for the user, group, or resource to be updated.+registerToWorkMail_email :: Lens.Lens' RegisterToWorkMail Prelude.Text+registerToWorkMail_email = Lens.lens (\RegisterToWorkMail' {email} -> email) (\s@RegisterToWorkMail' {} a -> s {email = a} :: RegisterToWorkMail)++instance Core.AWSRequest RegisterToWorkMail where+ type+ AWSResponse RegisterToWorkMail =+ RegisterToWorkMailResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ RegisterToWorkMailResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable RegisterToWorkMail where+ hashWithSalt _salt RegisterToWorkMail' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` email++instance Prelude.NFData RegisterToWorkMail where+ rnf RegisterToWorkMail' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf email++instance Data.ToHeaders RegisterToWorkMail where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.RegisterToWorkMail" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RegisterToWorkMail where+ toJSON RegisterToWorkMail' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId),+ Prelude.Just ("Email" Data..= email)+ ]+ )++instance Data.ToPath RegisterToWorkMail where+ toPath = Prelude.const "/"++instance Data.ToQuery RegisterToWorkMail where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterToWorkMailResponse' smart constructor.+data RegisterToWorkMailResponse = RegisterToWorkMailResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterToWorkMailResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'registerToWorkMailResponse_httpStatus' - The response's http status code.+newRegisterToWorkMailResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ RegisterToWorkMailResponse+newRegisterToWorkMailResponse pHttpStatus_ =+ RegisterToWorkMailResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+registerToWorkMailResponse_httpStatus :: Lens.Lens' RegisterToWorkMailResponse Prelude.Int+registerToWorkMailResponse_httpStatus = Lens.lens (\RegisterToWorkMailResponse' {httpStatus} -> httpStatus) (\s@RegisterToWorkMailResponse' {} a -> s {httpStatus = a} :: RegisterToWorkMailResponse)++instance Prelude.NFData RegisterToWorkMailResponse where+ rnf RegisterToWorkMailResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/ResetPassword.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.ResetPassword+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Allows the administrator to reset the password for a user.+module Amazonka.WorkMail.ResetPassword+ ( -- * Creating a Request+ ResetPassword (..),+ newResetPassword,++ -- * Request Lenses+ resetPassword_organizationId,+ resetPassword_userId,+ resetPassword_password,++ -- * Destructuring the Response+ ResetPasswordResponse (..),+ newResetPasswordResponse,++ -- * Response Lenses+ resetPasswordResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newResetPassword' smart constructor.+data ResetPassword = ResetPassword'+ { -- | The identifier of the organization that contains the user for which the+ -- password is reset.+ organizationId :: Prelude.Text,+ -- | The identifier of the user for whom the password is reset.+ userId :: Prelude.Text,+ -- | The new password for the user.+ password :: Data.Sensitive Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResetPassword' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'resetPassword_organizationId' - The identifier of the organization that contains the user for which the+-- password is reset.+--+-- 'userId', 'resetPassword_userId' - The identifier of the user for whom the password is reset.+--+-- 'password', 'resetPassword_password' - The new password for the user.+newResetPassword ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ -- | 'password'+ Prelude.Text ->+ ResetPassword+newResetPassword pOrganizationId_ pUserId_ pPassword_ =+ ResetPassword'+ { organizationId = pOrganizationId_,+ userId = pUserId_,+ password = Data._Sensitive Lens.# pPassword_+ }++-- | The identifier of the organization that contains the user for which the+-- password is reset.+resetPassword_organizationId :: Lens.Lens' ResetPassword Prelude.Text+resetPassword_organizationId = Lens.lens (\ResetPassword' {organizationId} -> organizationId) (\s@ResetPassword' {} a -> s {organizationId = a} :: ResetPassword)++-- | The identifier of the user for whom the password is reset.+resetPassword_userId :: Lens.Lens' ResetPassword Prelude.Text+resetPassword_userId = Lens.lens (\ResetPassword' {userId} -> userId) (\s@ResetPassword' {} a -> s {userId = a} :: ResetPassword)++-- | The new password for the user.+resetPassword_password :: Lens.Lens' ResetPassword Prelude.Text+resetPassword_password = Lens.lens (\ResetPassword' {password} -> password) (\s@ResetPassword' {} a -> s {password = a} :: ResetPassword) Prelude.. Data._Sensitive++instance Core.AWSRequest ResetPassword where+ type+ AWSResponse ResetPassword =+ ResetPasswordResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ ResetPasswordResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ResetPassword where+ hashWithSalt _salt ResetPassword' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId+ `Prelude.hashWithSalt` password++instance Prelude.NFData ResetPassword where+ rnf ResetPassword' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf password++instance Data.ToHeaders ResetPassword where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.ResetPassword" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ResetPassword where+ toJSON ResetPassword' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId),+ Prelude.Just ("Password" Data..= password)+ ]+ )++instance Data.ToPath ResetPassword where+ toPath = Prelude.const "/"++instance Data.ToQuery ResetPassword where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newResetPasswordResponse' smart constructor.+data ResetPasswordResponse = ResetPasswordResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResetPasswordResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'resetPasswordResponse_httpStatus' - The response's http status code.+newResetPasswordResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ResetPasswordResponse+newResetPasswordResponse pHttpStatus_ =+ ResetPasswordResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+resetPasswordResponse_httpStatus :: Lens.Lens' ResetPasswordResponse Prelude.Int+resetPasswordResponse_httpStatus = Lens.lens (\ResetPasswordResponse' {httpStatus} -> httpStatus) (\s@ResetPasswordResponse' {} a -> s {httpStatus = a} :: ResetPasswordResponse)++instance Prelude.NFData ResetPasswordResponse where+ rnf ResetPasswordResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/StartMailboxExportJob.hs view
@@ -0,0 +1,295 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.StartMailboxExportJob+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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+-- <https://docs.aws.amazon.com/workmail/latest/adminguide/mail-export.html Exporting mailbox content>+-- in the /WorkMail Administrator Guide/.+module Amazonka.WorkMail.StartMailboxExportJob+ ( -- * Creating a Request+ StartMailboxExportJob (..),+ newStartMailboxExportJob,++ -- * Request Lenses+ startMailboxExportJob_description,+ startMailboxExportJob_clientToken,+ startMailboxExportJob_organizationId,+ startMailboxExportJob_entityId,+ startMailboxExportJob_roleArn,+ startMailboxExportJob_kmsKeyArn,+ startMailboxExportJob_s3BucketName,+ startMailboxExportJob_s3Prefix,++ -- * Destructuring the Response+ StartMailboxExportJobResponse (..),+ newStartMailboxExportJobResponse,++ -- * Response Lenses+ startMailboxExportJobResponse_jobId,+ startMailboxExportJobResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newStartMailboxExportJob' smart constructor.+data StartMailboxExportJob = StartMailboxExportJob'+ { -- | The mailbox export job description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The idempotency token for the client request.+ clientToken :: Prelude.Text,+ -- | The identifier associated with the organization.+ organizationId :: Prelude.Text,+ -- | The identifier of the user or resource associated with the mailbox.+ entityId :: Prelude.Text,+ -- | The ARN of the AWS Identity and Access Management (IAM) role that grants+ -- write permission to the S3 bucket.+ roleArn :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the symmetric AWS Key Management+ -- Service (AWS KMS) key that encrypts the exported mailbox content.+ kmsKeyArn :: Prelude.Text,+ -- | The name of the S3 bucket.+ s3BucketName :: Prelude.Text,+ -- | The S3 bucket prefix.+ s3Prefix :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartMailboxExportJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'startMailboxExportJob_description' - The mailbox export job description.+--+-- 'clientToken', 'startMailboxExportJob_clientToken' - The idempotency token for the client request.+--+-- 'organizationId', 'startMailboxExportJob_organizationId' - The identifier associated with the organization.+--+-- 'entityId', 'startMailboxExportJob_entityId' - The identifier of the user or resource associated with the mailbox.+--+-- 'roleArn', 'startMailboxExportJob_roleArn' - The ARN of the AWS Identity and Access Management (IAM) role that grants+-- write permission to the S3 bucket.+--+-- 'kmsKeyArn', 'startMailboxExportJob_kmsKeyArn' - The Amazon Resource Name (ARN) of the symmetric AWS Key Management+-- Service (AWS KMS) key that encrypts the exported mailbox content.+--+-- 's3BucketName', 'startMailboxExportJob_s3BucketName' - The name of the S3 bucket.+--+-- 's3Prefix', 'startMailboxExportJob_s3Prefix' - The S3 bucket prefix.+newStartMailboxExportJob ::+ -- | 'clientToken'+ Prelude.Text ->+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ -- | 'roleArn'+ Prelude.Text ->+ -- | 'kmsKeyArn'+ Prelude.Text ->+ -- | 's3BucketName'+ Prelude.Text ->+ -- | 's3Prefix'+ Prelude.Text ->+ StartMailboxExportJob+newStartMailboxExportJob+ pClientToken_+ pOrganizationId_+ pEntityId_+ pRoleArn_+ pKmsKeyArn_+ pS3BucketName_+ pS3Prefix_ =+ StartMailboxExportJob'+ { description =+ Prelude.Nothing,+ clientToken = pClientToken_,+ organizationId = pOrganizationId_,+ entityId = pEntityId_,+ roleArn = pRoleArn_,+ kmsKeyArn = pKmsKeyArn_,+ s3BucketName = pS3BucketName_,+ s3Prefix = pS3Prefix_+ }++-- | The mailbox export job description.+startMailboxExportJob_description :: Lens.Lens' StartMailboxExportJob (Prelude.Maybe Prelude.Text)+startMailboxExportJob_description = Lens.lens (\StartMailboxExportJob' {description} -> description) (\s@StartMailboxExportJob' {} a -> s {description = a} :: StartMailboxExportJob)++-- | The idempotency token for the client request.+startMailboxExportJob_clientToken :: Lens.Lens' StartMailboxExportJob Prelude.Text+startMailboxExportJob_clientToken = Lens.lens (\StartMailboxExportJob' {clientToken} -> clientToken) (\s@StartMailboxExportJob' {} a -> s {clientToken = a} :: StartMailboxExportJob)++-- | The identifier associated with the organization.+startMailboxExportJob_organizationId :: Lens.Lens' StartMailboxExportJob Prelude.Text+startMailboxExportJob_organizationId = Lens.lens (\StartMailboxExportJob' {organizationId} -> organizationId) (\s@StartMailboxExportJob' {} a -> s {organizationId = a} :: StartMailboxExportJob)++-- | The identifier of the user or resource associated with the mailbox.+startMailboxExportJob_entityId :: Lens.Lens' StartMailboxExportJob Prelude.Text+startMailboxExportJob_entityId = Lens.lens (\StartMailboxExportJob' {entityId} -> entityId) (\s@StartMailboxExportJob' {} a -> s {entityId = a} :: StartMailboxExportJob)++-- | The ARN of the AWS Identity and Access Management (IAM) role that grants+-- write permission to the S3 bucket.+startMailboxExportJob_roleArn :: Lens.Lens' StartMailboxExportJob Prelude.Text+startMailboxExportJob_roleArn = Lens.lens (\StartMailboxExportJob' {roleArn} -> roleArn) (\s@StartMailboxExportJob' {} a -> s {roleArn = a} :: StartMailboxExportJob)++-- | The Amazon Resource Name (ARN) of the symmetric AWS Key Management+-- Service (AWS KMS) key that encrypts the exported mailbox content.+startMailboxExportJob_kmsKeyArn :: Lens.Lens' StartMailboxExportJob Prelude.Text+startMailboxExportJob_kmsKeyArn = Lens.lens (\StartMailboxExportJob' {kmsKeyArn} -> kmsKeyArn) (\s@StartMailboxExportJob' {} a -> s {kmsKeyArn = a} :: StartMailboxExportJob)++-- | The name of the S3 bucket.+startMailboxExportJob_s3BucketName :: Lens.Lens' StartMailboxExportJob Prelude.Text+startMailboxExportJob_s3BucketName = Lens.lens (\StartMailboxExportJob' {s3BucketName} -> s3BucketName) (\s@StartMailboxExportJob' {} a -> s {s3BucketName = a} :: StartMailboxExportJob)++-- | The S3 bucket prefix.+startMailboxExportJob_s3Prefix :: Lens.Lens' StartMailboxExportJob Prelude.Text+startMailboxExportJob_s3Prefix = Lens.lens (\StartMailboxExportJob' {s3Prefix} -> s3Prefix) (\s@StartMailboxExportJob' {} a -> s {s3Prefix = a} :: StartMailboxExportJob)++instance Core.AWSRequest StartMailboxExportJob where+ type+ AWSResponse StartMailboxExportJob =+ StartMailboxExportJobResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StartMailboxExportJobResponse'+ Prelude.<$> (x Data..?> "JobId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StartMailboxExportJob where+ hashWithSalt _salt StartMailboxExportJob' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` kmsKeyArn+ `Prelude.hashWithSalt` s3BucketName+ `Prelude.hashWithSalt` s3Prefix++instance Prelude.NFData StartMailboxExportJob where+ rnf StartMailboxExportJob' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf kmsKeyArn+ `Prelude.seq` Prelude.rnf s3BucketName+ `Prelude.seq` Prelude.rnf s3Prefix++instance Data.ToHeaders StartMailboxExportJob where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.StartMailboxExportJob" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartMailboxExportJob where+ toJSON StartMailboxExportJob' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("ClientToken" Data..= clientToken),+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId),+ Prelude.Just ("RoleArn" Data..= roleArn),+ Prelude.Just ("KmsKeyArn" Data..= kmsKeyArn),+ Prelude.Just ("S3BucketName" Data..= s3BucketName),+ Prelude.Just ("S3Prefix" Data..= s3Prefix)+ ]+ )++instance Data.ToPath StartMailboxExportJob where+ toPath = Prelude.const "/"++instance Data.ToQuery StartMailboxExportJob where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartMailboxExportJobResponse' smart constructor.+data StartMailboxExportJobResponse = StartMailboxExportJobResponse'+ { -- | The job ID.+ jobId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartMailboxExportJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'startMailboxExportJobResponse_jobId' - The job ID.+--+-- 'httpStatus', 'startMailboxExportJobResponse_httpStatus' - The response's http status code.+newStartMailboxExportJobResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StartMailboxExportJobResponse+newStartMailboxExportJobResponse pHttpStatus_ =+ StartMailboxExportJobResponse'+ { jobId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The job ID.+startMailboxExportJobResponse_jobId :: Lens.Lens' StartMailboxExportJobResponse (Prelude.Maybe Prelude.Text)+startMailboxExportJobResponse_jobId = Lens.lens (\StartMailboxExportJobResponse' {jobId} -> jobId) (\s@StartMailboxExportJobResponse' {} a -> s {jobId = a} :: StartMailboxExportJobResponse)++-- | The response's http status code.+startMailboxExportJobResponse_httpStatus :: Lens.Lens' StartMailboxExportJobResponse Prelude.Int+startMailboxExportJobResponse_httpStatus = Lens.lens (\StartMailboxExportJobResponse' {httpStatus} -> httpStatus) (\s@StartMailboxExportJobResponse' {} a -> s {httpStatus = a} :: StartMailboxExportJobResponse)++instance Prelude.NFData StartMailboxExportJobResponse where+ rnf StartMailboxExportJobResponse' {..} =+ Prelude.rnf jobId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/TagResource.hs view
@@ -0,0 +1,169 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.TagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Applies the specified tags to the specified WorkMailorganization+-- resource.+module Amazonka.WorkMail.TagResource+ ( -- * Creating a Request+ TagResource (..),+ newTagResource,++ -- * Request Lenses+ tagResource_resourceARN,+ tagResource_tags,++ -- * Destructuring the Response+ TagResourceResponse (..),+ newTagResourceResponse,++ -- * Response Lenses+ tagResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+ { -- | The resource ARN.+ resourceARN :: Prelude.Text,+ -- | The tag key-value pairs.+ tags :: [Tag]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'tagResource_resourceARN' - The resource ARN.+--+-- 'tags', 'tagResource_tags' - The tag key-value pairs.+newTagResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ TagResource+newTagResource pResourceARN_ =+ TagResource'+ { resourceARN = pResourceARN_,+ tags = Prelude.mempty+ }++-- | The resource ARN.+tagResource_resourceARN :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceARN = Lens.lens (\TagResource' {resourceARN} -> resourceARN) (\s@TagResource' {} a -> s {resourceARN = a} :: TagResource)++-- | The tag key-value pairs.+tagResource_tags :: Lens.Lens' TagResource [Tag]+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+ type AWSResponse TagResource = TagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ TagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TagResource where+ hashWithSalt _salt TagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceARN+ `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+ rnf TagResource' {..} =+ Prelude.rnf resourceARN+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.TagResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TagResource where+ toJSON TagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceARN" Data..= resourceARN),+ Prelude.Just ("Tags" Data..= tags)+ ]+ )++instance Data.ToPath TagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TagResourceResponse+newTagResourceResponse pHttpStatus_ =+ TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+ rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/TestAvailabilityConfiguration.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.TestAvailabilityConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Performs a test on an availability provider to ensure that access is+-- allowed. For EWS, it verifies the provided credentials can be used to+-- successfully log in. For Lambda, it verifies that the Lambda function+-- can be invoked and that the resource access policy was configured to+-- deny anonymous access. An anonymous invocation is one done without+-- providing either a @SourceArn@ or @SourceAccount@ header.+--+-- The request must contain either one provider definition (@EwsProvider@+-- or @LambdaProvider@) or the @DomainName@ parameter. If the @DomainName@+-- parameter is provided, the configuration stored under the @DomainName@+-- will be tested.+module Amazonka.WorkMail.TestAvailabilityConfiguration+ ( -- * Creating a Request+ TestAvailabilityConfiguration (..),+ newTestAvailabilityConfiguration,++ -- * Request Lenses+ testAvailabilityConfiguration_domainName,+ testAvailabilityConfiguration_ewsProvider,+ testAvailabilityConfiguration_lambdaProvider,+ testAvailabilityConfiguration_organizationId,++ -- * Destructuring the Response+ TestAvailabilityConfigurationResponse (..),+ newTestAvailabilityConfigurationResponse,++ -- * Response Lenses+ testAvailabilityConfigurationResponse_failureReason,+ testAvailabilityConfigurationResponse_testPassed,+ testAvailabilityConfigurationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newTestAvailabilityConfiguration' smart constructor.+data TestAvailabilityConfiguration = TestAvailabilityConfiguration'+ { -- | The domain to which the provider applies. If this field is provided, a+ -- stored availability provider associated to this domain name will be+ -- tested.+ domainName :: Prelude.Maybe Prelude.Text,+ ewsProvider :: Prelude.Maybe EwsAvailabilityProvider,+ lambdaProvider :: Prelude.Maybe LambdaAvailabilityProvider,+ -- | The WorkMail organization where the availability provider will be+ -- tested.+ organizationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TestAvailabilityConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'domainName', 'testAvailabilityConfiguration_domainName' - The domain to which the provider applies. If this field is provided, a+-- stored availability provider associated to this domain name will be+-- tested.+--+-- 'ewsProvider', 'testAvailabilityConfiguration_ewsProvider' - Undocumented member.+--+-- 'lambdaProvider', 'testAvailabilityConfiguration_lambdaProvider' - Undocumented member.+--+-- 'organizationId', 'testAvailabilityConfiguration_organizationId' - The WorkMail organization where the availability provider will be+-- tested.+newTestAvailabilityConfiguration ::+ -- | 'organizationId'+ Prelude.Text ->+ TestAvailabilityConfiguration+newTestAvailabilityConfiguration pOrganizationId_ =+ TestAvailabilityConfiguration'+ { domainName =+ Prelude.Nothing,+ ewsProvider = Prelude.Nothing,+ lambdaProvider = Prelude.Nothing,+ organizationId = pOrganizationId_+ }++-- | The domain to which the provider applies. If this field is provided, a+-- stored availability provider associated to this domain name will be+-- tested.+testAvailabilityConfiguration_domainName :: Lens.Lens' TestAvailabilityConfiguration (Prelude.Maybe Prelude.Text)+testAvailabilityConfiguration_domainName = Lens.lens (\TestAvailabilityConfiguration' {domainName} -> domainName) (\s@TestAvailabilityConfiguration' {} a -> s {domainName = a} :: TestAvailabilityConfiguration)++-- | Undocumented member.+testAvailabilityConfiguration_ewsProvider :: Lens.Lens' TestAvailabilityConfiguration (Prelude.Maybe EwsAvailabilityProvider)+testAvailabilityConfiguration_ewsProvider = Lens.lens (\TestAvailabilityConfiguration' {ewsProvider} -> ewsProvider) (\s@TestAvailabilityConfiguration' {} a -> s {ewsProvider = a} :: TestAvailabilityConfiguration)++-- | Undocumented member.+testAvailabilityConfiguration_lambdaProvider :: Lens.Lens' TestAvailabilityConfiguration (Prelude.Maybe LambdaAvailabilityProvider)+testAvailabilityConfiguration_lambdaProvider = Lens.lens (\TestAvailabilityConfiguration' {lambdaProvider} -> lambdaProvider) (\s@TestAvailabilityConfiguration' {} a -> s {lambdaProvider = a} :: TestAvailabilityConfiguration)++-- | The WorkMail organization where the availability provider will be+-- tested.+testAvailabilityConfiguration_organizationId :: Lens.Lens' TestAvailabilityConfiguration Prelude.Text+testAvailabilityConfiguration_organizationId = Lens.lens (\TestAvailabilityConfiguration' {organizationId} -> organizationId) (\s@TestAvailabilityConfiguration' {} a -> s {organizationId = a} :: TestAvailabilityConfiguration)++instance+ Core.AWSRequest+ TestAvailabilityConfiguration+ where+ type+ AWSResponse TestAvailabilityConfiguration =+ TestAvailabilityConfigurationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ TestAvailabilityConfigurationResponse'+ Prelude.<$> (x Data..?> "FailureReason")+ Prelude.<*> (x Data..?> "TestPassed")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ TestAvailabilityConfiguration+ where+ hashWithSalt _salt TestAvailabilityConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` domainName+ `Prelude.hashWithSalt` ewsProvider+ `Prelude.hashWithSalt` lambdaProvider+ `Prelude.hashWithSalt` organizationId++instance Prelude.NFData TestAvailabilityConfiguration where+ rnf TestAvailabilityConfiguration' {..} =+ Prelude.rnf domainName+ `Prelude.seq` Prelude.rnf ewsProvider+ `Prelude.seq` Prelude.rnf lambdaProvider+ `Prelude.seq` Prelude.rnf organizationId++instance Data.ToHeaders TestAvailabilityConfiguration where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.TestAvailabilityConfiguration" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TestAvailabilityConfiguration where+ toJSON TestAvailabilityConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DomainName" Data..=) Prelude.<$> domainName,+ ("EwsProvider" Data..=) Prelude.<$> ewsProvider,+ ("LambdaProvider" Data..=)+ Prelude.<$> lambdaProvider,+ Prelude.Just+ ("OrganizationId" Data..= organizationId)+ ]+ )++instance Data.ToPath TestAvailabilityConfiguration where+ toPath = Prelude.const "/"++instance Data.ToQuery TestAvailabilityConfiguration where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTestAvailabilityConfigurationResponse' smart constructor.+data TestAvailabilityConfigurationResponse = TestAvailabilityConfigurationResponse'+ { -- | String containing the reason for a failed test if @TestPassed@ is false.+ failureReason :: Prelude.Maybe Prelude.Text,+ -- | Boolean indicating whether the test passed or failed.+ testPassed :: Prelude.Maybe Prelude.Bool,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TestAvailabilityConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failureReason', 'testAvailabilityConfigurationResponse_failureReason' - String containing the reason for a failed test if @TestPassed@ is false.+--+-- 'testPassed', 'testAvailabilityConfigurationResponse_testPassed' - Boolean indicating whether the test passed or failed.+--+-- 'httpStatus', 'testAvailabilityConfigurationResponse_httpStatus' - The response's http status code.+newTestAvailabilityConfigurationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TestAvailabilityConfigurationResponse+newTestAvailabilityConfigurationResponse pHttpStatus_ =+ TestAvailabilityConfigurationResponse'+ { failureReason =+ Prelude.Nothing,+ testPassed = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | String containing the reason for a failed test if @TestPassed@ is false.+testAvailabilityConfigurationResponse_failureReason :: Lens.Lens' TestAvailabilityConfigurationResponse (Prelude.Maybe Prelude.Text)+testAvailabilityConfigurationResponse_failureReason = Lens.lens (\TestAvailabilityConfigurationResponse' {failureReason} -> failureReason) (\s@TestAvailabilityConfigurationResponse' {} a -> s {failureReason = a} :: TestAvailabilityConfigurationResponse)++-- | Boolean indicating whether the test passed or failed.+testAvailabilityConfigurationResponse_testPassed :: Lens.Lens' TestAvailabilityConfigurationResponse (Prelude.Maybe Prelude.Bool)+testAvailabilityConfigurationResponse_testPassed = Lens.lens (\TestAvailabilityConfigurationResponse' {testPassed} -> testPassed) (\s@TestAvailabilityConfigurationResponse' {} a -> s {testPassed = a} :: TestAvailabilityConfigurationResponse)++-- | The response's http status code.+testAvailabilityConfigurationResponse_httpStatus :: Lens.Lens' TestAvailabilityConfigurationResponse Prelude.Int+testAvailabilityConfigurationResponse_httpStatus = Lens.lens (\TestAvailabilityConfigurationResponse' {httpStatus} -> httpStatus) (\s@TestAvailabilityConfigurationResponse' {} a -> s {httpStatus = a} :: TestAvailabilityConfigurationResponse)++instance+ Prelude.NFData+ TestAvailabilityConfigurationResponse+ where+ rnf TestAvailabilityConfigurationResponse' {..} =+ Prelude.rnf failureReason+ `Prelude.seq` Prelude.rnf testPassed+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/Types.hs view
@@ -0,0 +1,593 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _DirectoryInUseException,+ _DirectoryServiceAuthenticationFailedException,+ _DirectoryUnavailableException,+ _EmailAddressInUseException,+ _EntityAlreadyRegisteredException,+ _EntityNotFoundException,+ _EntityStateException,+ _InvalidConfigurationException,+ _InvalidCustomSesConfigurationException,+ _InvalidParameterException,+ _InvalidPasswordException,+ _LimitExceededException,+ _MailDomainInUseException,+ _MailDomainNotFoundException,+ _MailDomainStateException,+ _NameAvailabilityException,+ _OrganizationNotFoundException,+ _OrganizationStateException,+ _ReservedNameException,+ _ResourceNotFoundException,+ _TooManyTagsException,+ _UnsupportedOperationException,++ -- * AccessControlRuleEffect+ AccessControlRuleEffect (..),++ -- * AccessEffect+ AccessEffect (..),++ -- * AvailabilityProviderType+ AvailabilityProviderType (..),++ -- * DnsRecordVerificationStatus+ DnsRecordVerificationStatus (..),++ -- * EntityState+ EntityState (..),++ -- * FolderName+ FolderName (..),++ -- * ImpersonationRoleType+ ImpersonationRoleType (..),++ -- * MailboxExportJobState+ MailboxExportJobState (..),++ -- * MemberType+ MemberType (..),++ -- * MobileDeviceAccessRuleEffect+ MobileDeviceAccessRuleEffect (..),++ -- * PermissionType+ PermissionType (..),++ -- * ResourceType+ ResourceType (..),++ -- * RetentionAction+ RetentionAction (..),++ -- * UserRole+ UserRole (..),++ -- * AccessControlRule+ AccessControlRule (..),+ newAccessControlRule,+ accessControlRule_actions,+ accessControlRule_dateCreated,+ accessControlRule_dateModified,+ accessControlRule_description,+ accessControlRule_effect,+ accessControlRule_impersonationRoleIds,+ accessControlRule_ipRanges,+ accessControlRule_name,+ accessControlRule_notActions,+ accessControlRule_notImpersonationRoleIds,+ accessControlRule_notIpRanges,+ accessControlRule_notUserIds,+ accessControlRule_userIds,++ -- * AvailabilityConfiguration+ AvailabilityConfiguration (..),+ newAvailabilityConfiguration,+ availabilityConfiguration_dateCreated,+ availabilityConfiguration_dateModified,+ availabilityConfiguration_domainName,+ availabilityConfiguration_ewsProvider,+ availabilityConfiguration_lambdaProvider,+ availabilityConfiguration_providerType,++ -- * BookingOptions+ BookingOptions (..),+ newBookingOptions,+ bookingOptions_autoAcceptRequests,+ bookingOptions_autoDeclineConflictingRequests,+ bookingOptions_autoDeclineRecurringRequests,++ -- * Delegate+ Delegate (..),+ newDelegate,+ delegate_id,+ delegate_type,++ -- * DnsRecord+ DnsRecord (..),+ newDnsRecord,+ dnsRecord_hostname,+ dnsRecord_type,+ dnsRecord_value,++ -- * Domain+ Domain (..),+ newDomain,+ domain_domainName,+ domain_hostedZoneId,++ -- * EwsAvailabilityProvider+ EwsAvailabilityProvider (..),+ newEwsAvailabilityProvider,+ ewsAvailabilityProvider_ewsEndpoint,+ ewsAvailabilityProvider_ewsUsername,+ ewsAvailabilityProvider_ewsPassword,++ -- * FolderConfiguration+ FolderConfiguration (..),+ newFolderConfiguration,+ folderConfiguration_period,+ folderConfiguration_name,+ folderConfiguration_action,++ -- * Group+ Group (..),+ newGroup,+ group_disabledDate,+ group_email,+ group_enabledDate,+ group_id,+ group_name,+ group_state,++ -- * ImpersonationMatchedRule+ ImpersonationMatchedRule (..),+ newImpersonationMatchedRule,+ impersonationMatchedRule_impersonationRuleId,+ impersonationMatchedRule_name,++ -- * ImpersonationRole+ ImpersonationRole (..),+ newImpersonationRole,+ impersonationRole_dateCreated,+ impersonationRole_dateModified,+ impersonationRole_impersonationRoleId,+ impersonationRole_name,+ impersonationRole_type,++ -- * ImpersonationRule+ ImpersonationRule (..),+ newImpersonationRule,+ impersonationRule_description,+ impersonationRule_name,+ impersonationRule_notTargetUsers,+ impersonationRule_targetUsers,+ impersonationRule_impersonationRuleId,+ impersonationRule_effect,++ -- * LambdaAvailabilityProvider+ LambdaAvailabilityProvider (..),+ newLambdaAvailabilityProvider,+ lambdaAvailabilityProvider_lambdaArn,++ -- * MailDomainSummary+ MailDomainSummary (..),+ newMailDomainSummary,+ mailDomainSummary_defaultDomain,+ mailDomainSummary_domainName,++ -- * MailboxExportJob+ MailboxExportJob (..),+ newMailboxExportJob,+ mailboxExportJob_description,+ mailboxExportJob_endTime,+ mailboxExportJob_entityId,+ mailboxExportJob_estimatedProgress,+ mailboxExportJob_jobId,+ mailboxExportJob_s3BucketName,+ mailboxExportJob_s3Path,+ mailboxExportJob_startTime,+ mailboxExportJob_state,++ -- * Member+ Member (..),+ newMember,+ member_disabledDate,+ member_enabledDate,+ member_id,+ member_name,+ member_state,+ member_type,++ -- * MobileDeviceAccessMatchedRule+ MobileDeviceAccessMatchedRule (..),+ newMobileDeviceAccessMatchedRule,+ mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId,+ mobileDeviceAccessMatchedRule_name,++ -- * MobileDeviceAccessOverride+ MobileDeviceAccessOverride (..),+ newMobileDeviceAccessOverride,+ mobileDeviceAccessOverride_dateCreated,+ mobileDeviceAccessOverride_dateModified,+ mobileDeviceAccessOverride_description,+ mobileDeviceAccessOverride_deviceId,+ mobileDeviceAccessOverride_effect,+ mobileDeviceAccessOverride_userId,++ -- * MobileDeviceAccessRule+ MobileDeviceAccessRule (..),+ newMobileDeviceAccessRule,+ mobileDeviceAccessRule_dateCreated,+ mobileDeviceAccessRule_dateModified,+ mobileDeviceAccessRule_description,+ mobileDeviceAccessRule_deviceModels,+ mobileDeviceAccessRule_deviceOperatingSystems,+ mobileDeviceAccessRule_deviceTypes,+ mobileDeviceAccessRule_deviceUserAgents,+ mobileDeviceAccessRule_effect,+ mobileDeviceAccessRule_mobileDeviceAccessRuleId,+ mobileDeviceAccessRule_name,+ mobileDeviceAccessRule_notDeviceModels,+ mobileDeviceAccessRule_notDeviceOperatingSystems,+ mobileDeviceAccessRule_notDeviceTypes,+ mobileDeviceAccessRule_notDeviceUserAgents,++ -- * OrganizationSummary+ OrganizationSummary (..),+ newOrganizationSummary,+ organizationSummary_alias,+ organizationSummary_defaultMailDomain,+ organizationSummary_errorMessage,+ organizationSummary_organizationId,+ organizationSummary_state,++ -- * Permission+ Permission (..),+ newPermission,+ permission_granteeId,+ permission_granteeType,+ permission_permissionValues,++ -- * RedactedEwsAvailabilityProvider+ RedactedEwsAvailabilityProvider (..),+ newRedactedEwsAvailabilityProvider,+ redactedEwsAvailabilityProvider_ewsEndpoint,+ redactedEwsAvailabilityProvider_ewsUsername,++ -- * Resource+ Resource (..),+ newResource,+ resource_disabledDate,+ resource_email,+ resource_enabledDate,+ resource_id,+ resource_name,+ resource_state,+ resource_type,++ -- * Tag+ Tag (..),+ newTag,+ tag_key,+ tag_value,++ -- * User+ User (..),+ newUser,+ user_disabledDate,+ user_displayName,+ user_email,+ user_enabledDate,+ user_id,+ user_name,+ user_state,+ user_userRole,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign+import Amazonka.WorkMail.Types.AccessControlRule+import Amazonka.WorkMail.Types.AccessControlRuleEffect+import Amazonka.WorkMail.Types.AccessEffect+import Amazonka.WorkMail.Types.AvailabilityConfiguration+import Amazonka.WorkMail.Types.AvailabilityProviderType+import Amazonka.WorkMail.Types.BookingOptions+import Amazonka.WorkMail.Types.Delegate+import Amazonka.WorkMail.Types.DnsRecord+import Amazonka.WorkMail.Types.DnsRecordVerificationStatus+import Amazonka.WorkMail.Types.Domain+import Amazonka.WorkMail.Types.EntityState+import Amazonka.WorkMail.Types.EwsAvailabilityProvider+import Amazonka.WorkMail.Types.FolderConfiguration+import Amazonka.WorkMail.Types.FolderName+import Amazonka.WorkMail.Types.Group+import Amazonka.WorkMail.Types.ImpersonationMatchedRule+import Amazonka.WorkMail.Types.ImpersonationRole+import Amazonka.WorkMail.Types.ImpersonationRoleType+import Amazonka.WorkMail.Types.ImpersonationRule+import Amazonka.WorkMail.Types.LambdaAvailabilityProvider+import Amazonka.WorkMail.Types.MailDomainSummary+import Amazonka.WorkMail.Types.MailboxExportJob+import Amazonka.WorkMail.Types.MailboxExportJobState+import Amazonka.WorkMail.Types.Member+import Amazonka.WorkMail.Types.MemberType+import Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule+import Amazonka.WorkMail.Types.MobileDeviceAccessOverride+import Amazonka.WorkMail.Types.MobileDeviceAccessRule+import Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect+import Amazonka.WorkMail.Types.OrganizationSummary+import Amazonka.WorkMail.Types.Permission+import Amazonka.WorkMail.Types.PermissionType+import Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider+import Amazonka.WorkMail.Types.Resource+import Amazonka.WorkMail.Types.ResourceType+import Amazonka.WorkMail.Types.RetentionAction+import Amazonka.WorkMail.Types.Tag+import Amazonka.WorkMail.Types.User+import Amazonka.WorkMail.Types.UserRole++-- | API version @2017-10-01@ of the Amazon WorkMail SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "WorkMail",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "workmail",+ Core.signingName = "workmail",+ Core.version = "2017-10-01",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "WorkMail",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | The directory is already in use by another WorkMail organization in the+-- same account and Region.+_DirectoryInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DirectoryInUseException =+ Core._MatchServiceError+ defaultService+ "DirectoryInUseException"++-- | The directory service doesn\'t recognize the credentials supplied by+-- WorkMail.+_DirectoryServiceAuthenticationFailedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DirectoryServiceAuthenticationFailedException =+ Core._MatchServiceError+ defaultService+ "DirectoryServiceAuthenticationFailedException"++-- | The directory is unavailable. It might be located in another Region or+-- deleted.+_DirectoryUnavailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DirectoryUnavailableException =+ Core._MatchServiceError+ defaultService+ "DirectoryUnavailableException"++-- | The email address that you\'re trying to assign is already created for a+-- different user, group, or resource.+_EmailAddressInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_EmailAddressInUseException =+ Core._MatchServiceError+ defaultService+ "EmailAddressInUseException"++-- | The user, group, or resource that you\'re trying to register is already+-- registered.+_EntityAlreadyRegisteredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_EntityAlreadyRegisteredException =+ Core._MatchServiceError+ defaultService+ "EntityAlreadyRegisteredException"++-- | The identifier supplied for the user, group, or resource does not exist+-- in your organization.+_EntityNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_EntityNotFoundException =+ Core._MatchServiceError+ defaultService+ "EntityNotFoundException"++-- | 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.+_EntityStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_EntityStateException =+ Core._MatchServiceError+ defaultService+ "EntityStateException"++-- | 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 so on its behalf.+_InvalidConfigurationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidConfigurationException =+ Core._MatchServiceError+ defaultService+ "InvalidConfigurationException"++-- | You SES configuration has customizations that WorkMail cannot save. The+-- error message lists the invalid setting. For examples of invalid+-- settings, refer to+-- <https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html CreateReceiptRule>.+_InvalidCustomSesConfigurationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidCustomSesConfigurationException =+ Core._MatchServiceError+ defaultService+ "InvalidCustomSesConfigurationException"++-- | One or more of the input parameters don\'t match the service\'s+-- restrictions.+_InvalidParameterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidParameterException =+ Core._MatchServiceError+ defaultService+ "InvalidParameterException"++-- | The supplied password doesn\'t match the minimum security constraints,+-- such as length or use of special characters.+_InvalidPasswordException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidPasswordException =+ Core._MatchServiceError+ defaultService+ "InvalidPasswordException"++-- | The request exceeds the limit of the resource.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+ Core._MatchServiceError+ defaultService+ "LimitExceededException"++-- | The domain you\'re trying to change is in use by another user or+-- organization in your account. See the error message for details.+_MailDomainInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MailDomainInUseException =+ Core._MatchServiceError+ defaultService+ "MailDomainInUseException"++-- | The domain specified is not found in your organization.+_MailDomainNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MailDomainNotFoundException =+ Core._MatchServiceError+ defaultService+ "MailDomainNotFoundException"++-- | After a domain has been added to the organization, it must be verified.+-- The domain is not yet verified.+_MailDomainStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MailDomainStateException =+ Core._MatchServiceError+ defaultService+ "MailDomainStateException"++-- | The user, group, or resource name isn\'t unique in WorkMail.+_NameAvailabilityException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_NameAvailabilityException =+ Core._MatchServiceError+ defaultService+ "NameAvailabilityException"++-- | An operation received a valid organization identifier that either+-- doesn\'t belong or exist in the system.+_OrganizationNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_OrganizationNotFoundException =+ Core._MatchServiceError+ defaultService+ "OrganizationNotFoundException"++-- | The organization must have a valid state to perform certain operations+-- on the organization or its members.+_OrganizationStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_OrganizationStateException =+ Core._MatchServiceError+ defaultService+ "OrganizationStateException"++-- | This user, group, or resource name is not allowed in WorkMail.+_ReservedNameException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ReservedNameException =+ Core._MatchServiceError+ defaultService+ "ReservedNameException"++-- | The resource cannot be found.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"++-- | The resource can have up to 50 user-applied tags.+_TooManyTagsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyTagsException =+ Core._MatchServiceError+ defaultService+ "TooManyTagsException"++-- | You can\'t perform a write operation against a read-only directory.+_UnsupportedOperationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnsupportedOperationException =+ Core._MatchServiceError+ defaultService+ "UnsupportedOperationException"
+ gen/Amazonka/WorkMail/Types/AccessControlRule.hs view
@@ -0,0 +1,235 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.AccessControlRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.AccessControlRule where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.AccessControlRuleEffect++-- | A rule that controls access to an WorkMail organization.+--+-- /See:/ 'newAccessControlRule' smart constructor.+data AccessControlRule = AccessControlRule'+ { -- | Access protocol actions to include in the rule. Valid values include+ -- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+ -- and @WebMail@.+ actions :: Prelude.Maybe [Prelude.Text],+ -- | The date that the rule was created.+ dateCreated :: Prelude.Maybe Data.POSIX,+ -- | The date that the rule was modified.+ dateModified :: Prelude.Maybe Data.POSIX,+ -- | The rule description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The rule effect.+ effect :: Prelude.Maybe AccessControlRuleEffect,+ -- | Impersonation role IDs to include in the rule.+ impersonationRoleIds :: Prelude.Maybe [Prelude.Text],+ -- | IPv4 CIDR ranges to include in the rule.+ ipRanges :: Prelude.Maybe [Prelude.Text],+ -- | The rule name.+ name :: Prelude.Maybe Prelude.Text,+ -- | Access protocol actions to exclude from the rule. Valid values include+ -- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+ -- and @WebMail@.+ notActions :: Prelude.Maybe [Prelude.Text],+ -- | Impersonation role IDs to exclude from the rule.+ notImpersonationRoleIds :: Prelude.Maybe [Prelude.Text],+ -- | IPv4 CIDR ranges to exclude from the rule.+ notIpRanges :: Prelude.Maybe [Prelude.Text],+ -- | User IDs to exclude from the rule.+ notUserIds :: Prelude.Maybe [Prelude.Text],+ -- | User IDs to include in the rule.+ userIds :: Prelude.Maybe [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AccessControlRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'actions', 'accessControlRule_actions' - Access protocol actions to include in the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+--+-- 'dateCreated', 'accessControlRule_dateCreated' - The date that the rule was created.+--+-- 'dateModified', 'accessControlRule_dateModified' - The date that the rule was modified.+--+-- 'description', 'accessControlRule_description' - The rule description.+--+-- 'effect', 'accessControlRule_effect' - The rule effect.+--+-- 'impersonationRoleIds', 'accessControlRule_impersonationRoleIds' - Impersonation role IDs to include in the rule.+--+-- 'ipRanges', 'accessControlRule_ipRanges' - IPv4 CIDR ranges to include in the rule.+--+-- 'name', 'accessControlRule_name' - The rule name.+--+-- 'notActions', 'accessControlRule_notActions' - Access protocol actions to exclude from the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+--+-- 'notImpersonationRoleIds', 'accessControlRule_notImpersonationRoleIds' - Impersonation role IDs to exclude from the rule.+--+-- 'notIpRanges', 'accessControlRule_notIpRanges' - IPv4 CIDR ranges to exclude from the rule.+--+-- 'notUserIds', 'accessControlRule_notUserIds' - User IDs to exclude from the rule.+--+-- 'userIds', 'accessControlRule_userIds' - User IDs to include in the rule.+newAccessControlRule ::+ AccessControlRule+newAccessControlRule =+ AccessControlRule'+ { actions = Prelude.Nothing,+ dateCreated = Prelude.Nothing,+ dateModified = Prelude.Nothing,+ description = Prelude.Nothing,+ effect = Prelude.Nothing,+ impersonationRoleIds = Prelude.Nothing,+ ipRanges = Prelude.Nothing,+ name = Prelude.Nothing,+ notActions = Prelude.Nothing,+ notImpersonationRoleIds = Prelude.Nothing,+ notIpRanges = Prelude.Nothing,+ notUserIds = Prelude.Nothing,+ userIds = Prelude.Nothing+ }++-- | Access protocol actions to include in the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+accessControlRule_actions :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_actions = Lens.lens (\AccessControlRule' {actions} -> actions) (\s@AccessControlRule' {} a -> s {actions = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | The date that the rule was created.+accessControlRule_dateCreated :: Lens.Lens' AccessControlRule (Prelude.Maybe Prelude.UTCTime)+accessControlRule_dateCreated = Lens.lens (\AccessControlRule' {dateCreated} -> dateCreated) (\s@AccessControlRule' {} a -> s {dateCreated = a} :: AccessControlRule) Prelude.. Lens.mapping Data._Time++-- | The date that the rule was modified.+accessControlRule_dateModified :: Lens.Lens' AccessControlRule (Prelude.Maybe Prelude.UTCTime)+accessControlRule_dateModified = Lens.lens (\AccessControlRule' {dateModified} -> dateModified) (\s@AccessControlRule' {} a -> s {dateModified = a} :: AccessControlRule) Prelude.. Lens.mapping Data._Time++-- | The rule description.+accessControlRule_description :: Lens.Lens' AccessControlRule (Prelude.Maybe Prelude.Text)+accessControlRule_description = Lens.lens (\AccessControlRule' {description} -> description) (\s@AccessControlRule' {} a -> s {description = a} :: AccessControlRule)++-- | The rule effect.+accessControlRule_effect :: Lens.Lens' AccessControlRule (Prelude.Maybe AccessControlRuleEffect)+accessControlRule_effect = Lens.lens (\AccessControlRule' {effect} -> effect) (\s@AccessControlRule' {} a -> s {effect = a} :: AccessControlRule)++-- | Impersonation role IDs to include in the rule.+accessControlRule_impersonationRoleIds :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_impersonationRoleIds = Lens.lens (\AccessControlRule' {impersonationRoleIds} -> impersonationRoleIds) (\s@AccessControlRule' {} a -> s {impersonationRoleIds = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | IPv4 CIDR ranges to include in the rule.+accessControlRule_ipRanges :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_ipRanges = Lens.lens (\AccessControlRule' {ipRanges} -> ipRanges) (\s@AccessControlRule' {} a -> s {ipRanges = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | The rule name.+accessControlRule_name :: Lens.Lens' AccessControlRule (Prelude.Maybe Prelude.Text)+accessControlRule_name = Lens.lens (\AccessControlRule' {name} -> name) (\s@AccessControlRule' {} a -> s {name = a} :: AccessControlRule)++-- | Access protocol actions to exclude from the rule. Valid values include+-- @ActiveSync@, @AutoDiscover@, @EWS@, @IMAP@, @SMTP@, @WindowsOutlook@,+-- and @WebMail@.+accessControlRule_notActions :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_notActions = Lens.lens (\AccessControlRule' {notActions} -> notActions) (\s@AccessControlRule' {} a -> s {notActions = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | Impersonation role IDs to exclude from the rule.+accessControlRule_notImpersonationRoleIds :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_notImpersonationRoleIds = Lens.lens (\AccessControlRule' {notImpersonationRoleIds} -> notImpersonationRoleIds) (\s@AccessControlRule' {} a -> s {notImpersonationRoleIds = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | IPv4 CIDR ranges to exclude from the rule.+accessControlRule_notIpRanges :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_notIpRanges = Lens.lens (\AccessControlRule' {notIpRanges} -> notIpRanges) (\s@AccessControlRule' {} a -> s {notIpRanges = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | User IDs to exclude from the rule.+accessControlRule_notUserIds :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_notUserIds = Lens.lens (\AccessControlRule' {notUserIds} -> notUserIds) (\s@AccessControlRule' {} a -> s {notUserIds = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++-- | User IDs to include in the rule.+accessControlRule_userIds :: Lens.Lens' AccessControlRule (Prelude.Maybe [Prelude.Text])+accessControlRule_userIds = Lens.lens (\AccessControlRule' {userIds} -> userIds) (\s@AccessControlRule' {} a -> s {userIds = a} :: AccessControlRule) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON AccessControlRule where+ parseJSON =+ Data.withObject+ "AccessControlRule"+ ( \x ->+ AccessControlRule'+ Prelude.<$> (x Data..:? "Actions" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "DateCreated")+ Prelude.<*> (x Data..:? "DateModified")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "Effect")+ Prelude.<*> ( x+ Data..:? "ImpersonationRoleIds"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "IpRanges" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "NotActions" Data..!= Prelude.mempty)+ Prelude.<*> ( x+ Data..:? "NotImpersonationRoleIds"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "NotIpRanges" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "NotUserIds" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "UserIds" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable AccessControlRule where+ hashWithSalt _salt AccessControlRule' {..} =+ _salt+ `Prelude.hashWithSalt` actions+ `Prelude.hashWithSalt` dateCreated+ `Prelude.hashWithSalt` dateModified+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` effect+ `Prelude.hashWithSalt` impersonationRoleIds+ `Prelude.hashWithSalt` ipRanges+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` notActions+ `Prelude.hashWithSalt` notImpersonationRoleIds+ `Prelude.hashWithSalt` notIpRanges+ `Prelude.hashWithSalt` notUserIds+ `Prelude.hashWithSalt` userIds++instance Prelude.NFData AccessControlRule where+ rnf AccessControlRule' {..} =+ Prelude.rnf actions+ `Prelude.seq` Prelude.rnf dateCreated+ `Prelude.seq` Prelude.rnf dateModified+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf effect+ `Prelude.seq` Prelude.rnf impersonationRoleIds+ `Prelude.seq` Prelude.rnf ipRanges+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf notActions+ `Prelude.seq` Prelude.rnf notImpersonationRoleIds+ `Prelude.seq` Prelude.rnf notIpRanges+ `Prelude.seq` Prelude.rnf notUserIds+ `Prelude.seq` Prelude.rnf userIds
+ gen/Amazonka/WorkMail/Types/AccessControlRuleEffect.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.AccessControlRuleEffect+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.AccessControlRuleEffect+ ( AccessControlRuleEffect+ ( ..,+ AccessControlRuleEffect_ALLOW,+ AccessControlRuleEffect_DENY+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AccessControlRuleEffect = AccessControlRuleEffect'+ { fromAccessControlRuleEffect ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern AccessControlRuleEffect_ALLOW :: AccessControlRuleEffect+pattern AccessControlRuleEffect_ALLOW = AccessControlRuleEffect' "ALLOW"++pattern AccessControlRuleEffect_DENY :: AccessControlRuleEffect+pattern AccessControlRuleEffect_DENY = AccessControlRuleEffect' "DENY"++{-# COMPLETE+ AccessControlRuleEffect_ALLOW,+ AccessControlRuleEffect_DENY,+ AccessControlRuleEffect'+ #-}
+ gen/Amazonka/WorkMail/Types/AccessEffect.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.AccessEffect+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.AccessEffect+ ( AccessEffect+ ( ..,+ AccessEffect_ALLOW,+ AccessEffect_DENY+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AccessEffect = AccessEffect'+ { fromAccessEffect ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern AccessEffect_ALLOW :: AccessEffect+pattern AccessEffect_ALLOW = AccessEffect' "ALLOW"++pattern AccessEffect_DENY :: AccessEffect+pattern AccessEffect_DENY = AccessEffect' "DENY"++{-# COMPLETE+ AccessEffect_ALLOW,+ AccessEffect_DENY,+ AccessEffect'+ #-}
+ gen/Amazonka/WorkMail/Types/AvailabilityConfiguration.hs view
@@ -0,0 +1,146 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.AvailabilityConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.AvailabilityConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.AvailabilityProviderType+import Amazonka.WorkMail.Types.LambdaAvailabilityProvider+import Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider++-- | List all the @AvailabilityConfiguration@\'s for the given WorkMail+-- organization.+--+-- /See:/ 'newAvailabilityConfiguration' smart constructor.+data AvailabilityConfiguration = AvailabilityConfiguration'+ { -- | The date and time at which the availability configuration was created.+ dateCreated :: Prelude.Maybe Data.POSIX,+ -- | The date and time at which the availability configuration was last+ -- modified.+ dateModified :: Prelude.Maybe Data.POSIX,+ -- | Displays the domain to which the provider applies.+ domainName :: Prelude.Maybe Prelude.Text,+ -- | If @ProviderType@ is @EWS@, then this field contains+ -- @RedactedEwsAvailabilityProvider@. Otherwise, it is not required.+ ewsProvider :: Prelude.Maybe RedactedEwsAvailabilityProvider,+ -- | If ProviderType is @LAMBDA@ then this field contains+ -- @LambdaAvailabilityProvider@. Otherwise, it is not required.+ lambdaProvider :: Prelude.Maybe LambdaAvailabilityProvider,+ -- | Displays the provider type that applies to this domain.+ providerType :: Prelude.Maybe AvailabilityProviderType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AvailabilityConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dateCreated', 'availabilityConfiguration_dateCreated' - The date and time at which the availability configuration was created.+--+-- 'dateModified', 'availabilityConfiguration_dateModified' - The date and time at which the availability configuration was last+-- modified.+--+-- 'domainName', 'availabilityConfiguration_domainName' - Displays the domain to which the provider applies.+--+-- 'ewsProvider', 'availabilityConfiguration_ewsProvider' - If @ProviderType@ is @EWS@, then this field contains+-- @RedactedEwsAvailabilityProvider@. Otherwise, it is not required.+--+-- 'lambdaProvider', 'availabilityConfiguration_lambdaProvider' - If ProviderType is @LAMBDA@ then this field contains+-- @LambdaAvailabilityProvider@. Otherwise, it is not required.+--+-- 'providerType', 'availabilityConfiguration_providerType' - Displays the provider type that applies to this domain.+newAvailabilityConfiguration ::+ AvailabilityConfiguration+newAvailabilityConfiguration =+ AvailabilityConfiguration'+ { dateCreated =+ Prelude.Nothing,+ dateModified = Prelude.Nothing,+ domainName = Prelude.Nothing,+ ewsProvider = Prelude.Nothing,+ lambdaProvider = Prelude.Nothing,+ providerType = Prelude.Nothing+ }++-- | The date and time at which the availability configuration was created.+availabilityConfiguration_dateCreated :: Lens.Lens' AvailabilityConfiguration (Prelude.Maybe Prelude.UTCTime)+availabilityConfiguration_dateCreated = Lens.lens (\AvailabilityConfiguration' {dateCreated} -> dateCreated) (\s@AvailabilityConfiguration' {} a -> s {dateCreated = a} :: AvailabilityConfiguration) Prelude.. Lens.mapping Data._Time++-- | The date and time at which the availability configuration was last+-- modified.+availabilityConfiguration_dateModified :: Lens.Lens' AvailabilityConfiguration (Prelude.Maybe Prelude.UTCTime)+availabilityConfiguration_dateModified = Lens.lens (\AvailabilityConfiguration' {dateModified} -> dateModified) (\s@AvailabilityConfiguration' {} a -> s {dateModified = a} :: AvailabilityConfiguration) Prelude.. Lens.mapping Data._Time++-- | Displays the domain to which the provider applies.+availabilityConfiguration_domainName :: Lens.Lens' AvailabilityConfiguration (Prelude.Maybe Prelude.Text)+availabilityConfiguration_domainName = Lens.lens (\AvailabilityConfiguration' {domainName} -> domainName) (\s@AvailabilityConfiguration' {} a -> s {domainName = a} :: AvailabilityConfiguration)++-- | If @ProviderType@ is @EWS@, then this field contains+-- @RedactedEwsAvailabilityProvider@. Otherwise, it is not required.+availabilityConfiguration_ewsProvider :: Lens.Lens' AvailabilityConfiguration (Prelude.Maybe RedactedEwsAvailabilityProvider)+availabilityConfiguration_ewsProvider = Lens.lens (\AvailabilityConfiguration' {ewsProvider} -> ewsProvider) (\s@AvailabilityConfiguration' {} a -> s {ewsProvider = a} :: AvailabilityConfiguration)++-- | If ProviderType is @LAMBDA@ then this field contains+-- @LambdaAvailabilityProvider@. Otherwise, it is not required.+availabilityConfiguration_lambdaProvider :: Lens.Lens' AvailabilityConfiguration (Prelude.Maybe LambdaAvailabilityProvider)+availabilityConfiguration_lambdaProvider = Lens.lens (\AvailabilityConfiguration' {lambdaProvider} -> lambdaProvider) (\s@AvailabilityConfiguration' {} a -> s {lambdaProvider = a} :: AvailabilityConfiguration)++-- | Displays the provider type that applies to this domain.+availabilityConfiguration_providerType :: Lens.Lens' AvailabilityConfiguration (Prelude.Maybe AvailabilityProviderType)+availabilityConfiguration_providerType = Lens.lens (\AvailabilityConfiguration' {providerType} -> providerType) (\s@AvailabilityConfiguration' {} a -> s {providerType = a} :: AvailabilityConfiguration)++instance Data.FromJSON AvailabilityConfiguration where+ parseJSON =+ Data.withObject+ "AvailabilityConfiguration"+ ( \x ->+ AvailabilityConfiguration'+ Prelude.<$> (x Data..:? "DateCreated")+ Prelude.<*> (x Data..:? "DateModified")+ Prelude.<*> (x Data..:? "DomainName")+ Prelude.<*> (x Data..:? "EwsProvider")+ Prelude.<*> (x Data..:? "LambdaProvider")+ Prelude.<*> (x Data..:? "ProviderType")+ )++instance Prelude.Hashable AvailabilityConfiguration where+ hashWithSalt _salt AvailabilityConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` dateCreated+ `Prelude.hashWithSalt` dateModified+ `Prelude.hashWithSalt` domainName+ `Prelude.hashWithSalt` ewsProvider+ `Prelude.hashWithSalt` lambdaProvider+ `Prelude.hashWithSalt` providerType++instance Prelude.NFData AvailabilityConfiguration where+ rnf AvailabilityConfiguration' {..} =+ Prelude.rnf dateCreated+ `Prelude.seq` Prelude.rnf dateModified+ `Prelude.seq` Prelude.rnf domainName+ `Prelude.seq` Prelude.rnf ewsProvider+ `Prelude.seq` Prelude.rnf lambdaProvider+ `Prelude.seq` Prelude.rnf providerType
+ gen/Amazonka/WorkMail/Types/AvailabilityProviderType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.AvailabilityProviderType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.AvailabilityProviderType+ ( AvailabilityProviderType+ ( ..,+ AvailabilityProviderType_EWS,+ AvailabilityProviderType_LAMBDA+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AvailabilityProviderType = AvailabilityProviderType'+ { fromAvailabilityProviderType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern AvailabilityProviderType_EWS :: AvailabilityProviderType+pattern AvailabilityProviderType_EWS = AvailabilityProviderType' "EWS"++pattern AvailabilityProviderType_LAMBDA :: AvailabilityProviderType+pattern AvailabilityProviderType_LAMBDA = AvailabilityProviderType' "LAMBDA"++{-# COMPLETE+ AvailabilityProviderType_EWS,+ AvailabilityProviderType_LAMBDA,+ AvailabilityProviderType'+ #-}
+ gen/Amazonka/WorkMail/Types/BookingOptions.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.BookingOptions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.BookingOptions where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | At least one delegate must be associated to the resource to disable+-- automatic replies from the resource.+--+-- /See:/ 'newBookingOptions' smart constructor.+data BookingOptions = BookingOptions'+ { -- | The resource\'s ability to automatically reply to requests. If disabled,+ -- delegates must be associated to the resource.+ autoAcceptRequests :: Prelude.Maybe Prelude.Bool,+ -- | The resource\'s ability to automatically decline any conflicting+ -- requests.+ autoDeclineConflictingRequests :: Prelude.Maybe Prelude.Bool,+ -- | The resource\'s ability to automatically decline any recurring requests.+ autoDeclineRecurringRequests :: Prelude.Maybe Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BookingOptions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'autoAcceptRequests', 'bookingOptions_autoAcceptRequests' - The resource\'s ability to automatically reply to requests. If disabled,+-- delegates must be associated to the resource.+--+-- 'autoDeclineConflictingRequests', 'bookingOptions_autoDeclineConflictingRequests' - The resource\'s ability to automatically decline any conflicting+-- requests.+--+-- 'autoDeclineRecurringRequests', 'bookingOptions_autoDeclineRecurringRequests' - The resource\'s ability to automatically decline any recurring requests.+newBookingOptions ::+ BookingOptions+newBookingOptions =+ BookingOptions'+ { autoAcceptRequests =+ Prelude.Nothing,+ autoDeclineConflictingRequests = Prelude.Nothing,+ autoDeclineRecurringRequests = Prelude.Nothing+ }++-- | The resource\'s ability to automatically reply to requests. If disabled,+-- delegates must be associated to the resource.+bookingOptions_autoAcceptRequests :: Lens.Lens' BookingOptions (Prelude.Maybe Prelude.Bool)+bookingOptions_autoAcceptRequests = Lens.lens (\BookingOptions' {autoAcceptRequests} -> autoAcceptRequests) (\s@BookingOptions' {} a -> s {autoAcceptRequests = a} :: BookingOptions)++-- | The resource\'s ability to automatically decline any conflicting+-- requests.+bookingOptions_autoDeclineConflictingRequests :: Lens.Lens' BookingOptions (Prelude.Maybe Prelude.Bool)+bookingOptions_autoDeclineConflictingRequests = Lens.lens (\BookingOptions' {autoDeclineConflictingRequests} -> autoDeclineConflictingRequests) (\s@BookingOptions' {} a -> s {autoDeclineConflictingRequests = a} :: BookingOptions)++-- | The resource\'s ability to automatically decline any recurring requests.+bookingOptions_autoDeclineRecurringRequests :: Lens.Lens' BookingOptions (Prelude.Maybe Prelude.Bool)+bookingOptions_autoDeclineRecurringRequests = Lens.lens (\BookingOptions' {autoDeclineRecurringRequests} -> autoDeclineRecurringRequests) (\s@BookingOptions' {} a -> s {autoDeclineRecurringRequests = a} :: BookingOptions)++instance Data.FromJSON BookingOptions where+ parseJSON =+ Data.withObject+ "BookingOptions"+ ( \x ->+ BookingOptions'+ Prelude.<$> (x Data..:? "AutoAcceptRequests")+ Prelude.<*> (x Data..:? "AutoDeclineConflictingRequests")+ Prelude.<*> (x Data..:? "AutoDeclineRecurringRequests")+ )++instance Prelude.Hashable BookingOptions where+ hashWithSalt _salt BookingOptions' {..} =+ _salt+ `Prelude.hashWithSalt` autoAcceptRequests+ `Prelude.hashWithSalt` autoDeclineConflictingRequests+ `Prelude.hashWithSalt` autoDeclineRecurringRequests++instance Prelude.NFData BookingOptions where+ rnf BookingOptions' {..} =+ Prelude.rnf autoAcceptRequests+ `Prelude.seq` Prelude.rnf autoDeclineConflictingRequests+ `Prelude.seq` Prelude.rnf autoDeclineRecurringRequests++instance Data.ToJSON BookingOptions where+ toJSON BookingOptions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AutoAcceptRequests" Data..=)+ Prelude.<$> autoAcceptRequests,+ ("AutoDeclineConflictingRequests" Data..=)+ Prelude.<$> autoDeclineConflictingRequests,+ ("AutoDeclineRecurringRequests" Data..=)+ Prelude.<$> autoDeclineRecurringRequests+ ]+ )
+ gen/Amazonka/WorkMail/Types/Delegate.hs view
@@ -0,0 +1,89 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.Delegate+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.Delegate where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.MemberType++-- | The name of the attribute, which is one of the values defined in the+-- UserAttribute enumeration.+--+-- /See:/ 'newDelegate' smart constructor.+data Delegate = Delegate'+ { -- | The identifier for the user or group associated as the resource\'s+ -- delegate.+ id :: Prelude.Text,+ -- | The type of the delegate: user or group.+ type' :: MemberType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Delegate' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'id', 'delegate_id' - The identifier for the user or group associated as the resource\'s+-- delegate.+--+-- 'type'', 'delegate_type' - The type of the delegate: user or group.+newDelegate ::+ -- | 'id'+ Prelude.Text ->+ -- | 'type''+ MemberType ->+ Delegate+newDelegate pId_ pType_ =+ Delegate' {id = pId_, type' = pType_}++-- | The identifier for the user or group associated as the resource\'s+-- delegate.+delegate_id :: Lens.Lens' Delegate Prelude.Text+delegate_id = Lens.lens (\Delegate' {id} -> id) (\s@Delegate' {} a -> s {id = a} :: Delegate)++-- | The type of the delegate: user or group.+delegate_type :: Lens.Lens' Delegate MemberType+delegate_type = Lens.lens (\Delegate' {type'} -> type') (\s@Delegate' {} a -> s {type' = a} :: Delegate)++instance Data.FromJSON Delegate where+ parseJSON =+ Data.withObject+ "Delegate"+ ( \x ->+ Delegate'+ Prelude.<$> (x Data..: "Id")+ Prelude.<*> (x Data..: "Type")+ )++instance Prelude.Hashable Delegate where+ hashWithSalt _salt Delegate' {..} =+ _salt+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` type'++instance Prelude.NFData Delegate where+ rnf Delegate' {..} =+ Prelude.rnf id `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/WorkMail/Types/DnsRecord.hs view
@@ -0,0 +1,99 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.DnsRecord+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.DnsRecord where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A DNS record uploaded to your DNS provider.+--+-- /See:/ 'newDnsRecord' smart constructor.+data DnsRecord = DnsRecord'+ { -- | The DNS hostname.- For example, @domain.example.com@.+ hostname :: Prelude.Maybe Prelude.Text,+ -- | The RFC 1035 record type. Possible values: @CNAME@, @A@, @MX@.+ type' :: Prelude.Maybe Prelude.Text,+ -- | The value returned by the DNS for a query to that hostname and record+ -- type.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DnsRecord' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'hostname', 'dnsRecord_hostname' - The DNS hostname.- For example, @domain.example.com@.+--+-- 'type'', 'dnsRecord_type' - The RFC 1035 record type. Possible values: @CNAME@, @A@, @MX@.+--+-- 'value', 'dnsRecord_value' - The value returned by the DNS for a query to that hostname and record+-- type.+newDnsRecord ::+ DnsRecord+newDnsRecord =+ DnsRecord'+ { hostname = Prelude.Nothing,+ type' = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The DNS hostname.- For example, @domain.example.com@.+dnsRecord_hostname :: Lens.Lens' DnsRecord (Prelude.Maybe Prelude.Text)+dnsRecord_hostname = Lens.lens (\DnsRecord' {hostname} -> hostname) (\s@DnsRecord' {} a -> s {hostname = a} :: DnsRecord)++-- | The RFC 1035 record type. Possible values: @CNAME@, @A@, @MX@.+dnsRecord_type :: Lens.Lens' DnsRecord (Prelude.Maybe Prelude.Text)+dnsRecord_type = Lens.lens (\DnsRecord' {type'} -> type') (\s@DnsRecord' {} a -> s {type' = a} :: DnsRecord)++-- | The value returned by the DNS for a query to that hostname and record+-- type.+dnsRecord_value :: Lens.Lens' DnsRecord (Prelude.Maybe Prelude.Text)+dnsRecord_value = Lens.lens (\DnsRecord' {value} -> value) (\s@DnsRecord' {} a -> s {value = a} :: DnsRecord)++instance Data.FromJSON DnsRecord where+ parseJSON =+ Data.withObject+ "DnsRecord"+ ( \x ->+ DnsRecord'+ Prelude.<$> (x Data..:? "Hostname")+ Prelude.<*> (x Data..:? "Type")+ Prelude.<*> (x Data..:? "Value")+ )++instance Prelude.Hashable DnsRecord where+ hashWithSalt _salt DnsRecord' {..} =+ _salt+ `Prelude.hashWithSalt` hostname+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` value++instance Prelude.NFData DnsRecord where+ rnf DnsRecord' {..} =+ Prelude.rnf hostname+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf value
+ gen/Amazonka/WorkMail/Types/DnsRecordVerificationStatus.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.DnsRecordVerificationStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.DnsRecordVerificationStatus+ ( DnsRecordVerificationStatus+ ( ..,+ DnsRecordVerificationStatus_FAILED,+ DnsRecordVerificationStatus_PENDING,+ DnsRecordVerificationStatus_VERIFIED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DnsRecordVerificationStatus = DnsRecordVerificationStatus'+ { fromDnsRecordVerificationStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern DnsRecordVerificationStatus_FAILED :: DnsRecordVerificationStatus+pattern DnsRecordVerificationStatus_FAILED = DnsRecordVerificationStatus' "FAILED"++pattern DnsRecordVerificationStatus_PENDING :: DnsRecordVerificationStatus+pattern DnsRecordVerificationStatus_PENDING = DnsRecordVerificationStatus' "PENDING"++pattern DnsRecordVerificationStatus_VERIFIED :: DnsRecordVerificationStatus+pattern DnsRecordVerificationStatus_VERIFIED = DnsRecordVerificationStatus' "VERIFIED"++{-# COMPLETE+ DnsRecordVerificationStatus_FAILED,+ DnsRecordVerificationStatus_PENDING,+ DnsRecordVerificationStatus_VERIFIED,+ DnsRecordVerificationStatus'+ #-}
+ gen/Amazonka/WorkMail/Types/Domain.hs view
@@ -0,0 +1,92 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.Domain+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.Domain where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The domain to associate with an WorkMail organization.+--+-- When you configure a domain hosted in Amazon Route 53 (Route 53), all+-- recommended DNS records are added to the organization when you create+-- it. For more information, see+-- <https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html Adding a domain>+-- in the /WorkMail Administrator Guide/.+--+-- /See:/ 'newDomain' smart constructor.+data Domain = Domain'+ { -- | The fully qualified domain name.+ domainName :: Prelude.Maybe Prelude.Text,+ -- | The hosted zone ID for a domain hosted in Route 53. Required when+ -- configuring a domain hosted in Route 53.+ hostedZoneId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Domain' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'domainName', 'domain_domainName' - The fully qualified domain name.+--+-- 'hostedZoneId', 'domain_hostedZoneId' - The hosted zone ID for a domain hosted in Route 53. Required when+-- configuring a domain hosted in Route 53.+newDomain ::+ Domain+newDomain =+ Domain'+ { domainName = Prelude.Nothing,+ hostedZoneId = Prelude.Nothing+ }++-- | The fully qualified domain name.+domain_domainName :: Lens.Lens' Domain (Prelude.Maybe Prelude.Text)+domain_domainName = Lens.lens (\Domain' {domainName} -> domainName) (\s@Domain' {} a -> s {domainName = a} :: Domain)++-- | The hosted zone ID for a domain hosted in Route 53. Required when+-- configuring a domain hosted in Route 53.+domain_hostedZoneId :: Lens.Lens' Domain (Prelude.Maybe Prelude.Text)+domain_hostedZoneId = Lens.lens (\Domain' {hostedZoneId} -> hostedZoneId) (\s@Domain' {} a -> s {hostedZoneId = a} :: Domain)++instance Prelude.Hashable Domain where+ hashWithSalt _salt Domain' {..} =+ _salt+ `Prelude.hashWithSalt` domainName+ `Prelude.hashWithSalt` hostedZoneId++instance Prelude.NFData Domain where+ rnf Domain' {..} =+ Prelude.rnf domainName+ `Prelude.seq` Prelude.rnf hostedZoneId++instance Data.ToJSON Domain where+ toJSON Domain' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DomainName" Data..=) Prelude.<$> domainName,+ ("HostedZoneId" Data..=) Prelude.<$> hostedZoneId+ ]+ )
+ gen/Amazonka/WorkMail/Types/EntityState.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.EntityState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.EntityState+ ( EntityState+ ( ..,+ EntityState_DELETED,+ EntityState_DISABLED,+ EntityState_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EntityState = EntityState'+ { fromEntityState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EntityState_DELETED :: EntityState+pattern EntityState_DELETED = EntityState' "DELETED"++pattern EntityState_DISABLED :: EntityState+pattern EntityState_DISABLED = EntityState' "DISABLED"++pattern EntityState_ENABLED :: EntityState+pattern EntityState_ENABLED = EntityState' "ENABLED"++{-# COMPLETE+ EntityState_DELETED,+ EntityState_DISABLED,+ EntityState_ENABLED,+ EntityState'+ #-}
+ gen/Amazonka/WorkMail/Types/EwsAvailabilityProvider.hs view
@@ -0,0 +1,106 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.EwsAvailabilityProvider+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.EwsAvailabilityProvider where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes an EWS based availability provider. This is only used as input+-- to the service.+--+-- /See:/ 'newEwsAvailabilityProvider' smart constructor.+data EwsAvailabilityProvider = EwsAvailabilityProvider'+ { -- | The endpoint of the remote EWS server.+ ewsEndpoint :: Prelude.Text,+ -- | The username used to authenticate the remote EWS server.+ ewsUsername :: Prelude.Text,+ -- | The password used to authenticate the remote EWS server.+ ewsPassword :: Data.Sensitive Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EwsAvailabilityProvider' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'ewsEndpoint', 'ewsAvailabilityProvider_ewsEndpoint' - The endpoint of the remote EWS server.+--+-- 'ewsUsername', 'ewsAvailabilityProvider_ewsUsername' - The username used to authenticate the remote EWS server.+--+-- 'ewsPassword', 'ewsAvailabilityProvider_ewsPassword' - The password used to authenticate the remote EWS server.+newEwsAvailabilityProvider ::+ -- | 'ewsEndpoint'+ Prelude.Text ->+ -- | 'ewsUsername'+ Prelude.Text ->+ -- | 'ewsPassword'+ Prelude.Text ->+ EwsAvailabilityProvider+newEwsAvailabilityProvider+ pEwsEndpoint_+ pEwsUsername_+ pEwsPassword_ =+ EwsAvailabilityProvider'+ { ewsEndpoint =+ pEwsEndpoint_,+ ewsUsername = pEwsUsername_,+ ewsPassword = Data._Sensitive Lens.# pEwsPassword_+ }++-- | The endpoint of the remote EWS server.+ewsAvailabilityProvider_ewsEndpoint :: Lens.Lens' EwsAvailabilityProvider Prelude.Text+ewsAvailabilityProvider_ewsEndpoint = Lens.lens (\EwsAvailabilityProvider' {ewsEndpoint} -> ewsEndpoint) (\s@EwsAvailabilityProvider' {} a -> s {ewsEndpoint = a} :: EwsAvailabilityProvider)++-- | The username used to authenticate the remote EWS server.+ewsAvailabilityProvider_ewsUsername :: Lens.Lens' EwsAvailabilityProvider Prelude.Text+ewsAvailabilityProvider_ewsUsername = Lens.lens (\EwsAvailabilityProvider' {ewsUsername} -> ewsUsername) (\s@EwsAvailabilityProvider' {} a -> s {ewsUsername = a} :: EwsAvailabilityProvider)++-- | The password used to authenticate the remote EWS server.+ewsAvailabilityProvider_ewsPassword :: Lens.Lens' EwsAvailabilityProvider Prelude.Text+ewsAvailabilityProvider_ewsPassword = Lens.lens (\EwsAvailabilityProvider' {ewsPassword} -> ewsPassword) (\s@EwsAvailabilityProvider' {} a -> s {ewsPassword = a} :: EwsAvailabilityProvider) Prelude.. Data._Sensitive++instance Prelude.Hashable EwsAvailabilityProvider where+ hashWithSalt _salt EwsAvailabilityProvider' {..} =+ _salt+ `Prelude.hashWithSalt` ewsEndpoint+ `Prelude.hashWithSalt` ewsUsername+ `Prelude.hashWithSalt` ewsPassword++instance Prelude.NFData EwsAvailabilityProvider where+ rnf EwsAvailabilityProvider' {..} =+ Prelude.rnf ewsEndpoint+ `Prelude.seq` Prelude.rnf ewsUsername+ `Prelude.seq` Prelude.rnf ewsPassword++instance Data.ToJSON EwsAvailabilityProvider where+ toJSON EwsAvailabilityProvider' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("EwsEndpoint" Data..= ewsEndpoint),+ Prelude.Just ("EwsUsername" Data..= ewsUsername),+ Prelude.Just ("EwsPassword" Data..= ewsPassword)+ ]+ )
+ gen/Amazonka/WorkMail/Types/FolderConfiguration.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.FolderConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.FolderConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.FolderName+import Amazonka.WorkMail.Types.RetentionAction++-- | The configuration applied to an organization\'s folders by its retention+-- policy.+--+-- /See:/ 'newFolderConfiguration' smart constructor.+data FolderConfiguration = FolderConfiguration'+ { -- | The number of days for which the folder-configuration action applies.+ period :: Prelude.Maybe Prelude.Natural,+ -- | The folder name.+ name :: FolderName,+ -- | The action to take on the folder contents at the end of the folder+ -- configuration period.+ action :: RetentionAction+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FolderConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'period', 'folderConfiguration_period' - The number of days for which the folder-configuration action applies.+--+-- 'name', 'folderConfiguration_name' - The folder name.+--+-- 'action', 'folderConfiguration_action' - The action to take on the folder contents at the end of the folder+-- configuration period.+newFolderConfiguration ::+ -- | 'name'+ FolderName ->+ -- | 'action'+ RetentionAction ->+ FolderConfiguration+newFolderConfiguration pName_ pAction_ =+ FolderConfiguration'+ { period = Prelude.Nothing,+ name = pName_,+ action = pAction_+ }++-- | The number of days for which the folder-configuration action applies.+folderConfiguration_period :: Lens.Lens' FolderConfiguration (Prelude.Maybe Prelude.Natural)+folderConfiguration_period = Lens.lens (\FolderConfiguration' {period} -> period) (\s@FolderConfiguration' {} a -> s {period = a} :: FolderConfiguration)++-- | The folder name.+folderConfiguration_name :: Lens.Lens' FolderConfiguration FolderName+folderConfiguration_name = Lens.lens (\FolderConfiguration' {name} -> name) (\s@FolderConfiguration' {} a -> s {name = a} :: FolderConfiguration)++-- | The action to take on the folder contents at the end of the folder+-- configuration period.+folderConfiguration_action :: Lens.Lens' FolderConfiguration RetentionAction+folderConfiguration_action = Lens.lens (\FolderConfiguration' {action} -> action) (\s@FolderConfiguration' {} a -> s {action = a} :: FolderConfiguration)++instance Data.FromJSON FolderConfiguration where+ parseJSON =+ Data.withObject+ "FolderConfiguration"+ ( \x ->+ FolderConfiguration'+ Prelude.<$> (x Data..:? "Period")+ Prelude.<*> (x Data..: "Name")+ Prelude.<*> (x Data..: "Action")+ )++instance Prelude.Hashable FolderConfiguration where+ hashWithSalt _salt FolderConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` period+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` action++instance Prelude.NFData FolderConfiguration where+ rnf FolderConfiguration' {..} =+ Prelude.rnf period+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf action++instance Data.ToJSON FolderConfiguration where+ toJSON FolderConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Period" Data..=) Prelude.<$> period,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Action" Data..= action)+ ]+ )
+ gen/Amazonka/WorkMail/Types/FolderName.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.FolderName+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.FolderName+ ( FolderName+ ( ..,+ FolderName_DELETED_ITEMS,+ FolderName_DRAFTS,+ FolderName_INBOX,+ FolderName_JUNK_EMAIL,+ FolderName_SENT_ITEMS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype FolderName = FolderName'+ { fromFolderName ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern FolderName_DELETED_ITEMS :: FolderName+pattern FolderName_DELETED_ITEMS = FolderName' "DELETED_ITEMS"++pattern FolderName_DRAFTS :: FolderName+pattern FolderName_DRAFTS = FolderName' "DRAFTS"++pattern FolderName_INBOX :: FolderName+pattern FolderName_INBOX = FolderName' "INBOX"++pattern FolderName_JUNK_EMAIL :: FolderName+pattern FolderName_JUNK_EMAIL = FolderName' "JUNK_EMAIL"++pattern FolderName_SENT_ITEMS :: FolderName+pattern FolderName_SENT_ITEMS = FolderName' "SENT_ITEMS"++{-# COMPLETE+ FolderName_DELETED_ITEMS,+ FolderName_DRAFTS,+ FolderName_INBOX,+ FolderName_JUNK_EMAIL,+ FolderName_SENT_ITEMS,+ FolderName'+ #-}
+ gen/Amazonka/WorkMail/Types/Group.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.Group+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.Group where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.EntityState++-- | The representation of an WorkMail group.+--+-- /See:/ 'newGroup' smart constructor.+data Group = Group'+ { -- | The date indicating when the group was disabled from WorkMail use.+ disabledDate :: Prelude.Maybe Data.POSIX,+ -- | The email of the group.+ email :: Prelude.Maybe Prelude.Text,+ -- | The date indicating when the group was enabled for WorkMail use.+ enabledDate :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the group.+ id :: Prelude.Maybe Prelude.Text,+ -- | The name of the group.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the group, which can be ENABLED, DISABLED, or DELETED.+ state :: Prelude.Maybe EntityState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Group' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'disabledDate', 'group_disabledDate' - The date indicating when the group was disabled from WorkMail use.+--+-- 'email', 'group_email' - The email of the group.+--+-- 'enabledDate', 'group_enabledDate' - The date indicating when the group was enabled for WorkMail use.+--+-- 'id', 'group_id' - The identifier of the group.+--+-- 'name', 'group_name' - The name of the group.+--+-- 'state', 'group_state' - The state of the group, which can be ENABLED, DISABLED, or DELETED.+newGroup ::+ Group+newGroup =+ Group'+ { disabledDate = Prelude.Nothing,+ email = Prelude.Nothing,+ enabledDate = Prelude.Nothing,+ id = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The date indicating when the group was disabled from WorkMail use.+group_disabledDate :: Lens.Lens' Group (Prelude.Maybe Prelude.UTCTime)+group_disabledDate = Lens.lens (\Group' {disabledDate} -> disabledDate) (\s@Group' {} a -> s {disabledDate = a} :: Group) Prelude.. Lens.mapping Data._Time++-- | The email of the group.+group_email :: Lens.Lens' Group (Prelude.Maybe Prelude.Text)+group_email = Lens.lens (\Group' {email} -> email) (\s@Group' {} a -> s {email = a} :: Group)++-- | The date indicating when the group was enabled for WorkMail use.+group_enabledDate :: Lens.Lens' Group (Prelude.Maybe Prelude.UTCTime)+group_enabledDate = Lens.lens (\Group' {enabledDate} -> enabledDate) (\s@Group' {} a -> s {enabledDate = a} :: Group) Prelude.. Lens.mapping Data._Time++-- | The identifier of the group.+group_id :: Lens.Lens' Group (Prelude.Maybe Prelude.Text)+group_id = Lens.lens (\Group' {id} -> id) (\s@Group' {} a -> s {id = a} :: Group)++-- | The name of the group.+group_name :: Lens.Lens' Group (Prelude.Maybe Prelude.Text)+group_name = Lens.lens (\Group' {name} -> name) (\s@Group' {} a -> s {name = a} :: Group)++-- | The state of the group, which can be ENABLED, DISABLED, or DELETED.+group_state :: Lens.Lens' Group (Prelude.Maybe EntityState)+group_state = Lens.lens (\Group' {state} -> state) (\s@Group' {} a -> s {state = a} :: Group)++instance Data.FromJSON Group where+ parseJSON =+ Data.withObject+ "Group"+ ( \x ->+ Group'+ Prelude.<$> (x Data..:? "DisabledDate")+ Prelude.<*> (x Data..:? "Email")+ Prelude.<*> (x Data..:? "EnabledDate")+ Prelude.<*> (x Data..:? "Id")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "State")+ )++instance Prelude.Hashable Group where+ hashWithSalt _salt Group' {..} =+ _salt+ `Prelude.hashWithSalt` disabledDate+ `Prelude.hashWithSalt` email+ `Prelude.hashWithSalt` enabledDate+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` state++instance Prelude.NFData Group where+ rnf Group' {..} =+ Prelude.rnf disabledDate+ `Prelude.seq` Prelude.rnf email+ `Prelude.seq` Prelude.rnf enabledDate+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/WorkMail/Types/ImpersonationMatchedRule.hs view
@@ -0,0 +1,85 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.ImpersonationMatchedRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.ImpersonationMatchedRule where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The impersonation rule that matched the input.+--+-- /See:/ 'newImpersonationMatchedRule' smart constructor.+data ImpersonationMatchedRule = ImpersonationMatchedRule'+ { -- | The ID of the rule that matched the input+ impersonationRuleId :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule that matched the input.+ name :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ImpersonationMatchedRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'impersonationRuleId', 'impersonationMatchedRule_impersonationRuleId' - The ID of the rule that matched the input+--+-- 'name', 'impersonationMatchedRule_name' - The name of the rule that matched the input.+newImpersonationMatchedRule ::+ ImpersonationMatchedRule+newImpersonationMatchedRule =+ ImpersonationMatchedRule'+ { impersonationRuleId =+ Prelude.Nothing,+ name = Prelude.Nothing+ }++-- | The ID of the rule that matched the input+impersonationMatchedRule_impersonationRuleId :: Lens.Lens' ImpersonationMatchedRule (Prelude.Maybe Prelude.Text)+impersonationMatchedRule_impersonationRuleId = Lens.lens (\ImpersonationMatchedRule' {impersonationRuleId} -> impersonationRuleId) (\s@ImpersonationMatchedRule' {} a -> s {impersonationRuleId = a} :: ImpersonationMatchedRule)++-- | The name of the rule that matched the input.+impersonationMatchedRule_name :: Lens.Lens' ImpersonationMatchedRule (Prelude.Maybe Prelude.Text)+impersonationMatchedRule_name = Lens.lens (\ImpersonationMatchedRule' {name} -> name) (\s@ImpersonationMatchedRule' {} a -> s {name = a} :: ImpersonationMatchedRule)++instance Data.FromJSON ImpersonationMatchedRule where+ parseJSON =+ Data.withObject+ "ImpersonationMatchedRule"+ ( \x ->+ ImpersonationMatchedRule'+ Prelude.<$> (x Data..:? "ImpersonationRuleId")+ Prelude.<*> (x Data..:? "Name")+ )++instance Prelude.Hashable ImpersonationMatchedRule where+ hashWithSalt _salt ImpersonationMatchedRule' {..} =+ _salt+ `Prelude.hashWithSalt` impersonationRuleId+ `Prelude.hashWithSalt` name++instance Prelude.NFData ImpersonationMatchedRule where+ rnf ImpersonationMatchedRule' {..} =+ Prelude.rnf impersonationRuleId+ `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/WorkMail/Types/ImpersonationRole.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.ImpersonationRole+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.ImpersonationRole where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.ImpersonationRoleType++-- | An impersonation role for the given WorkMail organization.+--+-- /See:/ 'newImpersonationRole' smart constructor.+data ImpersonationRole = ImpersonationRole'+ { -- | The date when the impersonation role was created.+ dateCreated :: Prelude.Maybe Data.POSIX,+ -- | The date when the impersonation role was last modified.+ dateModified :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the impersonation role.+ impersonationRoleId :: Prelude.Maybe Prelude.Text,+ -- | The impersonation role name.+ name :: Prelude.Maybe Prelude.Text,+ -- | The impersonation role type.+ type' :: Prelude.Maybe ImpersonationRoleType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ImpersonationRole' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dateCreated', 'impersonationRole_dateCreated' - The date when the impersonation role was created.+--+-- 'dateModified', 'impersonationRole_dateModified' - The date when the impersonation role was last modified.+--+-- 'impersonationRoleId', 'impersonationRole_impersonationRoleId' - The identifier of the impersonation role.+--+-- 'name', 'impersonationRole_name' - The impersonation role name.+--+-- 'type'', 'impersonationRole_type' - The impersonation role type.+newImpersonationRole ::+ ImpersonationRole+newImpersonationRole =+ ImpersonationRole'+ { dateCreated = Prelude.Nothing,+ dateModified = Prelude.Nothing,+ impersonationRoleId = Prelude.Nothing,+ name = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The date when the impersonation role was created.+impersonationRole_dateCreated :: Lens.Lens' ImpersonationRole (Prelude.Maybe Prelude.UTCTime)+impersonationRole_dateCreated = Lens.lens (\ImpersonationRole' {dateCreated} -> dateCreated) (\s@ImpersonationRole' {} a -> s {dateCreated = a} :: ImpersonationRole) Prelude.. Lens.mapping Data._Time++-- | The date when the impersonation role was last modified.+impersonationRole_dateModified :: Lens.Lens' ImpersonationRole (Prelude.Maybe Prelude.UTCTime)+impersonationRole_dateModified = Lens.lens (\ImpersonationRole' {dateModified} -> dateModified) (\s@ImpersonationRole' {} a -> s {dateModified = a} :: ImpersonationRole) Prelude.. Lens.mapping Data._Time++-- | The identifier of the impersonation role.+impersonationRole_impersonationRoleId :: Lens.Lens' ImpersonationRole (Prelude.Maybe Prelude.Text)+impersonationRole_impersonationRoleId = Lens.lens (\ImpersonationRole' {impersonationRoleId} -> impersonationRoleId) (\s@ImpersonationRole' {} a -> s {impersonationRoleId = a} :: ImpersonationRole)++-- | The impersonation role name.+impersonationRole_name :: Lens.Lens' ImpersonationRole (Prelude.Maybe Prelude.Text)+impersonationRole_name = Lens.lens (\ImpersonationRole' {name} -> name) (\s@ImpersonationRole' {} a -> s {name = a} :: ImpersonationRole)++-- | The impersonation role type.+impersonationRole_type :: Lens.Lens' ImpersonationRole (Prelude.Maybe ImpersonationRoleType)+impersonationRole_type = Lens.lens (\ImpersonationRole' {type'} -> type') (\s@ImpersonationRole' {} a -> s {type' = a} :: ImpersonationRole)++instance Data.FromJSON ImpersonationRole where+ parseJSON =+ Data.withObject+ "ImpersonationRole"+ ( \x ->+ ImpersonationRole'+ Prelude.<$> (x Data..:? "DateCreated")+ Prelude.<*> (x Data..:? "DateModified")+ Prelude.<*> (x Data..:? "ImpersonationRoleId")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "Type")+ )++instance Prelude.Hashable ImpersonationRole where+ hashWithSalt _salt ImpersonationRole' {..} =+ _salt+ `Prelude.hashWithSalt` dateCreated+ `Prelude.hashWithSalt` dateModified+ `Prelude.hashWithSalt` impersonationRoleId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'++instance Prelude.NFData ImpersonationRole where+ rnf ImpersonationRole' {..} =+ Prelude.rnf dateCreated+ `Prelude.seq` Prelude.rnf dateModified+ `Prelude.seq` Prelude.rnf impersonationRoleId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/WorkMail/Types/ImpersonationRoleType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.ImpersonationRoleType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.ImpersonationRoleType+ ( ImpersonationRoleType+ ( ..,+ ImpersonationRoleType_FULL_ACCESS,+ ImpersonationRoleType_READ_ONLY+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ImpersonationRoleType = ImpersonationRoleType'+ { fromImpersonationRoleType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ImpersonationRoleType_FULL_ACCESS :: ImpersonationRoleType+pattern ImpersonationRoleType_FULL_ACCESS = ImpersonationRoleType' "FULL_ACCESS"++pattern ImpersonationRoleType_READ_ONLY :: ImpersonationRoleType+pattern ImpersonationRoleType_READ_ONLY = ImpersonationRoleType' "READ_ONLY"++{-# COMPLETE+ ImpersonationRoleType_FULL_ACCESS,+ ImpersonationRoleType_READ_ONLY,+ ImpersonationRoleType'+ #-}
+ gen/Amazonka/WorkMail/Types/ImpersonationRule.hs view
@@ -0,0 +1,155 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.ImpersonationRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.ImpersonationRule where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.AccessEffect++-- | The rules for the given impersonation role.+--+-- /See:/ 'newImpersonationRule' smart constructor.+data ImpersonationRule = ImpersonationRule'+ { -- | The rule description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The rule name.+ name :: Prelude.Maybe Prelude.Text,+ -- | A list of user IDs that don\'t match the rule.+ notTargetUsers :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | A list of user IDs that match the rule.+ targetUsers :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | The identifier of the rule.+ impersonationRuleId :: Prelude.Text,+ -- | The effect of the rule when it matches the input. Allowed effect values+ -- are @ALLOW@ or @DENY@.+ effect :: AccessEffect+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ImpersonationRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'impersonationRule_description' - The rule description.+--+-- 'name', 'impersonationRule_name' - The rule name.+--+-- 'notTargetUsers', 'impersonationRule_notTargetUsers' - A list of user IDs that don\'t match the rule.+--+-- 'targetUsers', 'impersonationRule_targetUsers' - A list of user IDs that match the rule.+--+-- 'impersonationRuleId', 'impersonationRule_impersonationRuleId' - The identifier of the rule.+--+-- 'effect', 'impersonationRule_effect' - The effect of the rule when it matches the input. Allowed effect values+-- are @ALLOW@ or @DENY@.+newImpersonationRule ::+ -- | 'impersonationRuleId'+ Prelude.Text ->+ -- | 'effect'+ AccessEffect ->+ ImpersonationRule+newImpersonationRule pImpersonationRuleId_ pEffect_ =+ ImpersonationRule'+ { description = Prelude.Nothing,+ name = Prelude.Nothing,+ notTargetUsers = Prelude.Nothing,+ targetUsers = Prelude.Nothing,+ impersonationRuleId = pImpersonationRuleId_,+ effect = pEffect_+ }++-- | The rule description.+impersonationRule_description :: Lens.Lens' ImpersonationRule (Prelude.Maybe Prelude.Text)+impersonationRule_description = Lens.lens (\ImpersonationRule' {description} -> description) (\s@ImpersonationRule' {} a -> s {description = a} :: ImpersonationRule)++-- | The rule name.+impersonationRule_name :: Lens.Lens' ImpersonationRule (Prelude.Maybe Prelude.Text)+impersonationRule_name = Lens.lens (\ImpersonationRule' {name} -> name) (\s@ImpersonationRule' {} a -> s {name = a} :: ImpersonationRule)++-- | A list of user IDs that don\'t match the rule.+impersonationRule_notTargetUsers :: Lens.Lens' ImpersonationRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+impersonationRule_notTargetUsers = Lens.lens (\ImpersonationRule' {notTargetUsers} -> notTargetUsers) (\s@ImpersonationRule' {} a -> s {notTargetUsers = a} :: ImpersonationRule) Prelude.. Lens.mapping Lens.coerced++-- | A list of user IDs that match the rule.+impersonationRule_targetUsers :: Lens.Lens' ImpersonationRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+impersonationRule_targetUsers = Lens.lens (\ImpersonationRule' {targetUsers} -> targetUsers) (\s@ImpersonationRule' {} a -> s {targetUsers = a} :: ImpersonationRule) Prelude.. Lens.mapping Lens.coerced++-- | The identifier of the rule.+impersonationRule_impersonationRuleId :: Lens.Lens' ImpersonationRule Prelude.Text+impersonationRule_impersonationRuleId = Lens.lens (\ImpersonationRule' {impersonationRuleId} -> impersonationRuleId) (\s@ImpersonationRule' {} a -> s {impersonationRuleId = a} :: ImpersonationRule)++-- | The effect of the rule when it matches the input. Allowed effect values+-- are @ALLOW@ or @DENY@.+impersonationRule_effect :: Lens.Lens' ImpersonationRule AccessEffect+impersonationRule_effect = Lens.lens (\ImpersonationRule' {effect} -> effect) (\s@ImpersonationRule' {} a -> s {effect = a} :: ImpersonationRule)++instance Data.FromJSON ImpersonationRule where+ parseJSON =+ Data.withObject+ "ImpersonationRule"+ ( \x ->+ ImpersonationRule'+ Prelude.<$> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "NotTargetUsers")+ Prelude.<*> (x Data..:? "TargetUsers")+ Prelude.<*> (x Data..: "ImpersonationRuleId")+ Prelude.<*> (x Data..: "Effect")+ )++instance Prelude.Hashable ImpersonationRule where+ hashWithSalt _salt ImpersonationRule' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` notTargetUsers+ `Prelude.hashWithSalt` targetUsers+ `Prelude.hashWithSalt` impersonationRuleId+ `Prelude.hashWithSalt` effect++instance Prelude.NFData ImpersonationRule where+ rnf ImpersonationRule' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf notTargetUsers+ `Prelude.seq` Prelude.rnf targetUsers+ `Prelude.seq` Prelude.rnf impersonationRuleId+ `Prelude.seq` Prelude.rnf effect++instance Data.ToJSON ImpersonationRule where+ toJSON ImpersonationRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("Name" Data..=) Prelude.<$> name,+ ("NotTargetUsers" Data..=)+ Prelude.<$> notTargetUsers,+ ("TargetUsers" Data..=) Prelude.<$> targetUsers,+ Prelude.Just+ ("ImpersonationRuleId" Data..= impersonationRuleId),+ Prelude.Just ("Effect" Data..= effect)+ ]+ )
+ gen/Amazonka/WorkMail/Types/LambdaAvailabilityProvider.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.LambdaAvailabilityProvider+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.LambdaAvailabilityProvider where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes a Lambda based availability provider.+--+-- /See:/ 'newLambdaAvailabilityProvider' smart constructor.+data LambdaAvailabilityProvider = LambdaAvailabilityProvider'+ { -- | The Amazon Resource Name (ARN) of the Lambda that acts as the+ -- availability provider.+ lambdaArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LambdaAvailabilityProvider' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'lambdaArn', 'lambdaAvailabilityProvider_lambdaArn' - The Amazon Resource Name (ARN) of the Lambda that acts as the+-- availability provider.+newLambdaAvailabilityProvider ::+ -- | 'lambdaArn'+ Prelude.Text ->+ LambdaAvailabilityProvider+newLambdaAvailabilityProvider pLambdaArn_ =+ LambdaAvailabilityProvider'+ { lambdaArn =+ pLambdaArn_+ }++-- | The Amazon Resource Name (ARN) of the Lambda that acts as the+-- availability provider.+lambdaAvailabilityProvider_lambdaArn :: Lens.Lens' LambdaAvailabilityProvider Prelude.Text+lambdaAvailabilityProvider_lambdaArn = Lens.lens (\LambdaAvailabilityProvider' {lambdaArn} -> lambdaArn) (\s@LambdaAvailabilityProvider' {} a -> s {lambdaArn = a} :: LambdaAvailabilityProvider)++instance Data.FromJSON LambdaAvailabilityProvider where+ parseJSON =+ Data.withObject+ "LambdaAvailabilityProvider"+ ( \x ->+ LambdaAvailabilityProvider'+ Prelude.<$> (x Data..: "LambdaArn")+ )++instance Prelude.Hashable LambdaAvailabilityProvider where+ hashWithSalt _salt LambdaAvailabilityProvider' {..} =+ _salt `Prelude.hashWithSalt` lambdaArn++instance Prelude.NFData LambdaAvailabilityProvider where+ rnf LambdaAvailabilityProvider' {..} =+ Prelude.rnf lambdaArn++instance Data.ToJSON LambdaAvailabilityProvider where+ toJSON LambdaAvailabilityProvider' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("LambdaArn" Data..= lambdaArn)]+ )
+ gen/Amazonka/WorkMail/Types/MailDomainSummary.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MailDomainSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MailDomainSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The data for a given domain.+--+-- /See:/ 'newMailDomainSummary' smart constructor.+data MailDomainSummary = MailDomainSummary'+ { -- | Whether the domain is default or not.+ defaultDomain :: Prelude.Maybe Prelude.Bool,+ -- | The domain name.+ domainName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MailDomainSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'defaultDomain', 'mailDomainSummary_defaultDomain' - Whether the domain is default or not.+--+-- 'domainName', 'mailDomainSummary_domainName' - The domain name.+newMailDomainSummary ::+ MailDomainSummary+newMailDomainSummary =+ MailDomainSummary'+ { defaultDomain = Prelude.Nothing,+ domainName = Prelude.Nothing+ }++-- | Whether the domain is default or not.+mailDomainSummary_defaultDomain :: Lens.Lens' MailDomainSummary (Prelude.Maybe Prelude.Bool)+mailDomainSummary_defaultDomain = Lens.lens (\MailDomainSummary' {defaultDomain} -> defaultDomain) (\s@MailDomainSummary' {} a -> s {defaultDomain = a} :: MailDomainSummary)++-- | The domain name.+mailDomainSummary_domainName :: Lens.Lens' MailDomainSummary (Prelude.Maybe Prelude.Text)+mailDomainSummary_domainName = Lens.lens (\MailDomainSummary' {domainName} -> domainName) (\s@MailDomainSummary' {} a -> s {domainName = a} :: MailDomainSummary)++instance Data.FromJSON MailDomainSummary where+ parseJSON =+ Data.withObject+ "MailDomainSummary"+ ( \x ->+ MailDomainSummary'+ Prelude.<$> (x Data..:? "DefaultDomain")+ Prelude.<*> (x Data..:? "DomainName")+ )++instance Prelude.Hashable MailDomainSummary where+ hashWithSalt _salt MailDomainSummary' {..} =+ _salt+ `Prelude.hashWithSalt` defaultDomain+ `Prelude.hashWithSalt` domainName++instance Prelude.NFData MailDomainSummary where+ rnf MailDomainSummary' {..} =+ Prelude.rnf defaultDomain+ `Prelude.seq` Prelude.rnf domainName
+ gen/Amazonka/WorkMail/Types/MailboxExportJob.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MailboxExportJob+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MailboxExportJob where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.MailboxExportJobState++-- | 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.+--+-- /See:/ 'newMailboxExportJob' smart constructor.+data MailboxExportJob = MailboxExportJob'+ { -- | The mailbox export job description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The mailbox export job end timestamp.+ endTime :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the user or resource associated with the mailbox.+ entityId :: Prelude.Maybe Prelude.Text,+ -- | The estimated progress of the mailbox export job, in percentage points.+ estimatedProgress :: Prelude.Maybe Prelude.Natural,+ -- | The identifier of the mailbox export job.+ jobId :: Prelude.Maybe Prelude.Text,+ -- | The name of the S3 bucket.+ s3BucketName :: Prelude.Maybe Prelude.Text,+ -- | The path to the S3 bucket and file that the mailbox export job exports+ -- to.+ s3Path :: Prelude.Maybe Prelude.Text,+ -- | The mailbox export job start timestamp.+ startTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the mailbox export job.+ state :: Prelude.Maybe MailboxExportJobState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MailboxExportJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'mailboxExportJob_description' - The mailbox export job description.+--+-- 'endTime', 'mailboxExportJob_endTime' - The mailbox export job end timestamp.+--+-- 'entityId', 'mailboxExportJob_entityId' - The identifier of the user or resource associated with the mailbox.+--+-- 'estimatedProgress', 'mailboxExportJob_estimatedProgress' - The estimated progress of the mailbox export job, in percentage points.+--+-- 'jobId', 'mailboxExportJob_jobId' - The identifier of the mailbox export job.+--+-- 's3BucketName', 'mailboxExportJob_s3BucketName' - The name of the S3 bucket.+--+-- 's3Path', 'mailboxExportJob_s3Path' - The path to the S3 bucket and file that the mailbox export job exports+-- to.+--+-- 'startTime', 'mailboxExportJob_startTime' - The mailbox export job start timestamp.+--+-- 'state', 'mailboxExportJob_state' - The state of the mailbox export job.+newMailboxExportJob ::+ MailboxExportJob+newMailboxExportJob =+ MailboxExportJob'+ { description = Prelude.Nothing,+ endTime = Prelude.Nothing,+ entityId = Prelude.Nothing,+ estimatedProgress = Prelude.Nothing,+ jobId = Prelude.Nothing,+ s3BucketName = Prelude.Nothing,+ s3Path = Prelude.Nothing,+ startTime = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The mailbox export job description.+mailboxExportJob_description :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.Text)+mailboxExportJob_description = Lens.lens (\MailboxExportJob' {description} -> description) (\s@MailboxExportJob' {} a -> s {description = a} :: MailboxExportJob)++-- | The mailbox export job end timestamp.+mailboxExportJob_endTime :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.UTCTime)+mailboxExportJob_endTime = Lens.lens (\MailboxExportJob' {endTime} -> endTime) (\s@MailboxExportJob' {} a -> s {endTime = a} :: MailboxExportJob) Prelude.. Lens.mapping Data._Time++-- | The identifier of the user or resource associated with the mailbox.+mailboxExportJob_entityId :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.Text)+mailboxExportJob_entityId = Lens.lens (\MailboxExportJob' {entityId} -> entityId) (\s@MailboxExportJob' {} a -> s {entityId = a} :: MailboxExportJob)++-- | The estimated progress of the mailbox export job, in percentage points.+mailboxExportJob_estimatedProgress :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.Natural)+mailboxExportJob_estimatedProgress = Lens.lens (\MailboxExportJob' {estimatedProgress} -> estimatedProgress) (\s@MailboxExportJob' {} a -> s {estimatedProgress = a} :: MailboxExportJob)++-- | The identifier of the mailbox export job.+mailboxExportJob_jobId :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.Text)+mailboxExportJob_jobId = Lens.lens (\MailboxExportJob' {jobId} -> jobId) (\s@MailboxExportJob' {} a -> s {jobId = a} :: MailboxExportJob)++-- | The name of the S3 bucket.+mailboxExportJob_s3BucketName :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.Text)+mailboxExportJob_s3BucketName = Lens.lens (\MailboxExportJob' {s3BucketName} -> s3BucketName) (\s@MailboxExportJob' {} a -> s {s3BucketName = a} :: MailboxExportJob)++-- | The path to the S3 bucket and file that the mailbox export job exports+-- to.+mailboxExportJob_s3Path :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.Text)+mailboxExportJob_s3Path = Lens.lens (\MailboxExportJob' {s3Path} -> s3Path) (\s@MailboxExportJob' {} a -> s {s3Path = a} :: MailboxExportJob)++-- | The mailbox export job start timestamp.+mailboxExportJob_startTime :: Lens.Lens' MailboxExportJob (Prelude.Maybe Prelude.UTCTime)+mailboxExportJob_startTime = Lens.lens (\MailboxExportJob' {startTime} -> startTime) (\s@MailboxExportJob' {} a -> s {startTime = a} :: MailboxExportJob) Prelude.. Lens.mapping Data._Time++-- | The state of the mailbox export job.+mailboxExportJob_state :: Lens.Lens' MailboxExportJob (Prelude.Maybe MailboxExportJobState)+mailboxExportJob_state = Lens.lens (\MailboxExportJob' {state} -> state) (\s@MailboxExportJob' {} a -> s {state = a} :: MailboxExportJob)++instance Data.FromJSON MailboxExportJob where+ parseJSON =+ Data.withObject+ "MailboxExportJob"+ ( \x ->+ MailboxExportJob'+ Prelude.<$> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "EndTime")+ Prelude.<*> (x Data..:? "EntityId")+ Prelude.<*> (x Data..:? "EstimatedProgress")+ Prelude.<*> (x Data..:? "JobId")+ Prelude.<*> (x Data..:? "S3BucketName")+ Prelude.<*> (x Data..:? "S3Path")+ Prelude.<*> (x Data..:? "StartTime")+ Prelude.<*> (x Data..:? "State")+ )++instance Prelude.Hashable MailboxExportJob where+ hashWithSalt _salt MailboxExportJob' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` endTime+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` estimatedProgress+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` s3BucketName+ `Prelude.hashWithSalt` s3Path+ `Prelude.hashWithSalt` startTime+ `Prelude.hashWithSalt` state++instance Prelude.NFData MailboxExportJob where+ rnf MailboxExportJob' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf endTime+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf estimatedProgress+ `Prelude.seq` Prelude.rnf jobId+ `Prelude.seq` Prelude.rnf s3BucketName+ `Prelude.seq` Prelude.rnf s3Path+ `Prelude.seq` Prelude.rnf startTime+ `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/WorkMail/Types/MailboxExportJobState.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MailboxExportJobState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MailboxExportJobState+ ( MailboxExportJobState+ ( ..,+ MailboxExportJobState_CANCELLED,+ MailboxExportJobState_COMPLETED,+ MailboxExportJobState_FAILED,+ MailboxExportJobState_RUNNING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MailboxExportJobState = MailboxExportJobState'+ { fromMailboxExportJobState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MailboxExportJobState_CANCELLED :: MailboxExportJobState+pattern MailboxExportJobState_CANCELLED = MailboxExportJobState' "CANCELLED"++pattern MailboxExportJobState_COMPLETED :: MailboxExportJobState+pattern MailboxExportJobState_COMPLETED = MailboxExportJobState' "COMPLETED"++pattern MailboxExportJobState_FAILED :: MailboxExportJobState+pattern MailboxExportJobState_FAILED = MailboxExportJobState' "FAILED"++pattern MailboxExportJobState_RUNNING :: MailboxExportJobState+pattern MailboxExportJobState_RUNNING = MailboxExportJobState' "RUNNING"++{-# COMPLETE+ MailboxExportJobState_CANCELLED,+ MailboxExportJobState_COMPLETED,+ MailboxExportJobState_FAILED,+ MailboxExportJobState_RUNNING,+ MailboxExportJobState'+ #-}
+ gen/Amazonka/WorkMail/Types/Member.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.Member+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.Member where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.EntityState+import Amazonka.WorkMail.Types.MemberType++-- | The representation of a user or group.+--+-- /See:/ 'newMember' smart constructor.+data Member = Member'+ { -- | The date indicating when the member was disabled from WorkMail use.+ disabledDate :: Prelude.Maybe Data.POSIX,+ -- | The date indicating when the member was enabled for WorkMail use.+ enabledDate :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the member.+ id :: Prelude.Maybe Prelude.Text,+ -- | The name of the member.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the member, which can be ENABLED, DISABLED, or DELETED.+ state :: Prelude.Maybe EntityState,+ -- | A member can be a user or group.+ type' :: Prelude.Maybe MemberType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Member' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'disabledDate', 'member_disabledDate' - The date indicating when the member was disabled from WorkMail use.+--+-- 'enabledDate', 'member_enabledDate' - The date indicating when the member was enabled for WorkMail use.+--+-- 'id', 'member_id' - The identifier of the member.+--+-- 'name', 'member_name' - The name of the member.+--+-- 'state', 'member_state' - The state of the member, which can be ENABLED, DISABLED, or DELETED.+--+-- 'type'', 'member_type' - A member can be a user or group.+newMember ::+ Member+newMember =+ Member'+ { disabledDate = Prelude.Nothing,+ enabledDate = Prelude.Nothing,+ id = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The date indicating when the member was disabled from WorkMail use.+member_disabledDate :: Lens.Lens' Member (Prelude.Maybe Prelude.UTCTime)+member_disabledDate = Lens.lens (\Member' {disabledDate} -> disabledDate) (\s@Member' {} a -> s {disabledDate = a} :: Member) Prelude.. Lens.mapping Data._Time++-- | The date indicating when the member was enabled for WorkMail use.+member_enabledDate :: Lens.Lens' Member (Prelude.Maybe Prelude.UTCTime)+member_enabledDate = Lens.lens (\Member' {enabledDate} -> enabledDate) (\s@Member' {} a -> s {enabledDate = a} :: Member) Prelude.. Lens.mapping Data._Time++-- | The identifier of the member.+member_id :: Lens.Lens' Member (Prelude.Maybe Prelude.Text)+member_id = Lens.lens (\Member' {id} -> id) (\s@Member' {} a -> s {id = a} :: Member)++-- | The name of the member.+member_name :: Lens.Lens' Member (Prelude.Maybe Prelude.Text)+member_name = Lens.lens (\Member' {name} -> name) (\s@Member' {} a -> s {name = a} :: Member)++-- | The state of the member, which can be ENABLED, DISABLED, or DELETED.+member_state :: Lens.Lens' Member (Prelude.Maybe EntityState)+member_state = Lens.lens (\Member' {state} -> state) (\s@Member' {} a -> s {state = a} :: Member)++-- | A member can be a user or group.+member_type :: Lens.Lens' Member (Prelude.Maybe MemberType)+member_type = Lens.lens (\Member' {type'} -> type') (\s@Member' {} a -> s {type' = a} :: Member)++instance Data.FromJSON Member where+ parseJSON =+ Data.withObject+ "Member"+ ( \x ->+ Member'+ Prelude.<$> (x Data..:? "DisabledDate")+ Prelude.<*> (x Data..:? "EnabledDate")+ Prelude.<*> (x Data..:? "Id")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "Type")+ )++instance Prelude.Hashable Member where+ hashWithSalt _salt Member' {..} =+ _salt+ `Prelude.hashWithSalt` disabledDate+ `Prelude.hashWithSalt` enabledDate+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` type'++instance Prelude.NFData Member where+ rnf Member' {..} =+ Prelude.rnf disabledDate+ `Prelude.seq` Prelude.rnf enabledDate+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/WorkMail/Types/MemberType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MemberType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MemberType+ ( MemberType+ ( ..,+ MemberType_GROUP,+ MemberType_USER+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MemberType = MemberType'+ { fromMemberType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MemberType_GROUP :: MemberType+pattern MemberType_GROUP = MemberType' "GROUP"++pattern MemberType_USER :: MemberType+pattern MemberType_USER = MemberType' "USER"++{-# COMPLETE+ MemberType_GROUP,+ MemberType_USER,+ MemberType'+ #-}
+ gen/Amazonka/WorkMail/Types/MobileDeviceAccessMatchedRule.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MobileDeviceAccessMatchedRule where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The rule that a simulated user matches.+--+-- /See:/ 'newMobileDeviceAccessMatchedRule' smart constructor.+data MobileDeviceAccessMatchedRule = MobileDeviceAccessMatchedRule'+ { -- | Identifier of the rule that a simulated user matches.+ mobileDeviceAccessRuleId :: Prelude.Maybe Prelude.Text,+ -- | Name of a rule that a simulated user matches.+ name :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MobileDeviceAccessMatchedRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mobileDeviceAccessRuleId', 'mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId' - Identifier of the rule that a simulated user matches.+--+-- 'name', 'mobileDeviceAccessMatchedRule_name' - Name of a rule that a simulated user matches.+newMobileDeviceAccessMatchedRule ::+ MobileDeviceAccessMatchedRule+newMobileDeviceAccessMatchedRule =+ MobileDeviceAccessMatchedRule'+ { mobileDeviceAccessRuleId =+ Prelude.Nothing,+ name = Prelude.Nothing+ }++-- | Identifier of the rule that a simulated user matches.+mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId :: Lens.Lens' MobileDeviceAccessMatchedRule (Prelude.Maybe Prelude.Text)+mobileDeviceAccessMatchedRule_mobileDeviceAccessRuleId = Lens.lens (\MobileDeviceAccessMatchedRule' {mobileDeviceAccessRuleId} -> mobileDeviceAccessRuleId) (\s@MobileDeviceAccessMatchedRule' {} a -> s {mobileDeviceAccessRuleId = a} :: MobileDeviceAccessMatchedRule)++-- | Name of a rule that a simulated user matches.+mobileDeviceAccessMatchedRule_name :: Lens.Lens' MobileDeviceAccessMatchedRule (Prelude.Maybe Prelude.Text)+mobileDeviceAccessMatchedRule_name = Lens.lens (\MobileDeviceAccessMatchedRule' {name} -> name) (\s@MobileDeviceAccessMatchedRule' {} a -> s {name = a} :: MobileDeviceAccessMatchedRule)++instance Data.FromJSON MobileDeviceAccessMatchedRule where+ parseJSON =+ Data.withObject+ "MobileDeviceAccessMatchedRule"+ ( \x ->+ MobileDeviceAccessMatchedRule'+ Prelude.<$> (x Data..:? "MobileDeviceAccessRuleId")+ Prelude.<*> (x Data..:? "Name")+ )++instance+ Prelude.Hashable+ MobileDeviceAccessMatchedRule+ where+ hashWithSalt _salt MobileDeviceAccessMatchedRule' {..} =+ _salt+ `Prelude.hashWithSalt` mobileDeviceAccessRuleId+ `Prelude.hashWithSalt` name++instance Prelude.NFData MobileDeviceAccessMatchedRule where+ rnf MobileDeviceAccessMatchedRule' {..} =+ Prelude.rnf mobileDeviceAccessRuleId+ `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/WorkMail/Types/MobileDeviceAccessOverride.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MobileDeviceAccessOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MobileDeviceAccessOverride where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect++-- | The override object.+--+-- /See:/ 'newMobileDeviceAccessOverride' smart constructor.+data MobileDeviceAccessOverride = MobileDeviceAccessOverride'+ { -- | The date the override was first created.+ dateCreated :: Prelude.Maybe Data.POSIX,+ -- | The date the override was last modified.+ dateModified :: Prelude.Maybe Data.POSIX,+ -- | A description of the override.+ description :: Prelude.Maybe Prelude.Text,+ -- | The device to which the override applies.+ deviceId :: Prelude.Maybe Prelude.Text,+ -- | The effect of the override, @ALLOW@ or @DENY@.+ effect :: Prelude.Maybe MobileDeviceAccessRuleEffect,+ -- | The WorkMail user to which the access override applies.+ userId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MobileDeviceAccessOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dateCreated', 'mobileDeviceAccessOverride_dateCreated' - The date the override was first created.+--+-- 'dateModified', 'mobileDeviceAccessOverride_dateModified' - The date the override was last modified.+--+-- 'description', 'mobileDeviceAccessOverride_description' - A description of the override.+--+-- 'deviceId', 'mobileDeviceAccessOverride_deviceId' - The device to which the override applies.+--+-- 'effect', 'mobileDeviceAccessOverride_effect' - The effect of the override, @ALLOW@ or @DENY@.+--+-- 'userId', 'mobileDeviceAccessOverride_userId' - The WorkMail user to which the access override applies.+newMobileDeviceAccessOverride ::+ MobileDeviceAccessOverride+newMobileDeviceAccessOverride =+ MobileDeviceAccessOverride'+ { dateCreated =+ Prelude.Nothing,+ dateModified = Prelude.Nothing,+ description = Prelude.Nothing,+ deviceId = Prelude.Nothing,+ effect = Prelude.Nothing,+ userId = Prelude.Nothing+ }++-- | The date the override was first created.+mobileDeviceAccessOverride_dateCreated :: Lens.Lens' MobileDeviceAccessOverride (Prelude.Maybe Prelude.UTCTime)+mobileDeviceAccessOverride_dateCreated = Lens.lens (\MobileDeviceAccessOverride' {dateCreated} -> dateCreated) (\s@MobileDeviceAccessOverride' {} a -> s {dateCreated = a} :: MobileDeviceAccessOverride) Prelude.. Lens.mapping Data._Time++-- | The date the override was last modified.+mobileDeviceAccessOverride_dateModified :: Lens.Lens' MobileDeviceAccessOverride (Prelude.Maybe Prelude.UTCTime)+mobileDeviceAccessOverride_dateModified = Lens.lens (\MobileDeviceAccessOverride' {dateModified} -> dateModified) (\s@MobileDeviceAccessOverride' {} a -> s {dateModified = a} :: MobileDeviceAccessOverride) Prelude.. Lens.mapping Data._Time++-- | A description of the override.+mobileDeviceAccessOverride_description :: Lens.Lens' MobileDeviceAccessOverride (Prelude.Maybe Prelude.Text)+mobileDeviceAccessOverride_description = Lens.lens (\MobileDeviceAccessOverride' {description} -> description) (\s@MobileDeviceAccessOverride' {} a -> s {description = a} :: MobileDeviceAccessOverride)++-- | The device to which the override applies.+mobileDeviceAccessOverride_deviceId :: Lens.Lens' MobileDeviceAccessOverride (Prelude.Maybe Prelude.Text)+mobileDeviceAccessOverride_deviceId = Lens.lens (\MobileDeviceAccessOverride' {deviceId} -> deviceId) (\s@MobileDeviceAccessOverride' {} a -> s {deviceId = a} :: MobileDeviceAccessOverride)++-- | The effect of the override, @ALLOW@ or @DENY@.+mobileDeviceAccessOverride_effect :: Lens.Lens' MobileDeviceAccessOverride (Prelude.Maybe MobileDeviceAccessRuleEffect)+mobileDeviceAccessOverride_effect = Lens.lens (\MobileDeviceAccessOverride' {effect} -> effect) (\s@MobileDeviceAccessOverride' {} a -> s {effect = a} :: MobileDeviceAccessOverride)++-- | The WorkMail user to which the access override applies.+mobileDeviceAccessOverride_userId :: Lens.Lens' MobileDeviceAccessOverride (Prelude.Maybe Prelude.Text)+mobileDeviceAccessOverride_userId = Lens.lens (\MobileDeviceAccessOverride' {userId} -> userId) (\s@MobileDeviceAccessOverride' {} a -> s {userId = a} :: MobileDeviceAccessOverride)++instance Data.FromJSON MobileDeviceAccessOverride where+ parseJSON =+ Data.withObject+ "MobileDeviceAccessOverride"+ ( \x ->+ MobileDeviceAccessOverride'+ Prelude.<$> (x Data..:? "DateCreated")+ Prelude.<*> (x Data..:? "DateModified")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "DeviceId")+ Prelude.<*> (x Data..:? "Effect")+ Prelude.<*> (x Data..:? "UserId")+ )++instance Prelude.Hashable MobileDeviceAccessOverride where+ hashWithSalt _salt MobileDeviceAccessOverride' {..} =+ _salt+ `Prelude.hashWithSalt` dateCreated+ `Prelude.hashWithSalt` dateModified+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` deviceId+ `Prelude.hashWithSalt` effect+ `Prelude.hashWithSalt` userId++instance Prelude.NFData MobileDeviceAccessOverride where+ rnf MobileDeviceAccessOverride' {..} =+ Prelude.rnf dateCreated+ `Prelude.seq` Prelude.rnf dateModified+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf deviceId+ `Prelude.seq` Prelude.rnf effect+ `Prelude.seq` Prelude.rnf userId
+ gen/Amazonka/WorkMail/Types/MobileDeviceAccessRule.hs view
@@ -0,0 +1,245 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MobileDeviceAccessRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MobileDeviceAccessRule where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect++-- | A rule that controls access to mobile devices for an WorkMail group.+--+-- /See:/ 'newMobileDeviceAccessRule' smart constructor.+data MobileDeviceAccessRule = MobileDeviceAccessRule'+ { -- | The date and time at which an access rule was created.+ dateCreated :: Prelude.Maybe Data.POSIX,+ -- | The date and time at which an access rule was modified.+ dateModified :: Prelude.Maybe Data.POSIX,+ -- | The description of a mobile access rule.+ description :: Prelude.Maybe Prelude.Text,+ -- | Device models that a rule will match.+ deviceModels :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device operating systems that a rule will match.+ deviceOperatingSystems :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device types that a rule will match.+ deviceTypes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device user agents that a rule will match.+ deviceUserAgents :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | The effect of the rule when it matches. Allowed values are @ALLOW@ or+ -- @DENY@.+ effect :: Prelude.Maybe MobileDeviceAccessRuleEffect,+ -- | The ID assigned to a mobile access rule.+ mobileDeviceAccessRuleId :: Prelude.Maybe Prelude.Text,+ -- | The name of a mobile access rule.+ name :: Prelude.Maybe Prelude.Text,+ -- | Device models that a rule __will not__ match. All other device models+ -- will match.+ notDeviceModels :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device operating systems that a rule __will not__ match. All other+ -- device types will match.+ notDeviceOperatingSystems :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device types that a rule __will not__ match. All other device types will+ -- match.+ notDeviceTypes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device user agents that a rule __will not__ match. All other device user+ -- agents will match.+ notDeviceUserAgents :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text)+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MobileDeviceAccessRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dateCreated', 'mobileDeviceAccessRule_dateCreated' - The date and time at which an access rule was created.+--+-- 'dateModified', 'mobileDeviceAccessRule_dateModified' - The date and time at which an access rule was modified.+--+-- 'description', 'mobileDeviceAccessRule_description' - The description of a mobile access rule.+--+-- 'deviceModels', 'mobileDeviceAccessRule_deviceModels' - Device models that a rule will match.+--+-- 'deviceOperatingSystems', 'mobileDeviceAccessRule_deviceOperatingSystems' - Device operating systems that a rule will match.+--+-- 'deviceTypes', 'mobileDeviceAccessRule_deviceTypes' - Device types that a rule will match.+--+-- 'deviceUserAgents', 'mobileDeviceAccessRule_deviceUserAgents' - Device user agents that a rule will match.+--+-- 'effect', 'mobileDeviceAccessRule_effect' - The effect of the rule when it matches. Allowed values are @ALLOW@ or+-- @DENY@.+--+-- 'mobileDeviceAccessRuleId', 'mobileDeviceAccessRule_mobileDeviceAccessRuleId' - The ID assigned to a mobile access rule.+--+-- 'name', 'mobileDeviceAccessRule_name' - The name of a mobile access rule.+--+-- 'notDeviceModels', 'mobileDeviceAccessRule_notDeviceModels' - Device models that a rule __will not__ match. All other device models+-- will match.+--+-- 'notDeviceOperatingSystems', 'mobileDeviceAccessRule_notDeviceOperatingSystems' - Device operating systems that a rule __will not__ match. All other+-- device types will match.+--+-- 'notDeviceTypes', 'mobileDeviceAccessRule_notDeviceTypes' - Device types that a rule __will not__ match. All other device types will+-- match.+--+-- 'notDeviceUserAgents', 'mobileDeviceAccessRule_notDeviceUserAgents' - Device user agents that a rule __will not__ match. All other device user+-- agents will match.+newMobileDeviceAccessRule ::+ MobileDeviceAccessRule+newMobileDeviceAccessRule =+ MobileDeviceAccessRule'+ { dateCreated =+ Prelude.Nothing,+ dateModified = Prelude.Nothing,+ description = Prelude.Nothing,+ deviceModels = Prelude.Nothing,+ deviceOperatingSystems = Prelude.Nothing,+ deviceTypes = Prelude.Nothing,+ deviceUserAgents = Prelude.Nothing,+ effect = Prelude.Nothing,+ mobileDeviceAccessRuleId = Prelude.Nothing,+ name = Prelude.Nothing,+ notDeviceModels = Prelude.Nothing,+ notDeviceOperatingSystems = Prelude.Nothing,+ notDeviceTypes = Prelude.Nothing,+ notDeviceUserAgents = Prelude.Nothing+ }++-- | The date and time at which an access rule was created.+mobileDeviceAccessRule_dateCreated :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe Prelude.UTCTime)+mobileDeviceAccessRule_dateCreated = Lens.lens (\MobileDeviceAccessRule' {dateCreated} -> dateCreated) (\s@MobileDeviceAccessRule' {} a -> s {dateCreated = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Data._Time++-- | The date and time at which an access rule was modified.+mobileDeviceAccessRule_dateModified :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe Prelude.UTCTime)+mobileDeviceAccessRule_dateModified = Lens.lens (\MobileDeviceAccessRule' {dateModified} -> dateModified) (\s@MobileDeviceAccessRule' {} a -> s {dateModified = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Data._Time++-- | The description of a mobile access rule.+mobileDeviceAccessRule_description :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe Prelude.Text)+mobileDeviceAccessRule_description = Lens.lens (\MobileDeviceAccessRule' {description} -> description) (\s@MobileDeviceAccessRule' {} a -> s {description = a} :: MobileDeviceAccessRule)++-- | Device models that a rule will match.+mobileDeviceAccessRule_deviceModels :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_deviceModels = Lens.lens (\MobileDeviceAccessRule' {deviceModels} -> deviceModels) (\s@MobileDeviceAccessRule' {} a -> s {deviceModels = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device operating systems that a rule will match.+mobileDeviceAccessRule_deviceOperatingSystems :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_deviceOperatingSystems = Lens.lens (\MobileDeviceAccessRule' {deviceOperatingSystems} -> deviceOperatingSystems) (\s@MobileDeviceAccessRule' {} a -> s {deviceOperatingSystems = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device types that a rule will match.+mobileDeviceAccessRule_deviceTypes :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_deviceTypes = Lens.lens (\MobileDeviceAccessRule' {deviceTypes} -> deviceTypes) (\s@MobileDeviceAccessRule' {} a -> s {deviceTypes = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device user agents that a rule will match.+mobileDeviceAccessRule_deviceUserAgents :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_deviceUserAgents = Lens.lens (\MobileDeviceAccessRule' {deviceUserAgents} -> deviceUserAgents) (\s@MobileDeviceAccessRule' {} a -> s {deviceUserAgents = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | The effect of the rule when it matches. Allowed values are @ALLOW@ or+-- @DENY@.+mobileDeviceAccessRule_effect :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe MobileDeviceAccessRuleEffect)+mobileDeviceAccessRule_effect = Lens.lens (\MobileDeviceAccessRule' {effect} -> effect) (\s@MobileDeviceAccessRule' {} a -> s {effect = a} :: MobileDeviceAccessRule)++-- | The ID assigned to a mobile access rule.+mobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe Prelude.Text)+mobileDeviceAccessRule_mobileDeviceAccessRuleId = Lens.lens (\MobileDeviceAccessRule' {mobileDeviceAccessRuleId} -> mobileDeviceAccessRuleId) (\s@MobileDeviceAccessRule' {} a -> s {mobileDeviceAccessRuleId = a} :: MobileDeviceAccessRule)++-- | The name of a mobile access rule.+mobileDeviceAccessRule_name :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe Prelude.Text)+mobileDeviceAccessRule_name = Lens.lens (\MobileDeviceAccessRule' {name} -> name) (\s@MobileDeviceAccessRule' {} a -> s {name = a} :: MobileDeviceAccessRule)++-- | Device models that a rule __will not__ match. All other device models+-- will match.+mobileDeviceAccessRule_notDeviceModels :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_notDeviceModels = Lens.lens (\MobileDeviceAccessRule' {notDeviceModels} -> notDeviceModels) (\s@MobileDeviceAccessRule' {} a -> s {notDeviceModels = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device operating systems that a rule __will not__ match. All other+-- device types will match.+mobileDeviceAccessRule_notDeviceOperatingSystems :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_notDeviceOperatingSystems = Lens.lens (\MobileDeviceAccessRule' {notDeviceOperatingSystems} -> notDeviceOperatingSystems) (\s@MobileDeviceAccessRule' {} a -> s {notDeviceOperatingSystems = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device types that a rule __will not__ match. All other device types will+-- match.+mobileDeviceAccessRule_notDeviceTypes :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_notDeviceTypes = Lens.lens (\MobileDeviceAccessRule' {notDeviceTypes} -> notDeviceTypes) (\s@MobileDeviceAccessRule' {} a -> s {notDeviceTypes = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device user agents that a rule __will not__ match. All other device user+-- agents will match.+mobileDeviceAccessRule_notDeviceUserAgents :: Lens.Lens' MobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+mobileDeviceAccessRule_notDeviceUserAgents = Lens.lens (\MobileDeviceAccessRule' {notDeviceUserAgents} -> notDeviceUserAgents) (\s@MobileDeviceAccessRule' {} a -> s {notDeviceUserAgents = a} :: MobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON MobileDeviceAccessRule where+ parseJSON =+ Data.withObject+ "MobileDeviceAccessRule"+ ( \x ->+ MobileDeviceAccessRule'+ Prelude.<$> (x Data..:? "DateCreated")+ Prelude.<*> (x Data..:? "DateModified")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "DeviceModels")+ Prelude.<*> (x Data..:? "DeviceOperatingSystems")+ Prelude.<*> (x Data..:? "DeviceTypes")+ Prelude.<*> (x Data..:? "DeviceUserAgents")+ Prelude.<*> (x Data..:? "Effect")+ Prelude.<*> (x Data..:? "MobileDeviceAccessRuleId")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "NotDeviceModels")+ Prelude.<*> (x Data..:? "NotDeviceOperatingSystems")+ Prelude.<*> (x Data..:? "NotDeviceTypes")+ Prelude.<*> (x Data..:? "NotDeviceUserAgents")+ )++instance Prelude.Hashable MobileDeviceAccessRule where+ hashWithSalt _salt MobileDeviceAccessRule' {..} =+ _salt+ `Prelude.hashWithSalt` dateCreated+ `Prelude.hashWithSalt` dateModified+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` deviceModels+ `Prelude.hashWithSalt` deviceOperatingSystems+ `Prelude.hashWithSalt` deviceTypes+ `Prelude.hashWithSalt` deviceUserAgents+ `Prelude.hashWithSalt` effect+ `Prelude.hashWithSalt` mobileDeviceAccessRuleId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` notDeviceModels+ `Prelude.hashWithSalt` notDeviceOperatingSystems+ `Prelude.hashWithSalt` notDeviceTypes+ `Prelude.hashWithSalt` notDeviceUserAgents++instance Prelude.NFData MobileDeviceAccessRule where+ rnf MobileDeviceAccessRule' {..} =+ Prelude.rnf dateCreated+ `Prelude.seq` Prelude.rnf dateModified+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf deviceModels+ `Prelude.seq` Prelude.rnf deviceOperatingSystems+ `Prelude.seq` Prelude.rnf deviceTypes+ `Prelude.seq` Prelude.rnf deviceUserAgents+ `Prelude.seq` Prelude.rnf effect+ `Prelude.seq` Prelude.rnf mobileDeviceAccessRuleId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf notDeviceModels+ `Prelude.seq` Prelude.rnf notDeviceOperatingSystems+ `Prelude.seq` Prelude.rnf notDeviceTypes+ `Prelude.seq` Prelude.rnf notDeviceUserAgents
+ gen/Amazonka/WorkMail/Types/MobileDeviceAccessRuleEffect.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.MobileDeviceAccessRuleEffect+ ( MobileDeviceAccessRuleEffect+ ( ..,+ MobileDeviceAccessRuleEffect_ALLOW,+ MobileDeviceAccessRuleEffect_DENY+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MobileDeviceAccessRuleEffect = MobileDeviceAccessRuleEffect'+ { fromMobileDeviceAccessRuleEffect ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MobileDeviceAccessRuleEffect_ALLOW :: MobileDeviceAccessRuleEffect+pattern MobileDeviceAccessRuleEffect_ALLOW = MobileDeviceAccessRuleEffect' "ALLOW"++pattern MobileDeviceAccessRuleEffect_DENY :: MobileDeviceAccessRuleEffect+pattern MobileDeviceAccessRuleEffect_DENY = MobileDeviceAccessRuleEffect' "DENY"++{-# COMPLETE+ MobileDeviceAccessRuleEffect_ALLOW,+ MobileDeviceAccessRuleEffect_DENY,+ MobileDeviceAccessRuleEffect'+ #-}
+ gen/Amazonka/WorkMail/Types/OrganizationSummary.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.OrganizationSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.OrganizationSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The representation of an organization.+--+-- /See:/ 'newOrganizationSummary' smart constructor.+data OrganizationSummary = OrganizationSummary'+ { -- | The alias associated with the organization.+ alias :: Prelude.Maybe Prelude.Text,+ -- | The default email domain associated with the organization.+ defaultMailDomain :: Prelude.Maybe Prelude.Text,+ -- | 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.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The identifier associated with the organization.+ organizationId :: Prelude.Maybe Prelude.Text,+ -- | The state associated with the organization.+ state :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OrganizationSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'alias', 'organizationSummary_alias' - The alias associated with the organization.+--+-- 'defaultMailDomain', 'organizationSummary_defaultMailDomain' - The default email domain associated with the organization.+--+-- 'errorMessage', 'organizationSummary_errorMessage' - 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.+--+-- 'organizationId', 'organizationSummary_organizationId' - The identifier associated with the organization.+--+-- 'state', 'organizationSummary_state' - The state associated with the organization.+newOrganizationSummary ::+ OrganizationSummary+newOrganizationSummary =+ OrganizationSummary'+ { alias = Prelude.Nothing,+ defaultMailDomain = Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ organizationId = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The alias associated with the organization.+organizationSummary_alias :: Lens.Lens' OrganizationSummary (Prelude.Maybe Prelude.Text)+organizationSummary_alias = Lens.lens (\OrganizationSummary' {alias} -> alias) (\s@OrganizationSummary' {} a -> s {alias = a} :: OrganizationSummary)++-- | The default email domain associated with the organization.+organizationSummary_defaultMailDomain :: Lens.Lens' OrganizationSummary (Prelude.Maybe Prelude.Text)+organizationSummary_defaultMailDomain = Lens.lens (\OrganizationSummary' {defaultMailDomain} -> defaultMailDomain) (\s@OrganizationSummary' {} a -> s {defaultMailDomain = a} :: OrganizationSummary)++-- | 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.+organizationSummary_errorMessage :: Lens.Lens' OrganizationSummary (Prelude.Maybe Prelude.Text)+organizationSummary_errorMessage = Lens.lens (\OrganizationSummary' {errorMessage} -> errorMessage) (\s@OrganizationSummary' {} a -> s {errorMessage = a} :: OrganizationSummary)++-- | The identifier associated with the organization.+organizationSummary_organizationId :: Lens.Lens' OrganizationSummary (Prelude.Maybe Prelude.Text)+organizationSummary_organizationId = Lens.lens (\OrganizationSummary' {organizationId} -> organizationId) (\s@OrganizationSummary' {} a -> s {organizationId = a} :: OrganizationSummary)++-- | The state associated with the organization.+organizationSummary_state :: Lens.Lens' OrganizationSummary (Prelude.Maybe Prelude.Text)+organizationSummary_state = Lens.lens (\OrganizationSummary' {state} -> state) (\s@OrganizationSummary' {} a -> s {state = a} :: OrganizationSummary)++instance Data.FromJSON OrganizationSummary where+ parseJSON =+ Data.withObject+ "OrganizationSummary"+ ( \x ->+ OrganizationSummary'+ Prelude.<$> (x Data..:? "Alias")+ Prelude.<*> (x Data..:? "DefaultMailDomain")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "OrganizationId")+ Prelude.<*> (x Data..:? "State")+ )++instance Prelude.Hashable OrganizationSummary where+ hashWithSalt _salt OrganizationSummary' {..} =+ _salt+ `Prelude.hashWithSalt` alias+ `Prelude.hashWithSalt` defaultMailDomain+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` state++instance Prelude.NFData OrganizationSummary where+ rnf OrganizationSummary' {..} =+ Prelude.rnf alias+ `Prelude.seq` Prelude.rnf defaultMailDomain+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/WorkMail/Types/Permission.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.Permission+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.Permission where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.MemberType+import Amazonka.WorkMail.Types.PermissionType++-- | Permission granted to a user, group, or resource to access a certain+-- aspect of another user, group, or resource mailbox.+--+-- /See:/ 'newPermission' smart constructor.+data Permission = Permission'+ { -- | The identifier of the user, group, or resource to which the permissions+ -- are granted.+ granteeId :: Prelude.Text,+ -- | The type of user, group, or resource referred to in GranteeId.+ granteeType :: MemberType,+ -- | 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.+ permissionValues :: [PermissionType]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Permission' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'granteeId', 'permission_granteeId' - The identifier of the user, group, or resource to which the permissions+-- are granted.+--+-- 'granteeType', 'permission_granteeType' - The type of user, group, or resource referred to in GranteeId.+--+-- 'permissionValues', 'permission_permissionValues' - 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.+newPermission ::+ -- | 'granteeId'+ Prelude.Text ->+ -- | 'granteeType'+ MemberType ->+ Permission+newPermission pGranteeId_ pGranteeType_ =+ Permission'+ { granteeId = pGranteeId_,+ granteeType = pGranteeType_,+ permissionValues = Prelude.mempty+ }++-- | The identifier of the user, group, or resource to which the permissions+-- are granted.+permission_granteeId :: Lens.Lens' Permission Prelude.Text+permission_granteeId = Lens.lens (\Permission' {granteeId} -> granteeId) (\s@Permission' {} a -> s {granteeId = a} :: Permission)++-- | The type of user, group, or resource referred to in GranteeId.+permission_granteeType :: Lens.Lens' Permission MemberType+permission_granteeType = Lens.lens (\Permission' {granteeType} -> granteeType) (\s@Permission' {} a -> s {granteeType = a} :: Permission)++-- | 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.+permission_permissionValues :: Lens.Lens' Permission [PermissionType]+permission_permissionValues = Lens.lens (\Permission' {permissionValues} -> permissionValues) (\s@Permission' {} a -> s {permissionValues = a} :: Permission) Prelude.. Lens.coerced++instance Data.FromJSON Permission where+ parseJSON =+ Data.withObject+ "Permission"+ ( \x ->+ Permission'+ Prelude.<$> (x Data..: "GranteeId")+ Prelude.<*> (x Data..: "GranteeType")+ Prelude.<*> ( x+ Data..:? "PermissionValues"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable Permission where+ hashWithSalt _salt Permission' {..} =+ _salt+ `Prelude.hashWithSalt` granteeId+ `Prelude.hashWithSalt` granteeType+ `Prelude.hashWithSalt` permissionValues++instance Prelude.NFData Permission where+ rnf Permission' {..} =+ Prelude.rnf granteeId+ `Prelude.seq` Prelude.rnf granteeType+ `Prelude.seq` Prelude.rnf permissionValues
+ gen/Amazonka/WorkMail/Types/PermissionType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.PermissionType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.PermissionType+ ( PermissionType+ ( ..,+ PermissionType_FULL_ACCESS,+ PermissionType_SEND_AS,+ PermissionType_SEND_ON_BEHALF+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PermissionType = PermissionType'+ { fromPermissionType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern PermissionType_FULL_ACCESS :: PermissionType+pattern PermissionType_FULL_ACCESS = PermissionType' "FULL_ACCESS"++pattern PermissionType_SEND_AS :: PermissionType+pattern PermissionType_SEND_AS = PermissionType' "SEND_AS"++pattern PermissionType_SEND_ON_BEHALF :: PermissionType+pattern PermissionType_SEND_ON_BEHALF = PermissionType' "SEND_ON_BEHALF"++{-# COMPLETE+ PermissionType_FULL_ACCESS,+ PermissionType_SEND_AS,+ PermissionType_SEND_ON_BEHALF,+ PermissionType'+ #-}
+ gen/Amazonka/WorkMail/Types/RedactedEwsAvailabilityProvider.hs view
@@ -0,0 +1,97 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.RedactedEwsAvailabilityProvider where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes an EWS based availability provider when returned from the+-- service. It does not contain the password of the endpoint.+--+-- /See:/ 'newRedactedEwsAvailabilityProvider' smart constructor.+data RedactedEwsAvailabilityProvider = RedactedEwsAvailabilityProvider'+ { -- | The endpoint of the remote EWS server.+ ewsEndpoint :: Prelude.Maybe Prelude.Text,+ -- | The username used to authenticate the remote EWS server.+ ewsUsername :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RedactedEwsAvailabilityProvider' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'ewsEndpoint', 'redactedEwsAvailabilityProvider_ewsEndpoint' - The endpoint of the remote EWS server.+--+-- 'ewsUsername', 'redactedEwsAvailabilityProvider_ewsUsername' - The username used to authenticate the remote EWS server.+newRedactedEwsAvailabilityProvider ::+ RedactedEwsAvailabilityProvider+newRedactedEwsAvailabilityProvider =+ RedactedEwsAvailabilityProvider'+ { ewsEndpoint =+ Prelude.Nothing,+ ewsUsername = Prelude.Nothing+ }++-- | The endpoint of the remote EWS server.+redactedEwsAvailabilityProvider_ewsEndpoint :: Lens.Lens' RedactedEwsAvailabilityProvider (Prelude.Maybe Prelude.Text)+redactedEwsAvailabilityProvider_ewsEndpoint = Lens.lens (\RedactedEwsAvailabilityProvider' {ewsEndpoint} -> ewsEndpoint) (\s@RedactedEwsAvailabilityProvider' {} a -> s {ewsEndpoint = a} :: RedactedEwsAvailabilityProvider)++-- | The username used to authenticate the remote EWS server.+redactedEwsAvailabilityProvider_ewsUsername :: Lens.Lens' RedactedEwsAvailabilityProvider (Prelude.Maybe Prelude.Text)+redactedEwsAvailabilityProvider_ewsUsername = Lens.lens (\RedactedEwsAvailabilityProvider' {ewsUsername} -> ewsUsername) (\s@RedactedEwsAvailabilityProvider' {} a -> s {ewsUsername = a} :: RedactedEwsAvailabilityProvider)++instance+ Data.FromJSON+ RedactedEwsAvailabilityProvider+ where+ parseJSON =+ Data.withObject+ "RedactedEwsAvailabilityProvider"+ ( \x ->+ RedactedEwsAvailabilityProvider'+ Prelude.<$> (x Data..:? "EwsEndpoint")+ Prelude.<*> (x Data..:? "EwsUsername")+ )++instance+ Prelude.Hashable+ RedactedEwsAvailabilityProvider+ where+ hashWithSalt+ _salt+ RedactedEwsAvailabilityProvider' {..} =+ _salt+ `Prelude.hashWithSalt` ewsEndpoint+ `Prelude.hashWithSalt` ewsUsername++instance+ Prelude.NFData+ RedactedEwsAvailabilityProvider+ where+ rnf RedactedEwsAvailabilityProvider' {..} =+ Prelude.rnf ewsEndpoint+ `Prelude.seq` Prelude.rnf ewsUsername
+ gen/Amazonka/WorkMail/Types/Resource.hs view
@@ -0,0 +1,146 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.Resource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.Resource where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.EntityState+import Amazonka.WorkMail.Types.ResourceType++-- | The representation of a resource.+--+-- /See:/ 'newResource' smart constructor.+data Resource = Resource'+ { -- | The date indicating when the resource was disabled from WorkMail use.+ disabledDate :: Prelude.Maybe Data.POSIX,+ -- | The email of the resource.+ email :: Prelude.Maybe Prelude.Text,+ -- | The date indicating when the resource was enabled for WorkMail use.+ enabledDate :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the resource.+ id :: Prelude.Maybe Prelude.Text,+ -- | The name of the resource.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the resource, which can be ENABLED, DISABLED, or DELETED.+ state :: Prelude.Maybe EntityState,+ -- | The type of the resource: equipment or room.+ type' :: Prelude.Maybe ResourceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Resource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'disabledDate', 'resource_disabledDate' - The date indicating when the resource was disabled from WorkMail use.+--+-- 'email', 'resource_email' - The email of the resource.+--+-- 'enabledDate', 'resource_enabledDate' - The date indicating when the resource was enabled for WorkMail use.+--+-- 'id', 'resource_id' - The identifier of the resource.+--+-- 'name', 'resource_name' - The name of the resource.+--+-- 'state', 'resource_state' - The state of the resource, which can be ENABLED, DISABLED, or DELETED.+--+-- 'type'', 'resource_type' - The type of the resource: equipment or room.+newResource ::+ Resource+newResource =+ Resource'+ { disabledDate = Prelude.Nothing,+ email = Prelude.Nothing,+ enabledDate = Prelude.Nothing,+ id = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The date indicating when the resource was disabled from WorkMail use.+resource_disabledDate :: Lens.Lens' Resource (Prelude.Maybe Prelude.UTCTime)+resource_disabledDate = Lens.lens (\Resource' {disabledDate} -> disabledDate) (\s@Resource' {} a -> s {disabledDate = a} :: Resource) Prelude.. Lens.mapping Data._Time++-- | The email of the resource.+resource_email :: Lens.Lens' Resource (Prelude.Maybe Prelude.Text)+resource_email = Lens.lens (\Resource' {email} -> email) (\s@Resource' {} a -> s {email = a} :: Resource)++-- | The date indicating when the resource was enabled for WorkMail use.+resource_enabledDate :: Lens.Lens' Resource (Prelude.Maybe Prelude.UTCTime)+resource_enabledDate = Lens.lens (\Resource' {enabledDate} -> enabledDate) (\s@Resource' {} a -> s {enabledDate = a} :: Resource) Prelude.. Lens.mapping Data._Time++-- | The identifier of the resource.+resource_id :: Lens.Lens' Resource (Prelude.Maybe Prelude.Text)+resource_id = Lens.lens (\Resource' {id} -> id) (\s@Resource' {} a -> s {id = a} :: Resource)++-- | The name of the resource.+resource_name :: Lens.Lens' Resource (Prelude.Maybe Prelude.Text)+resource_name = Lens.lens (\Resource' {name} -> name) (\s@Resource' {} a -> s {name = a} :: Resource)++-- | The state of the resource, which can be ENABLED, DISABLED, or DELETED.+resource_state :: Lens.Lens' Resource (Prelude.Maybe EntityState)+resource_state = Lens.lens (\Resource' {state} -> state) (\s@Resource' {} a -> s {state = a} :: Resource)++-- | The type of the resource: equipment or room.+resource_type :: Lens.Lens' Resource (Prelude.Maybe ResourceType)+resource_type = Lens.lens (\Resource' {type'} -> type') (\s@Resource' {} a -> s {type' = a} :: Resource)++instance Data.FromJSON Resource where+ parseJSON =+ Data.withObject+ "Resource"+ ( \x ->+ Resource'+ Prelude.<$> (x Data..:? "DisabledDate")+ Prelude.<*> (x Data..:? "Email")+ Prelude.<*> (x Data..:? "EnabledDate")+ Prelude.<*> (x Data..:? "Id")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "Type")+ )++instance Prelude.Hashable Resource where+ hashWithSalt _salt Resource' {..} =+ _salt+ `Prelude.hashWithSalt` disabledDate+ `Prelude.hashWithSalt` email+ `Prelude.hashWithSalt` enabledDate+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` type'++instance Prelude.NFData Resource where+ rnf Resource' {..} =+ Prelude.rnf disabledDate+ `Prelude.seq` Prelude.rnf email+ `Prelude.seq` Prelude.rnf enabledDate+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/WorkMail/Types/ResourceType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.ResourceType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.ResourceType+ ( ResourceType+ ( ..,+ ResourceType_EQUIPMENT,+ ResourceType_ROOM+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ResourceType = ResourceType'+ { fromResourceType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ResourceType_EQUIPMENT :: ResourceType+pattern ResourceType_EQUIPMENT = ResourceType' "EQUIPMENT"++pattern ResourceType_ROOM :: ResourceType+pattern ResourceType_ROOM = ResourceType' "ROOM"++{-# COMPLETE+ ResourceType_EQUIPMENT,+ ResourceType_ROOM,+ ResourceType'+ #-}
+ gen/Amazonka/WorkMail/Types/RetentionAction.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.RetentionAction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.RetentionAction+ ( RetentionAction+ ( ..,+ RetentionAction_DELETE,+ RetentionAction_NONE,+ RetentionAction_PERMANENTLY_DELETE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype RetentionAction = RetentionAction'+ { fromRetentionAction ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern RetentionAction_DELETE :: RetentionAction+pattern RetentionAction_DELETE = RetentionAction' "DELETE"++pattern RetentionAction_NONE :: RetentionAction+pattern RetentionAction_NONE = RetentionAction' "NONE"++pattern RetentionAction_PERMANENTLY_DELETE :: RetentionAction+pattern RetentionAction_PERMANENTLY_DELETE = RetentionAction' "PERMANENTLY_DELETE"++{-# COMPLETE+ RetentionAction_DELETE,+ RetentionAction_NONE,+ RetentionAction_PERMANENTLY_DELETE,+ RetentionAction'+ #-}
+ gen/Amazonka/WorkMail/Types/Tag.hs view
@@ -0,0 +1,93 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.Tag+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes a tag applied to a resource.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+ { -- | The key of the tag.+ key :: Prelude.Text,+ -- | The value of the tag.+ value :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - The key of the tag.+--+-- 'value', 'tag_value' - The value of the tag.+newTag ::+ -- | 'key'+ Prelude.Text ->+ -- | 'value'+ Prelude.Text ->+ Tag+newTag pKey_ pValue_ =+ Tag' {key = pKey_, value = pValue_}++-- | The key of the tag.+tag_key :: Lens.Lens' Tag Prelude.Text+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | The value of the tag.+tag_value :: Lens.Lens' Tag Prelude.Text+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+ parseJSON =+ Data.withObject+ "Tag"+ ( \x ->+ Tag'+ Prelude.<$> (x Data..: "Key")+ Prelude.<*> (x Data..: "Value")+ )++instance Prelude.Hashable Tag where+ hashWithSalt _salt Tag' {..} =+ _salt+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+ rnf Tag' {..} =+ Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+ toJSON Tag' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Key" Data..= key),+ Prelude.Just ("Value" Data..= value)+ ]+ )
+ gen/Amazonka/WorkMail/Types/User.hs view
@@ -0,0 +1,158 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.User+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.User where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Types.EntityState+import Amazonka.WorkMail.Types.UserRole++-- | The representation of an WorkMail user.+--+-- /See:/ 'newUser' smart constructor.+data User = User'+ { -- | The date indicating when the user was disabled from WorkMail use.+ disabledDate :: Prelude.Maybe Data.POSIX,+ -- | The display name of the user.+ displayName :: Prelude.Maybe Prelude.Text,+ -- | The email of the user.+ email :: Prelude.Maybe Prelude.Text,+ -- | The date indicating when the user was enabled for WorkMail use.+ enabledDate :: Prelude.Maybe Data.POSIX,+ -- | The identifier of the user.+ id :: Prelude.Maybe Prelude.Text,+ -- | The name of the user.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the user, which can be ENABLED, DISABLED, or DELETED.+ state :: Prelude.Maybe EntityState,+ -- | The role of the user.+ userRole :: Prelude.Maybe UserRole+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'User' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'disabledDate', 'user_disabledDate' - The date indicating when the user was disabled from WorkMail use.+--+-- 'displayName', 'user_displayName' - The display name of the user.+--+-- 'email', 'user_email' - The email of the user.+--+-- 'enabledDate', 'user_enabledDate' - The date indicating when the user was enabled for WorkMail use.+--+-- 'id', 'user_id' - The identifier of the user.+--+-- 'name', 'user_name' - The name of the user.+--+-- 'state', 'user_state' - The state of the user, which can be ENABLED, DISABLED, or DELETED.+--+-- 'userRole', 'user_userRole' - The role of the user.+newUser ::+ User+newUser =+ User'+ { disabledDate = Prelude.Nothing,+ displayName = Prelude.Nothing,+ email = Prelude.Nothing,+ enabledDate = Prelude.Nothing,+ id = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing,+ userRole = Prelude.Nothing+ }++-- | The date indicating when the user was disabled from WorkMail use.+user_disabledDate :: Lens.Lens' User (Prelude.Maybe Prelude.UTCTime)+user_disabledDate = Lens.lens (\User' {disabledDate} -> disabledDate) (\s@User' {} a -> s {disabledDate = a} :: User) Prelude.. Lens.mapping Data._Time++-- | The display name of the user.+user_displayName :: Lens.Lens' User (Prelude.Maybe Prelude.Text)+user_displayName = Lens.lens (\User' {displayName} -> displayName) (\s@User' {} a -> s {displayName = a} :: User)++-- | The email of the user.+user_email :: Lens.Lens' User (Prelude.Maybe Prelude.Text)+user_email = Lens.lens (\User' {email} -> email) (\s@User' {} a -> s {email = a} :: User)++-- | The date indicating when the user was enabled for WorkMail use.+user_enabledDate :: Lens.Lens' User (Prelude.Maybe Prelude.UTCTime)+user_enabledDate = Lens.lens (\User' {enabledDate} -> enabledDate) (\s@User' {} a -> s {enabledDate = a} :: User) Prelude.. Lens.mapping Data._Time++-- | The identifier of the user.+user_id :: Lens.Lens' User (Prelude.Maybe Prelude.Text)+user_id = Lens.lens (\User' {id} -> id) (\s@User' {} a -> s {id = a} :: User)++-- | The name of the user.+user_name :: Lens.Lens' User (Prelude.Maybe Prelude.Text)+user_name = Lens.lens (\User' {name} -> name) (\s@User' {} a -> s {name = a} :: User)++-- | The state of the user, which can be ENABLED, DISABLED, or DELETED.+user_state :: Lens.Lens' User (Prelude.Maybe EntityState)+user_state = Lens.lens (\User' {state} -> state) (\s@User' {} a -> s {state = a} :: User)++-- | The role of the user.+user_userRole :: Lens.Lens' User (Prelude.Maybe UserRole)+user_userRole = Lens.lens (\User' {userRole} -> userRole) (\s@User' {} a -> s {userRole = a} :: User)++instance Data.FromJSON User where+ parseJSON =+ Data.withObject+ "User"+ ( \x ->+ User'+ Prelude.<$> (x Data..:? "DisabledDate")+ Prelude.<*> (x Data..:? "DisplayName")+ Prelude.<*> (x Data..:? "Email")+ Prelude.<*> (x Data..:? "EnabledDate")+ Prelude.<*> (x Data..:? "Id")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "UserRole")+ )++instance Prelude.Hashable User where+ hashWithSalt _salt User' {..} =+ _salt+ `Prelude.hashWithSalt` disabledDate+ `Prelude.hashWithSalt` displayName+ `Prelude.hashWithSalt` email+ `Prelude.hashWithSalt` enabledDate+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` userRole++instance Prelude.NFData User where+ rnf User' {..} =+ Prelude.rnf disabledDate+ `Prelude.seq` Prelude.rnf displayName+ `Prelude.seq` Prelude.rnf email+ `Prelude.seq` Prelude.rnf enabledDate+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf userRole
+ gen/Amazonka/WorkMail/Types/UserRole.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Types.UserRole+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Types.UserRole+ ( UserRole+ ( ..,+ UserRole_RESOURCE,+ UserRole_SYSTEM_USER,+ UserRole_USER+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype UserRole = UserRole'+ { fromUserRole ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern UserRole_RESOURCE :: UserRole+pattern UserRole_RESOURCE = UserRole' "RESOURCE"++pattern UserRole_SYSTEM_USER :: UserRole+pattern UserRole_SYSTEM_USER = UserRole' "SYSTEM_USER"++pattern UserRole_USER :: UserRole+pattern UserRole_USER = UserRole' "USER"++{-# COMPLETE+ UserRole_RESOURCE,+ UserRole_SYSTEM_USER,+ UserRole_USER,+ UserRole'+ #-}
+ gen/Amazonka/WorkMail/UntagResource.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UntagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Untags the specified tags from the specified WorkMail organization+-- resource.+module Amazonka.WorkMail.UntagResource+ ( -- * Creating a Request+ UntagResource (..),+ newUntagResource,++ -- * Request Lenses+ untagResource_resourceARN,+ untagResource_tagKeys,++ -- * Destructuring the Response+ UntagResourceResponse (..),+ newUntagResourceResponse,++ -- * Response Lenses+ untagResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+ { -- | The resource ARN.+ resourceARN :: Prelude.Text,+ -- | The tag keys.+ tagKeys :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'untagResource_resourceARN' - The resource ARN.+--+-- 'tagKeys', 'untagResource_tagKeys' - The tag keys.+newUntagResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ UntagResource+newUntagResource pResourceARN_ =+ UntagResource'+ { resourceARN = pResourceARN_,+ tagKeys = Prelude.mempty+ }++-- | The resource ARN.+untagResource_resourceARN :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceARN = Lens.lens (\UntagResource' {resourceARN} -> resourceARN) (\s@UntagResource' {} a -> s {resourceARN = a} :: UntagResource)++-- | The tag keys.+untagResource_tagKeys :: Lens.Lens' UntagResource [Prelude.Text]+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+ type+ AWSResponse UntagResource =+ UntagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UntagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UntagResource where+ hashWithSalt _salt UntagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceARN+ `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+ rnf UntagResource' {..} =+ Prelude.rnf resourceARN+ `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UntagResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UntagResource where+ toJSON UntagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceARN" Data..= resourceARN),+ Prelude.Just ("TagKeys" Data..= tagKeys)+ ]+ )++instance Data.ToPath UntagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+ UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+ rnf UntagResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/UpdateAvailabilityConfiguration.hs view
@@ -0,0 +1,247 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UpdateAvailabilityConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an existing @AvailabilityConfiguration@ for the given WorkMail+-- organization and domain.+module Amazonka.WorkMail.UpdateAvailabilityConfiguration+ ( -- * Creating a Request+ UpdateAvailabilityConfiguration (..),+ newUpdateAvailabilityConfiguration,++ -- * Request Lenses+ updateAvailabilityConfiguration_ewsProvider,+ updateAvailabilityConfiguration_lambdaProvider,+ updateAvailabilityConfiguration_organizationId,+ updateAvailabilityConfiguration_domainName,++ -- * Destructuring the Response+ UpdateAvailabilityConfigurationResponse (..),+ newUpdateAvailabilityConfigurationResponse,++ -- * Response Lenses+ updateAvailabilityConfigurationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUpdateAvailabilityConfiguration' smart constructor.+data UpdateAvailabilityConfiguration = UpdateAvailabilityConfiguration'+ { -- | The EWS availability provider definition. The request must contain+ -- exactly one provider definition, either @EwsProvider@ or+ -- @LambdaProvider@. The previously stored provider will be overridden by+ -- the one provided.+ ewsProvider :: Prelude.Maybe EwsAvailabilityProvider,+ -- | The Lambda availability provider definition. The request must contain+ -- exactly one provider definition, either @EwsProvider@ or+ -- @LambdaProvider@. The previously stored provider will be overridden by+ -- the one provided.+ lambdaProvider :: Prelude.Maybe LambdaAvailabilityProvider,+ -- | The WorkMail organization for which the @AvailabilityConfiguration@ will+ -- be updated.+ organizationId :: Prelude.Text,+ -- | The domain to which the provider applies the availability configuration.+ domainName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateAvailabilityConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'ewsProvider', 'updateAvailabilityConfiguration_ewsProvider' - The EWS availability provider definition. The request must contain+-- exactly one provider definition, either @EwsProvider@ or+-- @LambdaProvider@. The previously stored provider will be overridden by+-- the one provided.+--+-- 'lambdaProvider', 'updateAvailabilityConfiguration_lambdaProvider' - The Lambda availability provider definition. The request must contain+-- exactly one provider definition, either @EwsProvider@ or+-- @LambdaProvider@. The previously stored provider will be overridden by+-- the one provided.+--+-- 'organizationId', 'updateAvailabilityConfiguration_organizationId' - The WorkMail organization for which the @AvailabilityConfiguration@ will+-- be updated.+--+-- 'domainName', 'updateAvailabilityConfiguration_domainName' - The domain to which the provider applies the availability configuration.+newUpdateAvailabilityConfiguration ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'domainName'+ Prelude.Text ->+ UpdateAvailabilityConfiguration+newUpdateAvailabilityConfiguration+ pOrganizationId_+ pDomainName_ =+ UpdateAvailabilityConfiguration'+ { ewsProvider =+ Prelude.Nothing,+ lambdaProvider = Prelude.Nothing,+ organizationId = pOrganizationId_,+ domainName = pDomainName_+ }++-- | The EWS availability provider definition. The request must contain+-- exactly one provider definition, either @EwsProvider@ or+-- @LambdaProvider@. The previously stored provider will be overridden by+-- the one provided.+updateAvailabilityConfiguration_ewsProvider :: Lens.Lens' UpdateAvailabilityConfiguration (Prelude.Maybe EwsAvailabilityProvider)+updateAvailabilityConfiguration_ewsProvider = Lens.lens (\UpdateAvailabilityConfiguration' {ewsProvider} -> ewsProvider) (\s@UpdateAvailabilityConfiguration' {} a -> s {ewsProvider = a} :: UpdateAvailabilityConfiguration)++-- | The Lambda availability provider definition. The request must contain+-- exactly one provider definition, either @EwsProvider@ or+-- @LambdaProvider@. The previously stored provider will be overridden by+-- the one provided.+updateAvailabilityConfiguration_lambdaProvider :: Lens.Lens' UpdateAvailabilityConfiguration (Prelude.Maybe LambdaAvailabilityProvider)+updateAvailabilityConfiguration_lambdaProvider = Lens.lens (\UpdateAvailabilityConfiguration' {lambdaProvider} -> lambdaProvider) (\s@UpdateAvailabilityConfiguration' {} a -> s {lambdaProvider = a} :: UpdateAvailabilityConfiguration)++-- | The WorkMail organization for which the @AvailabilityConfiguration@ will+-- be updated.+updateAvailabilityConfiguration_organizationId :: Lens.Lens' UpdateAvailabilityConfiguration Prelude.Text+updateAvailabilityConfiguration_organizationId = Lens.lens (\UpdateAvailabilityConfiguration' {organizationId} -> organizationId) (\s@UpdateAvailabilityConfiguration' {} a -> s {organizationId = a} :: UpdateAvailabilityConfiguration)++-- | The domain to which the provider applies the availability configuration.+updateAvailabilityConfiguration_domainName :: Lens.Lens' UpdateAvailabilityConfiguration Prelude.Text+updateAvailabilityConfiguration_domainName = Lens.lens (\UpdateAvailabilityConfiguration' {domainName} -> domainName) (\s@UpdateAvailabilityConfiguration' {} a -> s {domainName = a} :: UpdateAvailabilityConfiguration)++instance+ Core.AWSRequest+ UpdateAvailabilityConfiguration+ where+ type+ AWSResponse UpdateAvailabilityConfiguration =+ UpdateAvailabilityConfigurationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateAvailabilityConfigurationResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ UpdateAvailabilityConfiguration+ where+ hashWithSalt+ _salt+ UpdateAvailabilityConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` ewsProvider+ `Prelude.hashWithSalt` lambdaProvider+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` domainName++instance+ Prelude.NFData+ UpdateAvailabilityConfiguration+ where+ rnf UpdateAvailabilityConfiguration' {..} =+ Prelude.rnf ewsProvider+ `Prelude.seq` Prelude.rnf lambdaProvider+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf domainName++instance+ Data.ToHeaders+ UpdateAvailabilityConfiguration+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UpdateAvailabilityConfiguration" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateAvailabilityConfiguration where+ toJSON UpdateAvailabilityConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EwsProvider" Data..=) Prelude.<$> ewsProvider,+ ("LambdaProvider" Data..=)+ Prelude.<$> lambdaProvider,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("DomainName" Data..= domainName)+ ]+ )++instance Data.ToPath UpdateAvailabilityConfiguration where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateAvailabilityConfiguration where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateAvailabilityConfigurationResponse' smart constructor.+data UpdateAvailabilityConfigurationResponse = UpdateAvailabilityConfigurationResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateAvailabilityConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateAvailabilityConfigurationResponse_httpStatus' - The response's http status code.+newUpdateAvailabilityConfigurationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateAvailabilityConfigurationResponse+newUpdateAvailabilityConfigurationResponse+ pHttpStatus_ =+ UpdateAvailabilityConfigurationResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateAvailabilityConfigurationResponse_httpStatus :: Lens.Lens' UpdateAvailabilityConfigurationResponse Prelude.Int+updateAvailabilityConfigurationResponse_httpStatus = Lens.lens (\UpdateAvailabilityConfigurationResponse' {httpStatus} -> httpStatus) (\s@UpdateAvailabilityConfigurationResponse' {} a -> s {httpStatus = a} :: UpdateAvailabilityConfigurationResponse)++instance+ Prelude.NFData+ UpdateAvailabilityConfigurationResponse+ where+ rnf UpdateAvailabilityConfigurationResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/UpdateDefaultMailDomain.hs view
@@ -0,0 +1,185 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UpdateDefaultMailDomain+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the default mail domain for an organization. The default mail+-- domain is used by the WorkMail AWS Console to suggest an email address+-- when enabling a mail user. You can only have one default domain.+module Amazonka.WorkMail.UpdateDefaultMailDomain+ ( -- * Creating a Request+ UpdateDefaultMailDomain (..),+ newUpdateDefaultMailDomain,++ -- * Request Lenses+ updateDefaultMailDomain_organizationId,+ updateDefaultMailDomain_domainName,++ -- * Destructuring the Response+ UpdateDefaultMailDomainResponse (..),+ newUpdateDefaultMailDomainResponse,++ -- * Response Lenses+ updateDefaultMailDomainResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUpdateDefaultMailDomain' smart constructor.+data UpdateDefaultMailDomain = UpdateDefaultMailDomain'+ { -- | The WorkMail organization for which to list domains.+ organizationId :: Prelude.Text,+ -- | The domain name that will become the default domain.+ domainName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateDefaultMailDomain' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'updateDefaultMailDomain_organizationId' - The WorkMail organization for which to list domains.+--+-- 'domainName', 'updateDefaultMailDomain_domainName' - The domain name that will become the default domain.+newUpdateDefaultMailDomain ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'domainName'+ Prelude.Text ->+ UpdateDefaultMailDomain+newUpdateDefaultMailDomain+ pOrganizationId_+ pDomainName_ =+ UpdateDefaultMailDomain'+ { organizationId =+ pOrganizationId_,+ domainName = pDomainName_+ }++-- | The WorkMail organization for which to list domains.+updateDefaultMailDomain_organizationId :: Lens.Lens' UpdateDefaultMailDomain Prelude.Text+updateDefaultMailDomain_organizationId = Lens.lens (\UpdateDefaultMailDomain' {organizationId} -> organizationId) (\s@UpdateDefaultMailDomain' {} a -> s {organizationId = a} :: UpdateDefaultMailDomain)++-- | The domain name that will become the default domain.+updateDefaultMailDomain_domainName :: Lens.Lens' UpdateDefaultMailDomain Prelude.Text+updateDefaultMailDomain_domainName = Lens.lens (\UpdateDefaultMailDomain' {domainName} -> domainName) (\s@UpdateDefaultMailDomain' {} a -> s {domainName = a} :: UpdateDefaultMailDomain)++instance Core.AWSRequest UpdateDefaultMailDomain where+ type+ AWSResponse UpdateDefaultMailDomain =+ UpdateDefaultMailDomainResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateDefaultMailDomainResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateDefaultMailDomain where+ hashWithSalt _salt UpdateDefaultMailDomain' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` domainName++instance Prelude.NFData UpdateDefaultMailDomain where+ rnf UpdateDefaultMailDomain' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf domainName++instance Data.ToHeaders UpdateDefaultMailDomain where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UpdateDefaultMailDomain" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateDefaultMailDomain where+ toJSON UpdateDefaultMailDomain' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("DomainName" Data..= domainName)+ ]+ )++instance Data.ToPath UpdateDefaultMailDomain where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateDefaultMailDomain where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateDefaultMailDomainResponse' smart constructor.+data UpdateDefaultMailDomainResponse = UpdateDefaultMailDomainResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateDefaultMailDomainResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateDefaultMailDomainResponse_httpStatus' - The response's http status code.+newUpdateDefaultMailDomainResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateDefaultMailDomainResponse+newUpdateDefaultMailDomainResponse pHttpStatus_ =+ UpdateDefaultMailDomainResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateDefaultMailDomainResponse_httpStatus :: Lens.Lens' UpdateDefaultMailDomainResponse Prelude.Int+updateDefaultMailDomainResponse_httpStatus = Lens.lens (\UpdateDefaultMailDomainResponse' {httpStatus} -> httpStatus) (\s@UpdateDefaultMailDomainResponse' {} a -> s {httpStatus = a} :: UpdateDefaultMailDomainResponse)++instance+ Prelude.NFData+ UpdateDefaultMailDomainResponse+ where+ rnf UpdateDefaultMailDomainResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/UpdateImpersonationRole.hs view
@@ -0,0 +1,245 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UpdateImpersonationRole+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an impersonation role for the given WorkMail organization.+module Amazonka.WorkMail.UpdateImpersonationRole+ ( -- * Creating a Request+ UpdateImpersonationRole (..),+ newUpdateImpersonationRole,++ -- * Request Lenses+ updateImpersonationRole_description,+ updateImpersonationRole_organizationId,+ updateImpersonationRole_impersonationRoleId,+ updateImpersonationRole_name,+ updateImpersonationRole_type,+ updateImpersonationRole_rules,++ -- * Destructuring the Response+ UpdateImpersonationRoleResponse (..),+ newUpdateImpersonationRoleResponse,++ -- * Response Lenses+ updateImpersonationRoleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUpdateImpersonationRole' smart constructor.+data UpdateImpersonationRole = UpdateImpersonationRole'+ { -- | The updated impersonation role description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The WorkMail organization that contains the impersonation role to+ -- update.+ organizationId :: Prelude.Text,+ -- | The ID of the impersonation role to update.+ impersonationRoleId :: Prelude.Text,+ -- | The updated impersonation role name.+ name :: Prelude.Text,+ -- | The updated impersonation role type.+ type' :: ImpersonationRoleType,+ -- | The updated list of rules.+ rules :: [ImpersonationRule]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateImpersonationRole' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateImpersonationRole_description' - The updated impersonation role description.+--+-- 'organizationId', 'updateImpersonationRole_organizationId' - The WorkMail organization that contains the impersonation role to+-- update.+--+-- 'impersonationRoleId', 'updateImpersonationRole_impersonationRoleId' - The ID of the impersonation role to update.+--+-- 'name', 'updateImpersonationRole_name' - The updated impersonation role name.+--+-- 'type'', 'updateImpersonationRole_type' - The updated impersonation role type.+--+-- 'rules', 'updateImpersonationRole_rules' - The updated list of rules.+newUpdateImpersonationRole ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'impersonationRoleId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'type''+ ImpersonationRoleType ->+ UpdateImpersonationRole+newUpdateImpersonationRole+ pOrganizationId_+ pImpersonationRoleId_+ pName_+ pType_ =+ UpdateImpersonationRole'+ { description =+ Prelude.Nothing,+ organizationId = pOrganizationId_,+ impersonationRoleId = pImpersonationRoleId_,+ name = pName_,+ type' = pType_,+ rules = Prelude.mempty+ }++-- | The updated impersonation role description.+updateImpersonationRole_description :: Lens.Lens' UpdateImpersonationRole (Prelude.Maybe Prelude.Text)+updateImpersonationRole_description = Lens.lens (\UpdateImpersonationRole' {description} -> description) (\s@UpdateImpersonationRole' {} a -> s {description = a} :: UpdateImpersonationRole)++-- | The WorkMail organization that contains the impersonation role to+-- update.+updateImpersonationRole_organizationId :: Lens.Lens' UpdateImpersonationRole Prelude.Text+updateImpersonationRole_organizationId = Lens.lens (\UpdateImpersonationRole' {organizationId} -> organizationId) (\s@UpdateImpersonationRole' {} a -> s {organizationId = a} :: UpdateImpersonationRole)++-- | The ID of the impersonation role to update.+updateImpersonationRole_impersonationRoleId :: Lens.Lens' UpdateImpersonationRole Prelude.Text+updateImpersonationRole_impersonationRoleId = Lens.lens (\UpdateImpersonationRole' {impersonationRoleId} -> impersonationRoleId) (\s@UpdateImpersonationRole' {} a -> s {impersonationRoleId = a} :: UpdateImpersonationRole)++-- | The updated impersonation role name.+updateImpersonationRole_name :: Lens.Lens' UpdateImpersonationRole Prelude.Text+updateImpersonationRole_name = Lens.lens (\UpdateImpersonationRole' {name} -> name) (\s@UpdateImpersonationRole' {} a -> s {name = a} :: UpdateImpersonationRole)++-- | The updated impersonation role type.+updateImpersonationRole_type :: Lens.Lens' UpdateImpersonationRole ImpersonationRoleType+updateImpersonationRole_type = Lens.lens (\UpdateImpersonationRole' {type'} -> type') (\s@UpdateImpersonationRole' {} a -> s {type' = a} :: UpdateImpersonationRole)++-- | The updated list of rules.+updateImpersonationRole_rules :: Lens.Lens' UpdateImpersonationRole [ImpersonationRule]+updateImpersonationRole_rules = Lens.lens (\UpdateImpersonationRole' {rules} -> rules) (\s@UpdateImpersonationRole' {} a -> s {rules = a} :: UpdateImpersonationRole) Prelude.. Lens.coerced++instance Core.AWSRequest UpdateImpersonationRole where+ type+ AWSResponse UpdateImpersonationRole =+ UpdateImpersonationRoleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateImpersonationRoleResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateImpersonationRole where+ hashWithSalt _salt UpdateImpersonationRole' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` impersonationRoleId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` rules++instance Prelude.NFData UpdateImpersonationRole where+ rnf UpdateImpersonationRole' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf impersonationRoleId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf rules++instance Data.ToHeaders UpdateImpersonationRole where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UpdateImpersonationRole" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateImpersonationRole where+ toJSON UpdateImpersonationRole' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ("ImpersonationRoleId" Data..= impersonationRoleId),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Type" Data..= type'),+ Prelude.Just ("Rules" Data..= rules)+ ]+ )++instance Data.ToPath UpdateImpersonationRole where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateImpersonationRole where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateImpersonationRoleResponse' smart constructor.+data UpdateImpersonationRoleResponse = UpdateImpersonationRoleResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateImpersonationRoleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateImpersonationRoleResponse_httpStatus' - The response's http status code.+newUpdateImpersonationRoleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateImpersonationRoleResponse+newUpdateImpersonationRoleResponse pHttpStatus_ =+ UpdateImpersonationRoleResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateImpersonationRoleResponse_httpStatus :: Lens.Lens' UpdateImpersonationRoleResponse Prelude.Int+updateImpersonationRoleResponse_httpStatus = Lens.lens (\UpdateImpersonationRoleResponse' {httpStatus} -> httpStatus) (\s@UpdateImpersonationRoleResponse' {} a -> s {httpStatus = a} :: UpdateImpersonationRoleResponse)++instance+ Prelude.NFData+ UpdateImpersonationRoleResponse+ where+ rnf UpdateImpersonationRoleResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/UpdateMailboxQuota.hs view
@@ -0,0 +1,200 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UpdateMailboxQuota+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a user\'s current mailbox quota for a specified organization and+-- user.+module Amazonka.WorkMail.UpdateMailboxQuota+ ( -- * Creating a Request+ UpdateMailboxQuota (..),+ newUpdateMailboxQuota,++ -- * Request Lenses+ updateMailboxQuota_organizationId,+ updateMailboxQuota_userId,+ updateMailboxQuota_mailboxQuota,++ -- * Destructuring the Response+ UpdateMailboxQuotaResponse (..),+ newUpdateMailboxQuotaResponse,++ -- * Response Lenses+ updateMailboxQuotaResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUpdateMailboxQuota' smart constructor.+data UpdateMailboxQuota = UpdateMailboxQuota'+ { -- | The identifier for the organization that contains the user for whom to+ -- update the mailbox quota.+ organizationId :: Prelude.Text,+ -- | The identifer for the user for whom to update the mailbox quota.+ userId :: Prelude.Text,+ -- | The updated mailbox quota, in MB, for the specified user.+ mailboxQuota :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateMailboxQuota' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'updateMailboxQuota_organizationId' - The identifier for the organization that contains the user for whom to+-- update the mailbox quota.+--+-- 'userId', 'updateMailboxQuota_userId' - The identifer for the user for whom to update the mailbox quota.+--+-- 'mailboxQuota', 'updateMailboxQuota_mailboxQuota' - The updated mailbox quota, in MB, for the specified user.+newUpdateMailboxQuota ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'userId'+ Prelude.Text ->+ -- | 'mailboxQuota'+ Prelude.Natural ->+ UpdateMailboxQuota+newUpdateMailboxQuota+ pOrganizationId_+ pUserId_+ pMailboxQuota_ =+ UpdateMailboxQuota'+ { organizationId =+ pOrganizationId_,+ userId = pUserId_,+ mailboxQuota = pMailboxQuota_+ }++-- | The identifier for the organization that contains the user for whom to+-- update the mailbox quota.+updateMailboxQuota_organizationId :: Lens.Lens' UpdateMailboxQuota Prelude.Text+updateMailboxQuota_organizationId = Lens.lens (\UpdateMailboxQuota' {organizationId} -> organizationId) (\s@UpdateMailboxQuota' {} a -> s {organizationId = a} :: UpdateMailboxQuota)++-- | The identifer for the user for whom to update the mailbox quota.+updateMailboxQuota_userId :: Lens.Lens' UpdateMailboxQuota Prelude.Text+updateMailboxQuota_userId = Lens.lens (\UpdateMailboxQuota' {userId} -> userId) (\s@UpdateMailboxQuota' {} a -> s {userId = a} :: UpdateMailboxQuota)++-- | The updated mailbox quota, in MB, for the specified user.+updateMailboxQuota_mailboxQuota :: Lens.Lens' UpdateMailboxQuota Prelude.Natural+updateMailboxQuota_mailboxQuota = Lens.lens (\UpdateMailboxQuota' {mailboxQuota} -> mailboxQuota) (\s@UpdateMailboxQuota' {} a -> s {mailboxQuota = a} :: UpdateMailboxQuota)++instance Core.AWSRequest UpdateMailboxQuota where+ type+ AWSResponse UpdateMailboxQuota =+ UpdateMailboxQuotaResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateMailboxQuotaResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateMailboxQuota where+ hashWithSalt _salt UpdateMailboxQuota' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` userId+ `Prelude.hashWithSalt` mailboxQuota++instance Prelude.NFData UpdateMailboxQuota where+ rnf UpdateMailboxQuota' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf userId+ `Prelude.seq` Prelude.rnf mailboxQuota++instance Data.ToHeaders UpdateMailboxQuota where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UpdateMailboxQuota" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateMailboxQuota where+ toJSON UpdateMailboxQuota' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("UserId" Data..= userId),+ Prelude.Just ("MailboxQuota" Data..= mailboxQuota)+ ]+ )++instance Data.ToPath UpdateMailboxQuota where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateMailboxQuota where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateMailboxQuotaResponse' smart constructor.+data UpdateMailboxQuotaResponse = UpdateMailboxQuotaResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateMailboxQuotaResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateMailboxQuotaResponse_httpStatus' - The response's http status code.+newUpdateMailboxQuotaResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateMailboxQuotaResponse+newUpdateMailboxQuotaResponse pHttpStatus_ =+ UpdateMailboxQuotaResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateMailboxQuotaResponse_httpStatus :: Lens.Lens' UpdateMailboxQuotaResponse Prelude.Int+updateMailboxQuotaResponse_httpStatus = Lens.lens (\UpdateMailboxQuotaResponse' {httpStatus} -> httpStatus) (\s@UpdateMailboxQuotaResponse' {} a -> s {httpStatus = a} :: UpdateMailboxQuotaResponse)++instance Prelude.NFData UpdateMailboxQuotaResponse where+ rnf UpdateMailboxQuotaResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/UpdateMobileDeviceAccessRule.hs view
@@ -0,0 +1,361 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UpdateMobileDeviceAccessRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a mobile device access rule for the specified WorkMail+-- organization.+module Amazonka.WorkMail.UpdateMobileDeviceAccessRule+ ( -- * Creating a Request+ UpdateMobileDeviceAccessRule (..),+ newUpdateMobileDeviceAccessRule,++ -- * Request Lenses+ updateMobileDeviceAccessRule_description,+ updateMobileDeviceAccessRule_deviceModels,+ updateMobileDeviceAccessRule_deviceOperatingSystems,+ updateMobileDeviceAccessRule_deviceTypes,+ updateMobileDeviceAccessRule_deviceUserAgents,+ updateMobileDeviceAccessRule_notDeviceModels,+ updateMobileDeviceAccessRule_notDeviceOperatingSystems,+ updateMobileDeviceAccessRule_notDeviceTypes,+ updateMobileDeviceAccessRule_notDeviceUserAgents,+ updateMobileDeviceAccessRule_organizationId,+ updateMobileDeviceAccessRule_mobileDeviceAccessRuleId,+ updateMobileDeviceAccessRule_name,+ updateMobileDeviceAccessRule_effect,++ -- * Destructuring the Response+ UpdateMobileDeviceAccessRuleResponse (..),+ newUpdateMobileDeviceAccessRuleResponse,++ -- * Response Lenses+ updateMobileDeviceAccessRuleResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUpdateMobileDeviceAccessRule' smart constructor.+data UpdateMobileDeviceAccessRule = UpdateMobileDeviceAccessRule'+ { -- | The updated rule description.+ description :: Prelude.Maybe Prelude.Text,+ -- | Device models that the updated rule will match.+ deviceModels :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device operating systems that the updated rule will match.+ deviceOperatingSystems :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device types that the updated rule will match.+ deviceTypes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | User agents that the updated rule will match.+ deviceUserAgents :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device models that the updated rule __will not__ match. All other device+ -- models will match.+ notDeviceModels :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device operating systems that the updated rule __will not__ match. All+ -- other device operating systems will match.+ notDeviceOperatingSystems :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | Device types that the updated rule __will not__ match. All other device+ -- types will match.+ notDeviceTypes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | User agents that the updated rule __will not__ match. All other user+ -- agents will match.+ notDeviceUserAgents :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | The WorkMail organization under which the rule will be updated.+ organizationId :: Prelude.Text,+ -- | The identifier of the rule to be updated.+ mobileDeviceAccessRuleId :: Prelude.Text,+ -- | The updated rule name.+ name :: Prelude.Text,+ -- | The effect of the rule when it matches. Allowed values are @ALLOW@ or+ -- @DENY@.+ effect :: MobileDeviceAccessRuleEffect+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateMobileDeviceAccessRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateMobileDeviceAccessRule_description' - The updated rule description.+--+-- 'deviceModels', 'updateMobileDeviceAccessRule_deviceModels' - Device models that the updated rule will match.+--+-- 'deviceOperatingSystems', 'updateMobileDeviceAccessRule_deviceOperatingSystems' - Device operating systems that the updated rule will match.+--+-- 'deviceTypes', 'updateMobileDeviceAccessRule_deviceTypes' - Device types that the updated rule will match.+--+-- 'deviceUserAgents', 'updateMobileDeviceAccessRule_deviceUserAgents' - User agents that the updated rule will match.+--+-- 'notDeviceModels', 'updateMobileDeviceAccessRule_notDeviceModels' - Device models that the updated rule __will not__ match. All other device+-- models will match.+--+-- 'notDeviceOperatingSystems', 'updateMobileDeviceAccessRule_notDeviceOperatingSystems' - Device operating systems that the updated rule __will not__ match. All+-- other device operating systems will match.+--+-- 'notDeviceTypes', 'updateMobileDeviceAccessRule_notDeviceTypes' - Device types that the updated rule __will not__ match. All other device+-- types will match.+--+-- 'notDeviceUserAgents', 'updateMobileDeviceAccessRule_notDeviceUserAgents' - User agents that the updated rule __will not__ match. All other user+-- agents will match.+--+-- 'organizationId', 'updateMobileDeviceAccessRule_organizationId' - The WorkMail organization under which the rule will be updated.+--+-- 'mobileDeviceAccessRuleId', 'updateMobileDeviceAccessRule_mobileDeviceAccessRuleId' - The identifier of the rule to be updated.+--+-- 'name', 'updateMobileDeviceAccessRule_name' - The updated rule name.+--+-- 'effect', 'updateMobileDeviceAccessRule_effect' - The effect of the rule when it matches. Allowed values are @ALLOW@ or+-- @DENY@.+newUpdateMobileDeviceAccessRule ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'mobileDeviceAccessRuleId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'effect'+ MobileDeviceAccessRuleEffect ->+ UpdateMobileDeviceAccessRule+newUpdateMobileDeviceAccessRule+ pOrganizationId_+ pMobileDeviceAccessRuleId_+ pName_+ pEffect_ =+ UpdateMobileDeviceAccessRule'+ { description =+ Prelude.Nothing,+ deviceModels = Prelude.Nothing,+ deviceOperatingSystems = Prelude.Nothing,+ deviceTypes = Prelude.Nothing,+ deviceUserAgents = Prelude.Nothing,+ notDeviceModels = Prelude.Nothing,+ notDeviceOperatingSystems = Prelude.Nothing,+ notDeviceTypes = Prelude.Nothing,+ notDeviceUserAgents = Prelude.Nothing,+ organizationId = pOrganizationId_,+ mobileDeviceAccessRuleId =+ pMobileDeviceAccessRuleId_,+ name = pName_,+ effect = pEffect_+ }++-- | The updated rule description.+updateMobileDeviceAccessRule_description :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe Prelude.Text)+updateMobileDeviceAccessRule_description = Lens.lens (\UpdateMobileDeviceAccessRule' {description} -> description) (\s@UpdateMobileDeviceAccessRule' {} a -> s {description = a} :: UpdateMobileDeviceAccessRule)++-- | Device models that the updated rule will match.+updateMobileDeviceAccessRule_deviceModels :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_deviceModels = Lens.lens (\UpdateMobileDeviceAccessRule' {deviceModels} -> deviceModels) (\s@UpdateMobileDeviceAccessRule' {} a -> s {deviceModels = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device operating systems that the updated rule will match.+updateMobileDeviceAccessRule_deviceOperatingSystems :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_deviceOperatingSystems = Lens.lens (\UpdateMobileDeviceAccessRule' {deviceOperatingSystems} -> deviceOperatingSystems) (\s@UpdateMobileDeviceAccessRule' {} a -> s {deviceOperatingSystems = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device types that the updated rule will match.+updateMobileDeviceAccessRule_deviceTypes :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_deviceTypes = Lens.lens (\UpdateMobileDeviceAccessRule' {deviceTypes} -> deviceTypes) (\s@UpdateMobileDeviceAccessRule' {} a -> s {deviceTypes = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | User agents that the updated rule will match.+updateMobileDeviceAccessRule_deviceUserAgents :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_deviceUserAgents = Lens.lens (\UpdateMobileDeviceAccessRule' {deviceUserAgents} -> deviceUserAgents) (\s@UpdateMobileDeviceAccessRule' {} a -> s {deviceUserAgents = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device models that the updated rule __will not__ match. All other device+-- models will match.+updateMobileDeviceAccessRule_notDeviceModels :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_notDeviceModels = Lens.lens (\UpdateMobileDeviceAccessRule' {notDeviceModels} -> notDeviceModels) (\s@UpdateMobileDeviceAccessRule' {} a -> s {notDeviceModels = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device operating systems that the updated rule __will not__ match. All+-- other device operating systems will match.+updateMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_notDeviceOperatingSystems = Lens.lens (\UpdateMobileDeviceAccessRule' {notDeviceOperatingSystems} -> notDeviceOperatingSystems) (\s@UpdateMobileDeviceAccessRule' {} a -> s {notDeviceOperatingSystems = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | Device types that the updated rule __will not__ match. All other device+-- types will match.+updateMobileDeviceAccessRule_notDeviceTypes :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_notDeviceTypes = Lens.lens (\UpdateMobileDeviceAccessRule' {notDeviceTypes} -> notDeviceTypes) (\s@UpdateMobileDeviceAccessRule' {} a -> s {notDeviceTypes = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | User agents that the updated rule __will not__ match. All other user+-- agents will match.+updateMobileDeviceAccessRule_notDeviceUserAgents :: Lens.Lens' UpdateMobileDeviceAccessRule (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+updateMobileDeviceAccessRule_notDeviceUserAgents = Lens.lens (\UpdateMobileDeviceAccessRule' {notDeviceUserAgents} -> notDeviceUserAgents) (\s@UpdateMobileDeviceAccessRule' {} a -> s {notDeviceUserAgents = a} :: UpdateMobileDeviceAccessRule) Prelude.. Lens.mapping Lens.coerced++-- | The WorkMail organization under which the rule will be updated.+updateMobileDeviceAccessRule_organizationId :: Lens.Lens' UpdateMobileDeviceAccessRule Prelude.Text+updateMobileDeviceAccessRule_organizationId = Lens.lens (\UpdateMobileDeviceAccessRule' {organizationId} -> organizationId) (\s@UpdateMobileDeviceAccessRule' {} a -> s {organizationId = a} :: UpdateMobileDeviceAccessRule)++-- | The identifier of the rule to be updated.+updateMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens.Lens' UpdateMobileDeviceAccessRule Prelude.Text+updateMobileDeviceAccessRule_mobileDeviceAccessRuleId = Lens.lens (\UpdateMobileDeviceAccessRule' {mobileDeviceAccessRuleId} -> mobileDeviceAccessRuleId) (\s@UpdateMobileDeviceAccessRule' {} a -> s {mobileDeviceAccessRuleId = a} :: UpdateMobileDeviceAccessRule)++-- | The updated rule name.+updateMobileDeviceAccessRule_name :: Lens.Lens' UpdateMobileDeviceAccessRule Prelude.Text+updateMobileDeviceAccessRule_name = Lens.lens (\UpdateMobileDeviceAccessRule' {name} -> name) (\s@UpdateMobileDeviceAccessRule' {} a -> s {name = a} :: UpdateMobileDeviceAccessRule)++-- | The effect of the rule when it matches. Allowed values are @ALLOW@ or+-- @DENY@.+updateMobileDeviceAccessRule_effect :: Lens.Lens' UpdateMobileDeviceAccessRule MobileDeviceAccessRuleEffect+updateMobileDeviceAccessRule_effect = Lens.lens (\UpdateMobileDeviceAccessRule' {effect} -> effect) (\s@UpdateMobileDeviceAccessRule' {} a -> s {effect = a} :: UpdateMobileDeviceAccessRule)++instance Core.AWSRequest UpdateMobileDeviceAccessRule where+ type+ AWSResponse UpdateMobileDeviceAccessRule =+ UpdateMobileDeviceAccessRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateMobileDeviceAccessRuleResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ UpdateMobileDeviceAccessRule+ where+ hashWithSalt _salt UpdateMobileDeviceAccessRule' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` deviceModels+ `Prelude.hashWithSalt` deviceOperatingSystems+ `Prelude.hashWithSalt` deviceTypes+ `Prelude.hashWithSalt` deviceUserAgents+ `Prelude.hashWithSalt` notDeviceModels+ `Prelude.hashWithSalt` notDeviceOperatingSystems+ `Prelude.hashWithSalt` notDeviceTypes+ `Prelude.hashWithSalt` notDeviceUserAgents+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` mobileDeviceAccessRuleId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` effect++instance Prelude.NFData UpdateMobileDeviceAccessRule where+ rnf UpdateMobileDeviceAccessRule' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf deviceModels+ `Prelude.seq` Prelude.rnf deviceOperatingSystems+ `Prelude.seq` Prelude.rnf deviceTypes+ `Prelude.seq` Prelude.rnf deviceUserAgents+ `Prelude.seq` Prelude.rnf notDeviceModels+ `Prelude.seq` Prelude.rnf notDeviceOperatingSystems+ `Prelude.seq` Prelude.rnf notDeviceTypes+ `Prelude.seq` Prelude.rnf notDeviceUserAgents+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf mobileDeviceAccessRuleId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf effect++instance Data.ToHeaders UpdateMobileDeviceAccessRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UpdateMobileDeviceAccessRule" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateMobileDeviceAccessRule where+ toJSON UpdateMobileDeviceAccessRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("DeviceModels" Data..=) Prelude.<$> deviceModels,+ ("DeviceOperatingSystems" Data..=)+ Prelude.<$> deviceOperatingSystems,+ ("DeviceTypes" Data..=) Prelude.<$> deviceTypes,+ ("DeviceUserAgents" Data..=)+ Prelude.<$> deviceUserAgents,+ ("NotDeviceModels" Data..=)+ Prelude.<$> notDeviceModels,+ ("NotDeviceOperatingSystems" Data..=)+ Prelude.<$> notDeviceOperatingSystems,+ ("NotDeviceTypes" Data..=)+ Prelude.<$> notDeviceTypes,+ ("NotDeviceUserAgents" Data..=)+ Prelude.<$> notDeviceUserAgents,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just+ ( "MobileDeviceAccessRuleId"+ Data..= mobileDeviceAccessRuleId+ ),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Effect" Data..= effect)+ ]+ )++instance Data.ToPath UpdateMobileDeviceAccessRule where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateMobileDeviceAccessRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateMobileDeviceAccessRuleResponse' smart constructor.+data UpdateMobileDeviceAccessRuleResponse = UpdateMobileDeviceAccessRuleResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateMobileDeviceAccessRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateMobileDeviceAccessRuleResponse_httpStatus' - The response's http status code.+newUpdateMobileDeviceAccessRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateMobileDeviceAccessRuleResponse+newUpdateMobileDeviceAccessRuleResponse pHttpStatus_ =+ UpdateMobileDeviceAccessRuleResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateMobileDeviceAccessRuleResponse_httpStatus :: Lens.Lens' UpdateMobileDeviceAccessRuleResponse Prelude.Int+updateMobileDeviceAccessRuleResponse_httpStatus = Lens.lens (\UpdateMobileDeviceAccessRuleResponse' {httpStatus} -> httpStatus) (\s@UpdateMobileDeviceAccessRuleResponse' {} a -> s {httpStatus = a} :: UpdateMobileDeviceAccessRuleResponse)++instance+ Prelude.NFData+ UpdateMobileDeviceAccessRuleResponse+ where+ rnf UpdateMobileDeviceAccessRuleResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/UpdatePrimaryEmailAddress.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UpdatePrimaryEmailAddress+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.WorkMail.UpdatePrimaryEmailAddress+ ( -- * Creating a Request+ UpdatePrimaryEmailAddress (..),+ newUpdatePrimaryEmailAddress,++ -- * Request Lenses+ updatePrimaryEmailAddress_organizationId,+ updatePrimaryEmailAddress_entityId,+ updatePrimaryEmailAddress_email,++ -- * Destructuring the Response+ UpdatePrimaryEmailAddressResponse (..),+ newUpdatePrimaryEmailAddressResponse,++ -- * Response Lenses+ updatePrimaryEmailAddressResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUpdatePrimaryEmailAddress' smart constructor.+data UpdatePrimaryEmailAddress = UpdatePrimaryEmailAddress'+ { -- | The organization that contains the user, group, or resource to update.+ organizationId :: Prelude.Text,+ -- | The user, group, or resource to update.+ entityId :: Prelude.Text,+ -- | The value of the email to be updated as primary.+ email :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdatePrimaryEmailAddress' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'organizationId', 'updatePrimaryEmailAddress_organizationId' - The organization that contains the user, group, or resource to update.+--+-- 'entityId', 'updatePrimaryEmailAddress_entityId' - The user, group, or resource to update.+--+-- 'email', 'updatePrimaryEmailAddress_email' - The value of the email to be updated as primary.+newUpdatePrimaryEmailAddress ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'entityId'+ Prelude.Text ->+ -- | 'email'+ Prelude.Text ->+ UpdatePrimaryEmailAddress+newUpdatePrimaryEmailAddress+ pOrganizationId_+ pEntityId_+ pEmail_ =+ UpdatePrimaryEmailAddress'+ { organizationId =+ pOrganizationId_,+ entityId = pEntityId_,+ email = pEmail_+ }++-- | The organization that contains the user, group, or resource to update.+updatePrimaryEmailAddress_organizationId :: Lens.Lens' UpdatePrimaryEmailAddress Prelude.Text+updatePrimaryEmailAddress_organizationId = Lens.lens (\UpdatePrimaryEmailAddress' {organizationId} -> organizationId) (\s@UpdatePrimaryEmailAddress' {} a -> s {organizationId = a} :: UpdatePrimaryEmailAddress)++-- | The user, group, or resource to update.+updatePrimaryEmailAddress_entityId :: Lens.Lens' UpdatePrimaryEmailAddress Prelude.Text+updatePrimaryEmailAddress_entityId = Lens.lens (\UpdatePrimaryEmailAddress' {entityId} -> entityId) (\s@UpdatePrimaryEmailAddress' {} a -> s {entityId = a} :: UpdatePrimaryEmailAddress)++-- | The value of the email to be updated as primary.+updatePrimaryEmailAddress_email :: Lens.Lens' UpdatePrimaryEmailAddress Prelude.Text+updatePrimaryEmailAddress_email = Lens.lens (\UpdatePrimaryEmailAddress' {email} -> email) (\s@UpdatePrimaryEmailAddress' {} a -> s {email = a} :: UpdatePrimaryEmailAddress)++instance Core.AWSRequest UpdatePrimaryEmailAddress where+ type+ AWSResponse UpdatePrimaryEmailAddress =+ UpdatePrimaryEmailAddressResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdatePrimaryEmailAddressResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdatePrimaryEmailAddress where+ hashWithSalt _salt UpdatePrimaryEmailAddress' {..} =+ _salt+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` entityId+ `Prelude.hashWithSalt` email++instance Prelude.NFData UpdatePrimaryEmailAddress where+ rnf UpdatePrimaryEmailAddress' {..} =+ Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf entityId+ `Prelude.seq` Prelude.rnf email++instance Data.ToHeaders UpdatePrimaryEmailAddress where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UpdatePrimaryEmailAddress" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdatePrimaryEmailAddress where+ toJSON UpdatePrimaryEmailAddress' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("EntityId" Data..= entityId),+ Prelude.Just ("Email" Data..= email)+ ]+ )++instance Data.ToPath UpdatePrimaryEmailAddress where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdatePrimaryEmailAddress where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdatePrimaryEmailAddressResponse' smart constructor.+data UpdatePrimaryEmailAddressResponse = UpdatePrimaryEmailAddressResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdatePrimaryEmailAddressResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updatePrimaryEmailAddressResponse_httpStatus' - The response's http status code.+newUpdatePrimaryEmailAddressResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdatePrimaryEmailAddressResponse+newUpdatePrimaryEmailAddressResponse pHttpStatus_ =+ UpdatePrimaryEmailAddressResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updatePrimaryEmailAddressResponse_httpStatus :: Lens.Lens' UpdatePrimaryEmailAddressResponse Prelude.Int+updatePrimaryEmailAddressResponse_httpStatus = Lens.lens (\UpdatePrimaryEmailAddressResponse' {httpStatus} -> httpStatus) (\s@UpdatePrimaryEmailAddressResponse' {} a -> s {httpStatus = a} :: UpdatePrimaryEmailAddressResponse)++instance+ Prelude.NFData+ UpdatePrimaryEmailAddressResponse+ where+ rnf UpdatePrimaryEmailAddressResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/UpdateResource.hs view
@@ -0,0 +1,207 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.UpdateResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.WorkMail.UpdateResource+ ( -- * Creating a Request+ UpdateResource (..),+ newUpdateResource,++ -- * Request Lenses+ updateResource_bookingOptions,+ updateResource_name,+ updateResource_organizationId,+ updateResource_resourceId,++ -- * Destructuring the Response+ UpdateResourceResponse (..),+ newUpdateResourceResponse,++ -- * Response Lenses+ updateResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.WorkMail.Types++-- | /See:/ 'newUpdateResource' smart constructor.+data UpdateResource = UpdateResource'+ { -- | The resource\'s booking options to be updated.+ bookingOptions :: Prelude.Maybe BookingOptions,+ -- | The name of the resource to be updated.+ name :: Prelude.Maybe Prelude.Text,+ -- | The identifier associated with the organization for which the resource+ -- is updated.+ organizationId :: Prelude.Text,+ -- | The identifier of the resource to be updated.+ resourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'bookingOptions', 'updateResource_bookingOptions' - The resource\'s booking options to be updated.+--+-- 'name', 'updateResource_name' - The name of the resource to be updated.+--+-- 'organizationId', 'updateResource_organizationId' - The identifier associated with the organization for which the resource+-- is updated.+--+-- 'resourceId', 'updateResource_resourceId' - The identifier of the resource to be updated.+newUpdateResource ::+ -- | 'organizationId'+ Prelude.Text ->+ -- | 'resourceId'+ Prelude.Text ->+ UpdateResource+newUpdateResource pOrganizationId_ pResourceId_ =+ UpdateResource'+ { bookingOptions = Prelude.Nothing,+ name = Prelude.Nothing,+ organizationId = pOrganizationId_,+ resourceId = pResourceId_+ }++-- | The resource\'s booking options to be updated.+updateResource_bookingOptions :: Lens.Lens' UpdateResource (Prelude.Maybe BookingOptions)+updateResource_bookingOptions = Lens.lens (\UpdateResource' {bookingOptions} -> bookingOptions) (\s@UpdateResource' {} a -> s {bookingOptions = a} :: UpdateResource)++-- | The name of the resource to be updated.+updateResource_name :: Lens.Lens' UpdateResource (Prelude.Maybe Prelude.Text)+updateResource_name = Lens.lens (\UpdateResource' {name} -> name) (\s@UpdateResource' {} a -> s {name = a} :: UpdateResource)++-- | The identifier associated with the organization for which the resource+-- is updated.+updateResource_organizationId :: Lens.Lens' UpdateResource Prelude.Text+updateResource_organizationId = Lens.lens (\UpdateResource' {organizationId} -> organizationId) (\s@UpdateResource' {} a -> s {organizationId = a} :: UpdateResource)++-- | The identifier of the resource to be updated.+updateResource_resourceId :: Lens.Lens' UpdateResource Prelude.Text+updateResource_resourceId = Lens.lens (\UpdateResource' {resourceId} -> resourceId) (\s@UpdateResource' {} a -> s {resourceId = a} :: UpdateResource)++instance Core.AWSRequest UpdateResource where+ type+ AWSResponse UpdateResource =+ UpdateResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateResource where+ hashWithSalt _salt UpdateResource' {..} =+ _salt+ `Prelude.hashWithSalt` bookingOptions+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` organizationId+ `Prelude.hashWithSalt` resourceId++instance Prelude.NFData UpdateResource where+ rnf UpdateResource' {..} =+ Prelude.rnf bookingOptions+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf organizationId+ `Prelude.seq` Prelude.rnf resourceId++instance Data.ToHeaders UpdateResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "WorkMailService.UpdateResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateResource where+ toJSON UpdateResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("BookingOptions" Data..=)+ Prelude.<$> bookingOptions,+ ("Name" Data..=) Prelude.<$> name,+ Prelude.Just+ ("OrganizationId" Data..= organizationId),+ Prelude.Just ("ResourceId" Data..= resourceId)+ ]+ )++instance Data.ToPath UpdateResource where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateResourceResponse' smart constructor.+data UpdateResourceResponse = UpdateResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateResourceResponse_httpStatus' - The response's http status code.+newUpdateResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateResourceResponse+newUpdateResourceResponse pHttpStatus_ =+ UpdateResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+updateResourceResponse_httpStatus :: Lens.Lens' UpdateResourceResponse Prelude.Int+updateResourceResponse_httpStatus = Lens.lens (\UpdateResourceResponse' {httpStatus} -> httpStatus) (\s@UpdateResourceResponse' {} a -> s {httpStatus = a} :: UpdateResourceResponse)++instance Prelude.NFData UpdateResourceResponse where+ rnf UpdateResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/WorkMail/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.WorkMail.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.WorkMail.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.WorkMail.Lens+import Amazonka.WorkMail.Types
− gen/Network/AWS/WorkMail.hs
@@ -1,343 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ 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.----module Network.AWS.WorkMail- (- -- * Service Configuration- workMail-- -- * Errors- -- $errors-- -- ** DirectoryUnavailableException- , _DirectoryUnavailableException-- -- ** InvalidParameterException- , _InvalidParameterException-- -- ** UnsupportedOperationException- , _UnsupportedOperationException-- -- ** DirectoryServiceAuthenticationFailedException- , _DirectoryServiceAuthenticationFailedException-- -- ** OrganizationStateException- , _OrganizationStateException-- -- ** EntityStateException- , _EntityStateException-- -- ** InvalidConfigurationException- , _InvalidConfigurationException-- -- ** MailDomainStateException- , _MailDomainStateException-- -- ** ReservedNameException- , _ReservedNameException-- -- ** OrganizationNotFoundException- , _OrganizationNotFoundException-- -- ** EntityNotFoundException- , _EntityNotFoundException-- -- ** EntityAlreadyRegisteredException- , _EntityAlreadyRegisteredException-- -- ** MailDomainNotFoundException- , _MailDomainNotFoundException-- -- ** EmailAddressInUseException- , _EmailAddressInUseException-- -- ** NameAvailabilityException- , _NameAvailabilityException-- -- ** InvalidPasswordException- , _InvalidPasswordException-- -- * Waiters- -- $waiters-- -- * Operations- -- $operations-- -- ** UpdatePrimaryEmailAddress- , module Network.AWS.WorkMail.UpdatePrimaryEmailAddress-- -- ** DescribeResource- , module Network.AWS.WorkMail.DescribeResource-- -- ** CreateAlias- , module Network.AWS.WorkMail.CreateAlias-- -- ** ResetPassword- , module Network.AWS.WorkMail.ResetPassword-- -- ** DescribeGroup- , module Network.AWS.WorkMail.DescribeGroup-- -- ** RegisterToWorkMail- , module Network.AWS.WorkMail.RegisterToWorkMail-- -- ** ListAliases (Paginated)- , module Network.AWS.WorkMail.ListAliases-- -- ** PutMailboxPermissions- , module Network.AWS.WorkMail.PutMailboxPermissions-- -- ** DeleteMailboxPermissions- , module Network.AWS.WorkMail.DeleteMailboxPermissions-- -- ** ListUsers (Paginated)- , module Network.AWS.WorkMail.ListUsers-- -- ** AssociateMemberToGroup- , module Network.AWS.WorkMail.AssociateMemberToGroup-- -- ** DeleteResource- , module Network.AWS.WorkMail.DeleteResource-- -- ** UpdateResource- , module Network.AWS.WorkMail.UpdateResource-- -- ** DisassociateMemberFromGroup- , module Network.AWS.WorkMail.DisassociateMemberFromGroup-- -- ** ListResources (Paginated)- , module Network.AWS.WorkMail.ListResources-- -- ** DeregisterFromWorkMail- , module Network.AWS.WorkMail.DeregisterFromWorkMail-- -- ** ListMailboxPermissions- , module Network.AWS.WorkMail.ListMailboxPermissions-- -- ** ListGroupMembers (Paginated)- , module Network.AWS.WorkMail.ListGroupMembers-- -- ** DisassociateDelegateFromResource- , module Network.AWS.WorkMail.DisassociateDelegateFromResource-- -- ** ListResourceDelegates- , module Network.AWS.WorkMail.ListResourceDelegates-- -- ** DescribeUser- , module Network.AWS.WorkMail.DescribeUser-- -- ** DeleteAlias- , module Network.AWS.WorkMail.DeleteAlias-- -- ** ListOrganizations (Paginated)- , module Network.AWS.WorkMail.ListOrganizations-- -- ** AssociateDelegateToResource- , module Network.AWS.WorkMail.AssociateDelegateToResource-- -- ** CreateUser- , module Network.AWS.WorkMail.CreateUser-- -- ** DeleteUser- , module Network.AWS.WorkMail.DeleteUser-- -- ** CreateGroup- , module Network.AWS.WorkMail.CreateGroup-- -- ** DeleteGroup- , module Network.AWS.WorkMail.DeleteGroup-- -- ** ListGroups (Paginated)- , module Network.AWS.WorkMail.ListGroups-- -- ** DescribeOrganization- , module Network.AWS.WorkMail.DescribeOrganization-- -- ** CreateResource- , module Network.AWS.WorkMail.CreateResource-- -- * Types-- -- ** EntityState- , EntityState (..)-- -- ** MemberType- , MemberType (..)-- -- ** PermissionType- , PermissionType (..)-- -- ** ResourceType- , ResourceType (..)-- -- ** UserRole- , UserRole (..)-- -- ** BookingOptions- , BookingOptions- , bookingOptions- , boAutoDeclineConflictingRequests- , boAutoDeclineRecurringRequests- , boAutoAcceptRequests-- -- ** Delegate- , Delegate- , delegate- , dId- , dType-- -- ** Group- , Group- , group'- , gEmail- , gState- , gDisabledDate- , gName- , gId- , gEnabledDate-- -- ** Member- , Member- , member- , mState- , mDisabledDate- , mName- , mId- , mType- , mEnabledDate-- -- ** OrganizationSummary- , OrganizationSummary- , organizationSummary- , osState- , osAlias- , osErrorMessage- , osOrganizationId-- -- ** Permission- , Permission- , permission- , pGranteeId- , pGranteeType- , pPermissionValues-- -- ** Resource- , Resource- , resource- , rEmail- , rState- , rDisabledDate- , rName- , rId- , rType- , rEnabledDate-- -- ** User- , User- , user- , uEmail- , uState- , uDisabledDate- , uName- , uId- , uDisplayName- , uUserRole- , uEnabledDate- ) where--import Network.AWS.WorkMail.AssociateDelegateToResource-import Network.AWS.WorkMail.AssociateMemberToGroup-import Network.AWS.WorkMail.CreateAlias-import Network.AWS.WorkMail.CreateGroup-import Network.AWS.WorkMail.CreateResource-import Network.AWS.WorkMail.CreateUser-import Network.AWS.WorkMail.DeleteAlias-import Network.AWS.WorkMail.DeleteGroup-import Network.AWS.WorkMail.DeleteMailboxPermissions-import Network.AWS.WorkMail.DeleteResource-import Network.AWS.WorkMail.DeleteUser-import Network.AWS.WorkMail.DeregisterFromWorkMail-import Network.AWS.WorkMail.DescribeGroup-import Network.AWS.WorkMail.DescribeOrganization-import Network.AWS.WorkMail.DescribeResource-import Network.AWS.WorkMail.DescribeUser-import Network.AWS.WorkMail.DisassociateDelegateFromResource-import Network.AWS.WorkMail.DisassociateMemberFromGroup-import Network.AWS.WorkMail.ListAliases-import Network.AWS.WorkMail.ListGroupMembers-import Network.AWS.WorkMail.ListGroups-import Network.AWS.WorkMail.ListMailboxPermissions-import Network.AWS.WorkMail.ListOrganizations-import Network.AWS.WorkMail.ListResourceDelegates-import Network.AWS.WorkMail.ListResources-import Network.AWS.WorkMail.ListUsers-import Network.AWS.WorkMail.PutMailboxPermissions-import Network.AWS.WorkMail.RegisterToWorkMail-import Network.AWS.WorkMail.ResetPassword-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.UpdatePrimaryEmailAddress-import Network.AWS.WorkMail.UpdateResource-import Network.AWS.WorkMail.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'WorkMail'.--}--{- $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.--}--{- $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.--}
− gen/Network/AWS/WorkMail/AssociateDelegateToResource.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.AssociateDelegateToResource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Adds a member to the resource's set of delegates.-------module Network.AWS.WorkMail.AssociateDelegateToResource- (- -- * Creating a Request- associateDelegateToResource- , AssociateDelegateToResource- -- * Request Lenses- , adtrOrganizationId- , adtrResourceId- , adtrEntityId-- -- * Destructuring the Response- , associateDelegateToResourceResponse- , AssociateDelegateToResourceResponse- -- * Response Lenses- , adtrrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'associateDelegateToResource' smart constructor.-data AssociateDelegateToResource = AssociateDelegateToResource'- { _adtrOrganizationId :: !Text- , _adtrResourceId :: !Text- , _adtrEntityId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AssociateDelegateToResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'adtrOrganizationId' - The organization under which the resource exists.------ * 'adtrResourceId' - The resource for which members are associated.------ * 'adtrEntityId' - The member (user or group) to associate to the resource.-associateDelegateToResource- :: Text -- ^ 'adtrOrganizationId'- -> Text -- ^ 'adtrResourceId'- -> Text -- ^ 'adtrEntityId'- -> AssociateDelegateToResource-associateDelegateToResource pOrganizationId_ pResourceId_ pEntityId_ =- AssociateDelegateToResource'- { _adtrOrganizationId = pOrganizationId_- , _adtrResourceId = pResourceId_- , _adtrEntityId = pEntityId_- }----- | The organization under which the resource exists.-adtrOrganizationId :: Lens' AssociateDelegateToResource Text-adtrOrganizationId = lens _adtrOrganizationId (\ s a -> s{_adtrOrganizationId = a})---- | The resource for which members are associated.-adtrResourceId :: Lens' AssociateDelegateToResource Text-adtrResourceId = lens _adtrResourceId (\ s a -> s{_adtrResourceId = a})---- | The member (user or group) to associate to the resource.-adtrEntityId :: Lens' AssociateDelegateToResource Text-adtrEntityId = lens _adtrEntityId (\ s a -> s{_adtrEntityId = a})--instance AWSRequest AssociateDelegateToResource where- type Rs AssociateDelegateToResource =- AssociateDelegateToResourceResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- AssociateDelegateToResourceResponse' <$>- (pure (fromEnum s)))--instance Hashable AssociateDelegateToResource where--instance NFData AssociateDelegateToResource where--instance ToHeaders AssociateDelegateToResource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.AssociateDelegateToResource" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON AssociateDelegateToResource where- toJSON AssociateDelegateToResource'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _adtrOrganizationId),- Just ("ResourceId" .= _adtrResourceId),- Just ("EntityId" .= _adtrEntityId)])--instance ToPath AssociateDelegateToResource where- toPath = const "/"--instance ToQuery AssociateDelegateToResource where- toQuery = const mempty---- | /See:/ 'associateDelegateToResourceResponse' smart constructor.-newtype AssociateDelegateToResourceResponse = AssociateDelegateToResourceResponse'- { _adtrrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AssociateDelegateToResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'adtrrsResponseStatus' - -- | The response status code.-associateDelegateToResourceResponse- :: Int -- ^ 'adtrrsResponseStatus'- -> AssociateDelegateToResourceResponse-associateDelegateToResourceResponse pResponseStatus_ =- AssociateDelegateToResourceResponse'- {_adtrrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-adtrrsResponseStatus :: Lens' AssociateDelegateToResourceResponse Int-adtrrsResponseStatus = lens _adtrrsResponseStatus (\ s a -> s{_adtrrsResponseStatus = a})--instance NFData AssociateDelegateToResourceResponse- where
− gen/Network/AWS/WorkMail/AssociateMemberToGroup.hs
@@ -1,150 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.AssociateMemberToGroup--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Adds a member to the group's set.-------module Network.AWS.WorkMail.AssociateMemberToGroup- (- -- * Creating a Request- associateMemberToGroup- , AssociateMemberToGroup- -- * Request Lenses- , amtgOrganizationId- , amtgGroupId- , amtgMemberId-- -- * Destructuring the Response- , associateMemberToGroupResponse- , AssociateMemberToGroupResponse- -- * Response Lenses- , amtgrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'associateMemberToGroup' smart constructor.-data AssociateMemberToGroup = AssociateMemberToGroup'- { _amtgOrganizationId :: !Text- , _amtgGroupId :: !Text- , _amtgMemberId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AssociateMemberToGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'amtgOrganizationId' - The organization under which the group exists.------ * 'amtgGroupId' - The group for which the member is associated.------ * 'amtgMemberId' - The member to associate to the group.-associateMemberToGroup- :: Text -- ^ 'amtgOrganizationId'- -> Text -- ^ 'amtgGroupId'- -> Text -- ^ 'amtgMemberId'- -> AssociateMemberToGroup-associateMemberToGroup pOrganizationId_ pGroupId_ pMemberId_ =- AssociateMemberToGroup'- { _amtgOrganizationId = pOrganizationId_- , _amtgGroupId = pGroupId_- , _amtgMemberId = pMemberId_- }----- | The organization under which the group exists.-amtgOrganizationId :: Lens' AssociateMemberToGroup Text-amtgOrganizationId = lens _amtgOrganizationId (\ s a -> s{_amtgOrganizationId = a})---- | The group for which the member is associated.-amtgGroupId :: Lens' AssociateMemberToGroup Text-amtgGroupId = lens _amtgGroupId (\ s a -> s{_amtgGroupId = a})---- | The member to associate to the group.-amtgMemberId :: Lens' AssociateMemberToGroup Text-amtgMemberId = lens _amtgMemberId (\ s a -> s{_amtgMemberId = a})--instance AWSRequest AssociateMemberToGroup where- type Rs AssociateMemberToGroup =- AssociateMemberToGroupResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- AssociateMemberToGroupResponse' <$>- (pure (fromEnum s)))--instance Hashable AssociateMemberToGroup where--instance NFData AssociateMemberToGroup where--instance ToHeaders AssociateMemberToGroup where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.AssociateMemberToGroup" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON AssociateMemberToGroup where- toJSON AssociateMemberToGroup'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _amtgOrganizationId),- Just ("GroupId" .= _amtgGroupId),- Just ("MemberId" .= _amtgMemberId)])--instance ToPath AssociateMemberToGroup where- toPath = const "/"--instance ToQuery AssociateMemberToGroup where- toQuery = const mempty---- | /See:/ 'associateMemberToGroupResponse' smart constructor.-newtype AssociateMemberToGroupResponse = AssociateMemberToGroupResponse'- { _amtgrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AssociateMemberToGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'amtgrsResponseStatus' - -- | The response status code.-associateMemberToGroupResponse- :: Int -- ^ 'amtgrsResponseStatus'- -> AssociateMemberToGroupResponse-associateMemberToGroupResponse pResponseStatus_ =- AssociateMemberToGroupResponse' {_amtgrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-amtgrsResponseStatus :: Lens' AssociateMemberToGroupResponse Int-amtgrsResponseStatus = lens _amtgrsResponseStatus (\ s a -> s{_amtgrsResponseStatus = a})--instance NFData AssociateMemberToGroupResponse where
− gen/Network/AWS/WorkMail/CreateAlias.hs
@@ -1,147 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.CreateAlias--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Adds an alias to the set of a given member of Amazon WorkMail.-------module Network.AWS.WorkMail.CreateAlias- (- -- * Creating a Request- createAlias- , CreateAlias- -- * Request Lenses- , caOrganizationId- , caEntityId- , caAlias-- -- * Destructuring the Response- , createAliasResponse- , CreateAliasResponse- -- * Response Lenses- , carsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'createAlias' smart constructor.-data CreateAlias = CreateAlias'- { _caOrganizationId :: !Text- , _caEntityId :: !Text- , _caAlias :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateAlias' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'caOrganizationId' - The organization under which the member exists.------ * 'caEntityId' - The alias is added to this Amazon WorkMail entity.------ * 'caAlias' - The alias to add to the user.-createAlias- :: Text -- ^ 'caOrganizationId'- -> Text -- ^ 'caEntityId'- -> Text -- ^ 'caAlias'- -> CreateAlias-createAlias pOrganizationId_ pEntityId_ pAlias_ =- CreateAlias'- { _caOrganizationId = pOrganizationId_- , _caEntityId = pEntityId_- , _caAlias = pAlias_- }----- | The organization under which the member exists.-caOrganizationId :: Lens' CreateAlias Text-caOrganizationId = lens _caOrganizationId (\ s a -> s{_caOrganizationId = a})---- | The alias is added to this Amazon WorkMail entity.-caEntityId :: Lens' CreateAlias Text-caEntityId = lens _caEntityId (\ s a -> s{_caEntityId = a})---- | The alias to add to the user.-caAlias :: Lens' CreateAlias Text-caAlias = lens _caAlias (\ s a -> s{_caAlias = a})--instance AWSRequest CreateAlias where- type Rs CreateAlias = CreateAliasResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- CreateAliasResponse' <$> (pure (fromEnum s)))--instance Hashable CreateAlias where--instance NFData CreateAlias where--instance ToHeaders CreateAlias where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.CreateAlias" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateAlias where- toJSON CreateAlias'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _caOrganizationId),- Just ("EntityId" .= _caEntityId),- Just ("Alias" .= _caAlias)])--instance ToPath CreateAlias where- toPath = const "/"--instance ToQuery CreateAlias where- toQuery = const mempty---- | /See:/ 'createAliasResponse' smart constructor.-newtype CreateAliasResponse = CreateAliasResponse'- { _carsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateAliasResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'carsResponseStatus' - -- | The response status code.-createAliasResponse- :: Int -- ^ 'carsResponseStatus'- -> CreateAliasResponse-createAliasResponse pResponseStatus_ =- CreateAliasResponse' {_carsResponseStatus = pResponseStatus_}----- | -- | The response status code.-carsResponseStatus :: Lens' CreateAliasResponse Int-carsResponseStatus = lens _carsResponseStatus (\ s a -> s{_carsResponseStatus = a})--instance NFData CreateAliasResponse where
− gen/Network/AWS/WorkMail/CreateGroup.hs
@@ -1,143 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.CreateGroup--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.-------module Network.AWS.WorkMail.CreateGroup- (- -- * Creating a Request- createGroup- , CreateGroup- -- * Request Lenses- , cgOrganizationId- , cgName-- -- * Destructuring the Response- , createGroupResponse- , CreateGroupResponse- -- * Response Lenses- , cgrsGroupId- , cgrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'createGroup' smart constructor.-data CreateGroup = CreateGroup'- { _cgOrganizationId :: !Text- , _cgName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cgOrganizationId' - The organization under which the group is to be created.------ * 'cgName' - The name of the group.-createGroup- :: Text -- ^ 'cgOrganizationId'- -> Text -- ^ 'cgName'- -> CreateGroup-createGroup pOrganizationId_ pName_ =- CreateGroup' {_cgOrganizationId = pOrganizationId_, _cgName = pName_}----- | The organization under which the group is to be created.-cgOrganizationId :: Lens' CreateGroup Text-cgOrganizationId = lens _cgOrganizationId (\ s a -> s{_cgOrganizationId = a})---- | The name of the group.-cgName :: Lens' CreateGroup Text-cgName = lens _cgName (\ s a -> s{_cgName = a})--instance AWSRequest CreateGroup where- type Rs CreateGroup = CreateGroupResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- CreateGroupResponse' <$>- (x .?> "GroupId") <*> (pure (fromEnum s)))--instance Hashable CreateGroup where--instance NFData CreateGroup where--instance ToHeaders CreateGroup where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.CreateGroup" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateGroup where- toJSON CreateGroup'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _cgOrganizationId),- Just ("Name" .= _cgName)])--instance ToPath CreateGroup where- toPath = const "/"--instance ToQuery CreateGroup where- toQuery = const mempty---- | /See:/ 'createGroupResponse' smart constructor.-data CreateGroupResponse = CreateGroupResponse'- { _cgrsGroupId :: !(Maybe Text)- , _cgrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cgrsGroupId' - The ID of the group.------ * 'cgrsResponseStatus' - -- | The response status code.-createGroupResponse- :: Int -- ^ 'cgrsResponseStatus'- -> CreateGroupResponse-createGroupResponse pResponseStatus_ =- CreateGroupResponse'- {_cgrsGroupId = Nothing, _cgrsResponseStatus = pResponseStatus_}----- | The ID of the group.-cgrsGroupId :: Lens' CreateGroupResponse (Maybe Text)-cgrsGroupId = lens _cgrsGroupId (\ s a -> s{_cgrsGroupId = a})---- | -- | The response status code.-cgrsResponseStatus :: Lens' CreateGroupResponse Int-cgrsResponseStatus = lens _cgrsResponseStatus (\ s a -> s{_cgrsResponseStatus = a})--instance NFData CreateGroupResponse where
− gen/Network/AWS/WorkMail/CreateResource.hs
@@ -1,153 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.CreateResource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new Amazon WorkMail resource. The available types are equipment and room.-------module Network.AWS.WorkMail.CreateResource- (- -- * Creating a Request- createResource- , CreateResource- -- * Request Lenses- , crOrganizationId- , crName- , crType-- -- * Destructuring the Response- , createResourceResponse- , CreateResourceResponse- -- * Response Lenses- , crrsResourceId- , crrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'createResource' smart constructor.-data CreateResource = CreateResource'- { _crOrganizationId :: !Text- , _crName :: !Text- , _crType :: !ResourceType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'crOrganizationId' - The identifier associated with the organization for which the resource is created.------ * 'crName' - The name of the created resource.------ * 'crType' - The type of the created resource.-createResource- :: Text -- ^ 'crOrganizationId'- -> Text -- ^ 'crName'- -> ResourceType -- ^ 'crType'- -> CreateResource-createResource pOrganizationId_ pName_ pType_ =- CreateResource'- {_crOrganizationId = pOrganizationId_, _crName = pName_, _crType = pType_}----- | The identifier associated with the organization for which the resource is created.-crOrganizationId :: Lens' CreateResource Text-crOrganizationId = lens _crOrganizationId (\ s a -> s{_crOrganizationId = a})---- | The name of the created resource.-crName :: Lens' CreateResource Text-crName = lens _crName (\ s a -> s{_crName = a})---- | The type of the created resource.-crType :: Lens' CreateResource ResourceType-crType = lens _crType (\ s a -> s{_crType = a})--instance AWSRequest CreateResource where- type Rs CreateResource = CreateResourceResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- CreateResourceResponse' <$>- (x .?> "ResourceId") <*> (pure (fromEnum s)))--instance Hashable CreateResource where--instance NFData CreateResource where--instance ToHeaders CreateResource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.CreateResource" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateResource where- toJSON CreateResource'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _crOrganizationId),- Just ("Name" .= _crName), Just ("Type" .= _crType)])--instance ToPath CreateResource where- toPath = const "/"--instance ToQuery CreateResource where- toQuery = const mempty---- | /See:/ 'createResourceResponse' smart constructor.-data CreateResourceResponse = CreateResourceResponse'- { _crrsResourceId :: !(Maybe Text)- , _crrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'crrsResourceId' - The identifier of the created resource.------ * 'crrsResponseStatus' - -- | The response status code.-createResourceResponse- :: Int -- ^ 'crrsResponseStatus'- -> CreateResourceResponse-createResourceResponse pResponseStatus_ =- CreateResourceResponse'- {_crrsResourceId = Nothing, _crrsResponseStatus = pResponseStatus_}----- | The identifier of the created resource.-crrsResourceId :: Lens' CreateResourceResponse (Maybe Text)-crrsResourceId = lens _crrsResourceId (\ s a -> s{_crrsResourceId = a})---- | -- | The response status code.-crrsResponseStatus :: Lens' CreateResourceResponse Int-crrsResponseStatus = lens _crrsResponseStatus (\ s a -> s{_crrsResponseStatus = a})--instance NFData CreateResourceResponse where
− gen/Network/AWS/WorkMail/CreateUser.hs
@@ -1,168 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.CreateUser--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.-------module Network.AWS.WorkMail.CreateUser- (- -- * Creating a Request- createUser- , CreateUser- -- * Request Lenses- , cuOrganizationId- , cuName- , cuDisplayName- , cuPassword-- -- * Destructuring the Response- , createUserResponse- , CreateUserResponse- -- * Response Lenses- , cursUserId- , cursResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'createUser' smart constructor.-data CreateUser = CreateUser'- { _cuOrganizationId :: !Text- , _cuName :: !Text- , _cuDisplayName :: !Text- , _cuPassword :: !(Sensitive Text)- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateUser' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cuOrganizationId' - The identifier of the organization for which the user is created.------ * 'cuName' - The name for the user to be created.------ * 'cuDisplayName' - The display name for the user to be created.------ * 'cuPassword' - The password for the user to be created.-createUser- :: Text -- ^ 'cuOrganizationId'- -> Text -- ^ 'cuName'- -> Text -- ^ 'cuDisplayName'- -> Text -- ^ 'cuPassword'- -> CreateUser-createUser pOrganizationId_ pName_ pDisplayName_ pPassword_ =- CreateUser'- { _cuOrganizationId = pOrganizationId_- , _cuName = pName_- , _cuDisplayName = pDisplayName_- , _cuPassword = _Sensitive # pPassword_- }----- | The identifier of the organization for which the user is created.-cuOrganizationId :: Lens' CreateUser Text-cuOrganizationId = lens _cuOrganizationId (\ s a -> s{_cuOrganizationId = a})---- | The name for the user to be created.-cuName :: Lens' CreateUser Text-cuName = lens _cuName (\ s a -> s{_cuName = a})---- | The display name for the user to be created.-cuDisplayName :: Lens' CreateUser Text-cuDisplayName = lens _cuDisplayName (\ s a -> s{_cuDisplayName = a})---- | The password for the user to be created.-cuPassword :: Lens' CreateUser Text-cuPassword = lens _cuPassword (\ s a -> s{_cuPassword = a}) . _Sensitive--instance AWSRequest CreateUser where- type Rs CreateUser = CreateUserResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- CreateUserResponse' <$>- (x .?> "UserId") <*> (pure (fromEnum s)))--instance Hashable CreateUser where--instance NFData CreateUser where--instance ToHeaders CreateUser where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.CreateUser" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateUser where- toJSON CreateUser'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _cuOrganizationId),- Just ("Name" .= _cuName),- Just ("DisplayName" .= _cuDisplayName),- Just ("Password" .= _cuPassword)])--instance ToPath CreateUser where- toPath = const "/"--instance ToQuery CreateUser where- toQuery = const mempty---- | /See:/ 'createUserResponse' smart constructor.-data CreateUserResponse = CreateUserResponse'- { _cursUserId :: !(Maybe Text)- , _cursResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateUserResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cursUserId' - The information regarding the newly created user.------ * 'cursResponseStatus' - -- | The response status code.-createUserResponse- :: Int -- ^ 'cursResponseStatus'- -> CreateUserResponse-createUserResponse pResponseStatus_ =- CreateUserResponse'- {_cursUserId = Nothing, _cursResponseStatus = pResponseStatus_}----- | The information regarding the newly created user.-cursUserId :: Lens' CreateUserResponse (Maybe Text)-cursUserId = lens _cursUserId (\ s a -> s{_cursUserId = a})---- | -- | The response status code.-cursResponseStatus :: Lens' CreateUserResponse Int-cursResponseStatus = lens _cursResponseStatus (\ s a -> s{_cursResponseStatus = a})--instance NFData CreateUserResponse where
− gen/Network/AWS/WorkMail/DeleteAlias.hs
@@ -1,147 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DeleteAlias--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Remove the alias from a set of aliases for a given user.-------module Network.AWS.WorkMail.DeleteAlias- (- -- * Creating a Request- deleteAlias- , DeleteAlias- -- * Request Lenses- , daOrganizationId- , daEntityId- , daAlias-- -- * Destructuring the Response- , deleteAliasResponse- , DeleteAliasResponse- -- * Response Lenses- , darsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'deleteAlias' smart constructor.-data DeleteAlias = DeleteAlias'- { _daOrganizationId :: !Text- , _daEntityId :: !Text- , _daAlias :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteAlias' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'daOrganizationId' - The identifier for the organization under which the user exists.------ * 'daEntityId' - The identifier for the Amazon WorkMail entity to have the aliases removed.------ * 'daAlias' - The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).-deleteAlias- :: Text -- ^ 'daOrganizationId'- -> Text -- ^ 'daEntityId'- -> Text -- ^ 'daAlias'- -> DeleteAlias-deleteAlias pOrganizationId_ pEntityId_ pAlias_ =- DeleteAlias'- { _daOrganizationId = pOrganizationId_- , _daEntityId = pEntityId_- , _daAlias = pAlias_- }----- | The identifier for the organization under which the user exists.-daOrganizationId :: Lens' DeleteAlias Text-daOrganizationId = lens _daOrganizationId (\ s a -> s{_daOrganizationId = a})---- | The identifier for the Amazon WorkMail entity to have the aliases removed.-daEntityId :: Lens' DeleteAlias Text-daEntityId = lens _daEntityId (\ s a -> s{_daEntityId = a})---- | The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).-daAlias :: Lens' DeleteAlias Text-daAlias = lens _daAlias (\ s a -> s{_daAlias = a})--instance AWSRequest DeleteAlias where- type Rs DeleteAlias = DeleteAliasResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DeleteAliasResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteAlias where--instance NFData DeleteAlias where--instance ToHeaders DeleteAlias where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DeleteAlias" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteAlias where- toJSON DeleteAlias'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _daOrganizationId),- Just ("EntityId" .= _daEntityId),- Just ("Alias" .= _daAlias)])--instance ToPath DeleteAlias where- toPath = const "/"--instance ToQuery DeleteAlias where- toQuery = const mempty---- | /See:/ 'deleteAliasResponse' smart constructor.-newtype DeleteAliasResponse = DeleteAliasResponse'- { _darsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteAliasResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'darsResponseStatus' - -- | The response status code.-deleteAliasResponse- :: Int -- ^ 'darsResponseStatus'- -> DeleteAliasResponse-deleteAliasResponse pResponseStatus_ =- DeleteAliasResponse' {_darsResponseStatus = pResponseStatus_}----- | -- | The response status code.-darsResponseStatus :: Lens' DeleteAliasResponse Int-darsResponseStatus = lens _darsResponseStatus (\ s a -> s{_darsResponseStatus = a})--instance NFData DeleteAliasResponse where
− gen/Network/AWS/WorkMail/DeleteGroup.hs
@@ -1,133 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DeleteGroup--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a group from Amazon WorkMail.-------module Network.AWS.WorkMail.DeleteGroup- (- -- * Creating a Request- deleteGroup- , DeleteGroup- -- * Request Lenses- , dggOrganizationId- , dggGroupId-- -- * Destructuring the Response- , deleteGroupResponse- , DeleteGroupResponse- -- * Response Lenses- , dgrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'deleteGroup' smart constructor.-data DeleteGroup = DeleteGroup'- { _dggOrganizationId :: !Text- , _dggGroupId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dggOrganizationId' - The organization that contains the group.------ * 'dggGroupId' - The identifier of the group to be deleted.-deleteGroup- :: Text -- ^ 'dggOrganizationId'- -> Text -- ^ 'dggGroupId'- -> DeleteGroup-deleteGroup pOrganizationId_ pGroupId_ =- DeleteGroup' {_dggOrganizationId = pOrganizationId_, _dggGroupId = pGroupId_}----- | The organization that contains the group.-dggOrganizationId :: Lens' DeleteGroup Text-dggOrganizationId = lens _dggOrganizationId (\ s a -> s{_dggOrganizationId = a})---- | The identifier of the group to be deleted.-dggGroupId :: Lens' DeleteGroup Text-dggGroupId = lens _dggGroupId (\ s a -> s{_dggGroupId = a})--instance AWSRequest DeleteGroup where- type Rs DeleteGroup = DeleteGroupResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DeleteGroupResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteGroup where--instance NFData DeleteGroup where--instance ToHeaders DeleteGroup where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DeleteGroup" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteGroup where- toJSON DeleteGroup'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _dggOrganizationId),- Just ("GroupId" .= _dggGroupId)])--instance ToPath DeleteGroup where- toPath = const "/"--instance ToQuery DeleteGroup where- toQuery = const mempty---- | /See:/ 'deleteGroupResponse' smart constructor.-newtype DeleteGroupResponse = DeleteGroupResponse'- { _dgrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dgrsResponseStatus' - -- | The response status code.-deleteGroupResponse- :: Int -- ^ 'dgrsResponseStatus'- -> DeleteGroupResponse-deleteGroupResponse pResponseStatus_ =- DeleteGroupResponse' {_dgrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dgrsResponseStatus :: Lens' DeleteGroupResponse Int-dgrsResponseStatus = lens _dgrsResponseStatus (\ s a -> s{_dgrsResponseStatus = a})--instance NFData DeleteGroupResponse where
− gen/Network/AWS/WorkMail/DeleteMailboxPermissions.hs
@@ -1,151 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DeleteMailboxPermissions--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes permissions granted to a user or group.-------module Network.AWS.WorkMail.DeleteMailboxPermissions- (- -- * Creating a Request- deleteMailboxPermissions- , DeleteMailboxPermissions- -- * Request Lenses- , dmpOrganizationId- , dmpEntityId- , dmpGranteeId-- -- * Destructuring the Response- , deleteMailboxPermissionsResponse- , DeleteMailboxPermissionsResponse- -- * Response Lenses- , dmprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'deleteMailboxPermissions' smart constructor.-data DeleteMailboxPermissions = DeleteMailboxPermissions'- { _dmpOrganizationId :: !Text- , _dmpEntityId :: !Text- , _dmpGranteeId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMailboxPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmpOrganizationId' - The identifier of the organization under which the entity (user or group) exists.------ * 'dmpEntityId' - The identifier of the entity (user or group) for which to delete mailbox permissions.------ * 'dmpGranteeId' - The identifier of the entity (user or group) for which to delete granted permissions.-deleteMailboxPermissions- :: Text -- ^ 'dmpOrganizationId'- -> Text -- ^ 'dmpEntityId'- -> Text -- ^ 'dmpGranteeId'- -> DeleteMailboxPermissions-deleteMailboxPermissions pOrganizationId_ pEntityId_ pGranteeId_ =- DeleteMailboxPermissions'- { _dmpOrganizationId = pOrganizationId_- , _dmpEntityId = pEntityId_- , _dmpGranteeId = pGranteeId_- }----- | The identifier of the organization under which the entity (user or group) exists.-dmpOrganizationId :: Lens' DeleteMailboxPermissions Text-dmpOrganizationId = lens _dmpOrganizationId (\ s a -> s{_dmpOrganizationId = a})---- | The identifier of the entity (user or group) for which to delete mailbox permissions.-dmpEntityId :: Lens' DeleteMailboxPermissions Text-dmpEntityId = lens _dmpEntityId (\ s a -> s{_dmpEntityId = a})---- | The identifier of the entity (user or group) for which to delete granted permissions.-dmpGranteeId :: Lens' DeleteMailboxPermissions Text-dmpGranteeId = lens _dmpGranteeId (\ s a -> s{_dmpGranteeId = a})--instance AWSRequest DeleteMailboxPermissions where- type Rs DeleteMailboxPermissions =- DeleteMailboxPermissionsResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DeleteMailboxPermissionsResponse' <$>- (pure (fromEnum s)))--instance Hashable DeleteMailboxPermissions where--instance NFData DeleteMailboxPermissions where--instance ToHeaders DeleteMailboxPermissions where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DeleteMailboxPermissions" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteMailboxPermissions where- toJSON DeleteMailboxPermissions'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _dmpOrganizationId),- Just ("EntityId" .= _dmpEntityId),- Just ("GranteeId" .= _dmpGranteeId)])--instance ToPath DeleteMailboxPermissions where- toPath = const "/"--instance ToQuery DeleteMailboxPermissions where- toQuery = const mempty---- | /See:/ 'deleteMailboxPermissionsResponse' smart constructor.-newtype DeleteMailboxPermissionsResponse = DeleteMailboxPermissionsResponse'- { _dmprsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMailboxPermissionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmprsResponseStatus' - -- | The response status code.-deleteMailboxPermissionsResponse- :: Int -- ^ 'dmprsResponseStatus'- -> DeleteMailboxPermissionsResponse-deleteMailboxPermissionsResponse pResponseStatus_ =- DeleteMailboxPermissionsResponse' {_dmprsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dmprsResponseStatus :: Lens' DeleteMailboxPermissionsResponse Int-dmprsResponseStatus = lens _dmprsResponseStatus (\ s a -> s{_dmprsResponseStatus = a})--instance NFData DeleteMailboxPermissionsResponse- where
− gen/Network/AWS/WorkMail/DeleteResource.hs
@@ -1,134 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DeleteResource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified resource.-------module Network.AWS.WorkMail.DeleteResource- (- -- * Creating a Request- deleteResource- , DeleteResource- -- * Request Lenses- , dOrganizationId- , dResourceId-- -- * Destructuring the Response- , deleteResourceResponse- , DeleteResourceResponse- -- * Response Lenses- , drsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'deleteResource' smart constructor.-data DeleteResource = DeleteResource'- { _dOrganizationId :: !Text- , _dResourceId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dOrganizationId' - The identifier associated with the organization for which the resource is deleted.------ * 'dResourceId' - The identifier of the resource to be deleted.-deleteResource- :: Text -- ^ 'dOrganizationId'- -> Text -- ^ 'dResourceId'- -> DeleteResource-deleteResource pOrganizationId_ pResourceId_ =- DeleteResource'- {_dOrganizationId = pOrganizationId_, _dResourceId = pResourceId_}----- | The identifier associated with the organization for which the resource is deleted.-dOrganizationId :: Lens' DeleteResource Text-dOrganizationId = lens _dOrganizationId (\ s a -> s{_dOrganizationId = a})---- | The identifier of the resource to be deleted.-dResourceId :: Lens' DeleteResource Text-dResourceId = lens _dResourceId (\ s a -> s{_dResourceId = a})--instance AWSRequest DeleteResource where- type Rs DeleteResource = DeleteResourceResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DeleteResourceResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteResource where--instance NFData DeleteResource where--instance ToHeaders DeleteResource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DeleteResource" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteResource where- toJSON DeleteResource'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _dOrganizationId),- Just ("ResourceId" .= _dResourceId)])--instance ToPath DeleteResource where- toPath = const "/"--instance ToQuery DeleteResource where- toQuery = const mempty---- | /See:/ 'deleteResourceResponse' smart constructor.-newtype DeleteResourceResponse = DeleteResourceResponse'- { _drsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsResponseStatus' - -- | The response status code.-deleteResourceResponse- :: Int -- ^ 'drsResponseStatus'- -> DeleteResourceResponse-deleteResourceResponse pResponseStatus_ =- DeleteResourceResponse' {_drsResponseStatus = pResponseStatus_}----- | -- | The response status code.-drsResponseStatus :: Lens' DeleteResourceResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DeleteResourceResponse where
− gen/Network/AWS/WorkMail/DeleteUser.hs
@@ -1,133 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DeleteUser--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a user from Amazon WorkMail and all subsequent systems. The action can't be undone. The mailbox is kept as-is for a minimum of 30 days, without any means to restore it.-------module Network.AWS.WorkMail.DeleteUser- (- -- * Creating a Request- deleteUser- , DeleteUser- -- * Request Lenses- , delOrganizationId- , delUserId-- -- * Destructuring the Response- , deleteUserResponse- , DeleteUserResponse- -- * Response Lenses- , delrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'deleteUser' smart constructor.-data DeleteUser = DeleteUser'- { _delOrganizationId :: !Text- , _delUserId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteUser' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'delOrganizationId' - The organization that contains the user.------ * 'delUserId' - The identifier of the user to be deleted.-deleteUser- :: Text -- ^ 'delOrganizationId'- -> Text -- ^ 'delUserId'- -> DeleteUser-deleteUser pOrganizationId_ pUserId_ =- DeleteUser' {_delOrganizationId = pOrganizationId_, _delUserId = pUserId_}----- | The organization that contains the user.-delOrganizationId :: Lens' DeleteUser Text-delOrganizationId = lens _delOrganizationId (\ s a -> s{_delOrganizationId = a})---- | The identifier of the user to be deleted.-delUserId :: Lens' DeleteUser Text-delUserId = lens _delUserId (\ s a -> s{_delUserId = a})--instance AWSRequest DeleteUser where- type Rs DeleteUser = DeleteUserResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DeleteUserResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteUser where--instance NFData DeleteUser where--instance ToHeaders DeleteUser where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DeleteUser" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteUser where- toJSON DeleteUser'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _delOrganizationId),- Just ("UserId" .= _delUserId)])--instance ToPath DeleteUser where- toPath = const "/"--instance ToQuery DeleteUser where- toQuery = const mempty---- | /See:/ 'deleteUserResponse' smart constructor.-newtype DeleteUserResponse = DeleteUserResponse'- { _delrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteUserResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'delrsResponseStatus' - -- | The response status code.-deleteUserResponse- :: Int -- ^ 'delrsResponseStatus'- -> DeleteUserResponse-deleteUserResponse pResponseStatus_ =- DeleteUserResponse' {_delrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-delrsResponseStatus :: Lens' DeleteUserResponse Int-delrsResponseStatus = lens _delrsResponseStatus (\ s a -> s{_delrsResponseStatus = a})--instance NFData DeleteUserResponse where
− gen/Network/AWS/WorkMail/DeregisterFromWorkMail.hs
@@ -1,137 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DeregisterFromWorkMail--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. Amazon WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is /Disable/ .-------module Network.AWS.WorkMail.DeregisterFromWorkMail- (- -- * Creating a Request- deregisterFromWorkMail- , DeregisterFromWorkMail- -- * Request Lenses- , dfwmOrganizationId- , dfwmEntityId-- -- * Destructuring the Response- , deregisterFromWorkMailResponse- , DeregisterFromWorkMailResponse- -- * Response Lenses- , dfwmrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'deregisterFromWorkMail' smart constructor.-data DeregisterFromWorkMail = DeregisterFromWorkMail'- { _dfwmOrganizationId :: !Text- , _dfwmEntityId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterFromWorkMail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dfwmOrganizationId' - The identifier for the organization under which the Amazon WorkMail entity exists.------ * 'dfwmEntityId' - The identifier for the entity to be updated.-deregisterFromWorkMail- :: Text -- ^ 'dfwmOrganizationId'- -> Text -- ^ 'dfwmEntityId'- -> DeregisterFromWorkMail-deregisterFromWorkMail pOrganizationId_ pEntityId_ =- DeregisterFromWorkMail'- {_dfwmOrganizationId = pOrganizationId_, _dfwmEntityId = pEntityId_}----- | The identifier for the organization under which the Amazon WorkMail entity exists.-dfwmOrganizationId :: Lens' DeregisterFromWorkMail Text-dfwmOrganizationId = lens _dfwmOrganizationId (\ s a -> s{_dfwmOrganizationId = a})---- | The identifier for the entity to be updated.-dfwmEntityId :: Lens' DeregisterFromWorkMail Text-dfwmEntityId = lens _dfwmEntityId (\ s a -> s{_dfwmEntityId = a})--instance AWSRequest DeregisterFromWorkMail where- type Rs DeregisterFromWorkMail =- DeregisterFromWorkMailResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DeregisterFromWorkMailResponse' <$>- (pure (fromEnum s)))--instance Hashable DeregisterFromWorkMail where--instance NFData DeregisterFromWorkMail where--instance ToHeaders DeregisterFromWorkMail where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DeregisterFromWorkMail" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeregisterFromWorkMail where- toJSON DeregisterFromWorkMail'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _dfwmOrganizationId),- Just ("EntityId" .= _dfwmEntityId)])--instance ToPath DeregisterFromWorkMail where- toPath = const "/"--instance ToQuery DeregisterFromWorkMail where- toQuery = const mempty---- | /See:/ 'deregisterFromWorkMailResponse' smart constructor.-newtype DeregisterFromWorkMailResponse = DeregisterFromWorkMailResponse'- { _dfwmrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterFromWorkMailResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dfwmrsResponseStatus' - -- | The response status code.-deregisterFromWorkMailResponse- :: Int -- ^ 'dfwmrsResponseStatus'- -> DeregisterFromWorkMailResponse-deregisterFromWorkMailResponse pResponseStatus_ =- DeregisterFromWorkMailResponse' {_dfwmrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dfwmrsResponseStatus :: Lens' DeregisterFromWorkMailResponse Int-dfwmrsResponseStatus = lens _dfwmrsResponseStatus (\ s a -> s{_dfwmrsResponseStatus = a})--instance NFData DeregisterFromWorkMailResponse where
− gen/Network/AWS/WorkMail/DescribeGroup.hs
@@ -1,195 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DescribeGroup--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the data available for the group.-------module Network.AWS.WorkMail.DescribeGroup- (- -- * Creating a Request- describeGroup- , DescribeGroup- -- * Request Lenses- , dgOrganizationId- , dgGroupId-- -- * Destructuring the Response- , describeGroupResponse- , DescribeGroupResponse- -- * Response Lenses- , desrsEmail- , desrsState- , desrsDisabledDate- , desrsName- , desrsGroupId- , desrsEnabledDate- , desrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'describeGroup' smart constructor.-data DescribeGroup = DescribeGroup'- { _dgOrganizationId :: !Text- , _dgGroupId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dgOrganizationId' - The identifier for the organization under which the group exists.------ * 'dgGroupId' - The identifier for the group to be described.-describeGroup- :: Text -- ^ 'dgOrganizationId'- -> Text -- ^ 'dgGroupId'- -> DescribeGroup-describeGroup pOrganizationId_ pGroupId_ =- DescribeGroup' {_dgOrganizationId = pOrganizationId_, _dgGroupId = pGroupId_}----- | The identifier for the organization under which the group exists.-dgOrganizationId :: Lens' DescribeGroup Text-dgOrganizationId = lens _dgOrganizationId (\ s a -> s{_dgOrganizationId = a})---- | The identifier for the group to be described.-dgGroupId :: Lens' DescribeGroup Text-dgGroupId = lens _dgGroupId (\ s a -> s{_dgGroupId = a})--instance AWSRequest DescribeGroup where- type Rs DescribeGroup = DescribeGroupResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- DescribeGroupResponse' <$>- (x .?> "Email") <*> (x .?> "State") <*>- (x .?> "DisabledDate")- <*> (x .?> "Name")- <*> (x .?> "GroupId")- <*> (x .?> "EnabledDate")- <*> (pure (fromEnum s)))--instance Hashable DescribeGroup where--instance NFData DescribeGroup where--instance ToHeaders DescribeGroup where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DescribeGroup" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeGroup where- toJSON DescribeGroup'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _dgOrganizationId),- Just ("GroupId" .= _dgGroupId)])--instance ToPath DescribeGroup where- toPath = const "/"--instance ToQuery DescribeGroup where- toQuery = const mempty---- | /See:/ 'describeGroupResponse' smart constructor.-data DescribeGroupResponse = DescribeGroupResponse'- { _desrsEmail :: !(Maybe Text)- , _desrsState :: !(Maybe EntityState)- , _desrsDisabledDate :: !(Maybe POSIX)- , _desrsName :: !(Maybe Text)- , _desrsGroupId :: !(Maybe Text)- , _desrsEnabledDate :: !(Maybe POSIX)- , _desrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'desrsEmail' - The email of the described group.------ * 'desrsState' - The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).------ * 'desrsDisabledDate' - The date and time when a user was deregistered from Amazon WorkMail, in UNIX epoch time format.------ * 'desrsName' - The name of the described group.------ * 'desrsGroupId' - The identifier of the described group.------ * 'desrsEnabledDate' - The date and time when a user was registered to Amazon WorkMail, in UNIX epoch time format.------ * 'desrsResponseStatus' - -- | The response status code.-describeGroupResponse- :: Int -- ^ 'desrsResponseStatus'- -> DescribeGroupResponse-describeGroupResponse pResponseStatus_ =- DescribeGroupResponse'- { _desrsEmail = Nothing- , _desrsState = Nothing- , _desrsDisabledDate = Nothing- , _desrsName = Nothing- , _desrsGroupId = Nothing- , _desrsEnabledDate = Nothing- , _desrsResponseStatus = pResponseStatus_- }----- | The email of the described group.-desrsEmail :: Lens' DescribeGroupResponse (Maybe Text)-desrsEmail = lens _desrsEmail (\ s a -> s{_desrsEmail = a})---- | The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).-desrsState :: Lens' DescribeGroupResponse (Maybe EntityState)-desrsState = lens _desrsState (\ s a -> s{_desrsState = a})---- | The date and time when a user was deregistered from Amazon WorkMail, in UNIX epoch time format.-desrsDisabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)-desrsDisabledDate = lens _desrsDisabledDate (\ s a -> s{_desrsDisabledDate = a}) . mapping _Time---- | The name of the described group.-desrsName :: Lens' DescribeGroupResponse (Maybe Text)-desrsName = lens _desrsName (\ s a -> s{_desrsName = a})---- | The identifier of the described group.-desrsGroupId :: Lens' DescribeGroupResponse (Maybe Text)-desrsGroupId = lens _desrsGroupId (\ s a -> s{_desrsGroupId = a})---- | The date and time when a user was registered to Amazon WorkMail, in UNIX epoch time format.-desrsEnabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)-desrsEnabledDate = lens _desrsEnabledDate (\ s a -> s{_desrsEnabledDate = a}) . mapping _Time---- | -- | The response status code.-desrsResponseStatus :: Lens' DescribeGroupResponse Int-desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a})--instance NFData DescribeGroupResponse where
− gen/Network/AWS/WorkMail/DescribeOrganization.hs
@@ -1,207 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DescribeOrganization--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Provides more information regarding a given organization based on its identifier.-------module Network.AWS.WorkMail.DescribeOrganization- (- -- * Creating a Request- describeOrganization- , DescribeOrganization- -- * Request Lenses- , doOrganizationId-- -- * Destructuring the Response- , describeOrganizationResponse- , DescribeOrganizationResponse- -- * Response Lenses- , dorsDirectoryId- , dorsState- , dorsAlias- , dorsCompletedDate- , dorsDirectoryType- , dorsDefaultMailDomain- , dorsErrorMessage- , dorsOrganizationId- , dorsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'describeOrganization' smart constructor.-newtype DescribeOrganization = DescribeOrganization'- { _doOrganizationId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeOrganization' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'doOrganizationId' - The identifier for the organization to be described.-describeOrganization- :: Text -- ^ 'doOrganizationId'- -> DescribeOrganization-describeOrganization pOrganizationId_ =- DescribeOrganization' {_doOrganizationId = pOrganizationId_}----- | The identifier for the organization to be described.-doOrganizationId :: Lens' DescribeOrganization Text-doOrganizationId = lens _doOrganizationId (\ s a -> s{_doOrganizationId = a})--instance AWSRequest DescribeOrganization where- type Rs DescribeOrganization =- DescribeOrganizationResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- DescribeOrganizationResponse' <$>- (x .?> "DirectoryId") <*> (x .?> "State") <*>- (x .?> "Alias")- <*> (x .?> "CompletedDate")- <*> (x .?> "DirectoryType")- <*> (x .?> "DefaultMailDomain")- <*> (x .?> "ErrorMessage")- <*> (x .?> "OrganizationId")- <*> (pure (fromEnum s)))--instance Hashable DescribeOrganization where--instance NFData DescribeOrganization where--instance ToHeaders DescribeOrganization where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DescribeOrganization" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeOrganization where- toJSON DescribeOrganization'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _doOrganizationId)])--instance ToPath DescribeOrganization where- toPath = const "/"--instance ToQuery DescribeOrganization where- toQuery = const mempty---- | /See:/ 'describeOrganizationResponse' smart constructor.-data DescribeOrganizationResponse = DescribeOrganizationResponse'- { _dorsDirectoryId :: !(Maybe Text)- , _dorsState :: !(Maybe Text)- , _dorsAlias :: !(Maybe Text)- , _dorsCompletedDate :: !(Maybe POSIX)- , _dorsDirectoryType :: !(Maybe Text)- , _dorsDefaultMailDomain :: !(Maybe Text)- , _dorsErrorMessage :: !(Maybe Text)- , _dorsOrganizationId :: !(Maybe Text)- , _dorsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeOrganizationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dorsDirectoryId' - The identifier for the directory associated with an Amazon WorkMail organization.------ * 'dorsState' - The state of an organization.------ * 'dorsAlias' - The alias for an organization.------ * 'dorsCompletedDate' - The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.------ * 'dorsDirectoryType' - The type of directory associated with the Amazon WorkMail organization.------ * 'dorsDefaultMailDomain' - The default mail domain associated with the organization.------ * 'dorsErrorMessage' - The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.------ * 'dorsOrganizationId' - The identifier of an organization.------ * 'dorsResponseStatus' - -- | The response status code.-describeOrganizationResponse- :: Int -- ^ 'dorsResponseStatus'- -> DescribeOrganizationResponse-describeOrganizationResponse pResponseStatus_ =- DescribeOrganizationResponse'- { _dorsDirectoryId = Nothing- , _dorsState = Nothing- , _dorsAlias = Nothing- , _dorsCompletedDate = Nothing- , _dorsDirectoryType = Nothing- , _dorsDefaultMailDomain = Nothing- , _dorsErrorMessage = Nothing- , _dorsOrganizationId = Nothing- , _dorsResponseStatus = pResponseStatus_- }----- | The identifier for the directory associated with an Amazon WorkMail organization.-dorsDirectoryId :: Lens' DescribeOrganizationResponse (Maybe Text)-dorsDirectoryId = lens _dorsDirectoryId (\ s a -> s{_dorsDirectoryId = a})---- | The state of an organization.-dorsState :: Lens' DescribeOrganizationResponse (Maybe Text)-dorsState = lens _dorsState (\ s a -> s{_dorsState = a})---- | The alias for an organization.-dorsAlias :: Lens' DescribeOrganizationResponse (Maybe Text)-dorsAlias = lens _dorsAlias (\ s a -> s{_dorsAlias = a})---- | The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.-dorsCompletedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime)-dorsCompletedDate = lens _dorsCompletedDate (\ s a -> s{_dorsCompletedDate = a}) . mapping _Time---- | The type of directory associated with the Amazon WorkMail organization.-dorsDirectoryType :: Lens' DescribeOrganizationResponse (Maybe Text)-dorsDirectoryType = lens _dorsDirectoryType (\ s a -> s{_dorsDirectoryType = a})---- | The default mail domain associated with the organization.-dorsDefaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text)-dorsDefaultMailDomain = lens _dorsDefaultMailDomain (\ s a -> s{_dorsDefaultMailDomain = a})---- | The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.-dorsErrorMessage :: Lens' DescribeOrganizationResponse (Maybe Text)-dorsErrorMessage = lens _dorsErrorMessage (\ s a -> s{_dorsErrorMessage = a})---- | The identifier of an organization.-dorsOrganizationId :: Lens' DescribeOrganizationResponse (Maybe Text)-dorsOrganizationId = lens _dorsOrganizationId (\ s a -> s{_dorsOrganizationId = a})---- | -- | The response status code.-dorsResponseStatus :: Lens' DescribeOrganizationResponse Int-dorsResponseStatus = lens _dorsResponseStatus (\ s a -> s{_dorsResponseStatus = a})--instance NFData DescribeOrganizationResponse where
− gen/Network/AWS/WorkMail/DescribeResource.hs
@@ -1,216 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DescribeResource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the data available for the resource.-------module Network.AWS.WorkMail.DescribeResource- (- -- * Creating a Request- describeResource- , DescribeResource- -- * Request Lenses- , drOrganizationId- , drResourceId-- -- * Destructuring the Response- , describeResourceResponse- , DescribeResourceResponse- -- * Response Lenses- , drrsEmail- , drrsState- , drrsResourceId- , drrsDisabledDate- , drrsName- , drrsType- , drrsEnabledDate- , drrsBookingOptions- , drrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'describeResource' smart constructor.-data DescribeResource = DescribeResource'- { _drOrganizationId :: !Text- , _drResourceId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drOrganizationId' - The identifier associated with the organization for which the resource is described.------ * 'drResourceId' - The identifier of the resource to be described.-describeResource- :: Text -- ^ 'drOrganizationId'- -> Text -- ^ 'drResourceId'- -> DescribeResource-describeResource pOrganizationId_ pResourceId_ =- DescribeResource'- {_drOrganizationId = pOrganizationId_, _drResourceId = pResourceId_}----- | The identifier associated with the organization for which the resource is described.-drOrganizationId :: Lens' DescribeResource Text-drOrganizationId = lens _drOrganizationId (\ s a -> s{_drOrganizationId = a})---- | The identifier of the resource to be described.-drResourceId :: Lens' DescribeResource Text-drResourceId = lens _drResourceId (\ s a -> s{_drResourceId = a})--instance AWSRequest DescribeResource where- type Rs DescribeResource = DescribeResourceResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- DescribeResourceResponse' <$>- (x .?> "Email") <*> (x .?> "State") <*>- (x .?> "ResourceId")- <*> (x .?> "DisabledDate")- <*> (x .?> "Name")- <*> (x .?> "Type")- <*> (x .?> "EnabledDate")- <*> (x .?> "BookingOptions")- <*> (pure (fromEnum s)))--instance Hashable DescribeResource where--instance NFData DescribeResource where--instance ToHeaders DescribeResource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DescribeResource" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeResource where- toJSON DescribeResource'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _drOrganizationId),- Just ("ResourceId" .= _drResourceId)])--instance ToPath DescribeResource where- toPath = const "/"--instance ToQuery DescribeResource where- toQuery = const mempty---- | /See:/ 'describeResourceResponse' smart constructor.-data DescribeResourceResponse = DescribeResourceResponse'- { _drrsEmail :: !(Maybe Text)- , _drrsState :: !(Maybe EntityState)- , _drrsResourceId :: !(Maybe Text)- , _drrsDisabledDate :: !(Maybe POSIX)- , _drrsName :: !(Maybe Text)- , _drrsType :: !(Maybe ResourceType)- , _drrsEnabledDate :: !(Maybe POSIX)- , _drrsBookingOptions :: !(Maybe BookingOptions)- , _drrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drrsEmail' - The email of the described resource.------ * 'drrsState' - The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).------ * 'drrsResourceId' - The identifier of the described resource.------ * 'drrsDisabledDate' - The date and time when a resource was registered from Amazon WorkMail, in UNIX epoch time format.------ * 'drrsName' - The name of the described resource.------ * 'drrsType' - The type of the described resource.------ * 'drrsEnabledDate' - The date and time when a resource was registered to Amazon WorkMail, in UNIX epoch time format.------ * 'drrsBookingOptions' - The booking options for the described resource.------ * 'drrsResponseStatus' - -- | The response status code.-describeResourceResponse- :: Int -- ^ 'drrsResponseStatus'- -> DescribeResourceResponse-describeResourceResponse pResponseStatus_ =- DescribeResourceResponse'- { _drrsEmail = Nothing- , _drrsState = Nothing- , _drrsResourceId = Nothing- , _drrsDisabledDate = Nothing- , _drrsName = Nothing- , _drrsType = Nothing- , _drrsEnabledDate = Nothing- , _drrsBookingOptions = Nothing- , _drrsResponseStatus = pResponseStatus_- }----- | The email of the described resource.-drrsEmail :: Lens' DescribeResourceResponse (Maybe Text)-drrsEmail = lens _drrsEmail (\ s a -> s{_drrsEmail = a})---- | The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).-drrsState :: Lens' DescribeResourceResponse (Maybe EntityState)-drrsState = lens _drrsState (\ s a -> s{_drrsState = a})---- | The identifier of the described resource.-drrsResourceId :: Lens' DescribeResourceResponse (Maybe Text)-drrsResourceId = lens _drrsResourceId (\ s a -> s{_drrsResourceId = a})---- | The date and time when a resource was registered from Amazon WorkMail, in UNIX epoch time format.-drrsDisabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)-drrsDisabledDate = lens _drrsDisabledDate (\ s a -> s{_drrsDisabledDate = a}) . mapping _Time---- | The name of the described resource.-drrsName :: Lens' DescribeResourceResponse (Maybe Text)-drrsName = lens _drrsName (\ s a -> s{_drrsName = a})---- | The type of the described resource.-drrsType :: Lens' DescribeResourceResponse (Maybe ResourceType)-drrsType = lens _drrsType (\ s a -> s{_drrsType = a})---- | The date and time when a resource was registered to Amazon WorkMail, in UNIX epoch time format.-drrsEnabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime)-drrsEnabledDate = lens _drrsEnabledDate (\ s a -> s{_drrsEnabledDate = a}) . mapping _Time---- | The booking options for the described resource.-drrsBookingOptions :: Lens' DescribeResourceResponse (Maybe BookingOptions)-drrsBookingOptions = lens _drrsBookingOptions (\ s a -> s{_drrsBookingOptions = a})---- | -- | The response status code.-drrsResponseStatus :: Lens' DescribeResourceResponse Int-drrsResponseStatus = lens _drrsResponseStatus (\ s a -> s{_drrsResponseStatus = a})--instance NFData DescribeResourceResponse where
− gen/Network/AWS/WorkMail/DescribeUser.hs
@@ -1,215 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DescribeUser--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Provides information regarding the user.-------module Network.AWS.WorkMail.DescribeUser- (- -- * Creating a Request- describeUser- , DescribeUser- -- * Request Lenses- , duOrganizationId- , duUserId-- -- * Destructuring the Response- , describeUserResponse- , DescribeUserResponse- -- * Response Lenses- , dursEmail- , dursState- , dursUserId- , dursDisabledDate- , dursName- , dursDisplayName- , dursUserRole- , dursEnabledDate- , dursResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'describeUser' smart constructor.-data DescribeUser = DescribeUser'- { _duOrganizationId :: !Text- , _duUserId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeUser' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'duOrganizationId' - The identifier for the organization under which the user exists.------ * 'duUserId' - The identifier for the user to be described.-describeUser- :: Text -- ^ 'duOrganizationId'- -> Text -- ^ 'duUserId'- -> DescribeUser-describeUser pOrganizationId_ pUserId_ =- DescribeUser' {_duOrganizationId = pOrganizationId_, _duUserId = pUserId_}----- | The identifier for the organization under which the user exists.-duOrganizationId :: Lens' DescribeUser Text-duOrganizationId = lens _duOrganizationId (\ s a -> s{_duOrganizationId = a})---- | The identifier for the user to be described.-duUserId :: Lens' DescribeUser Text-duUserId = lens _duUserId (\ s a -> s{_duUserId = a})--instance AWSRequest DescribeUser where- type Rs DescribeUser = DescribeUserResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- DescribeUserResponse' <$>- (x .?> "Email") <*> (x .?> "State") <*>- (x .?> "UserId")- <*> (x .?> "DisabledDate")- <*> (x .?> "Name")- <*> (x .?> "DisplayName")- <*> (x .?> "UserRole")- <*> (x .?> "EnabledDate")- <*> (pure (fromEnum s)))--instance Hashable DescribeUser where--instance NFData DescribeUser where--instance ToHeaders DescribeUser where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DescribeUser" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeUser where- toJSON DescribeUser'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _duOrganizationId),- Just ("UserId" .= _duUserId)])--instance ToPath DescribeUser where- toPath = const "/"--instance ToQuery DescribeUser where- toQuery = const mempty---- | /See:/ 'describeUserResponse' smart constructor.-data DescribeUserResponse = DescribeUserResponse'- { _dursEmail :: !(Maybe Text)- , _dursState :: !(Maybe EntityState)- , _dursUserId :: !(Maybe Text)- , _dursDisabledDate :: !(Maybe POSIX)- , _dursName :: !(Maybe Text)- , _dursDisplayName :: !(Maybe Text)- , _dursUserRole :: !(Maybe UserRole)- , _dursEnabledDate :: !(Maybe POSIX)- , _dursResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeUserResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dursEmail' - The email of the user.------ * 'dursState' - The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).------ * 'dursUserId' - The identifier for the described user.------ * 'dursDisabledDate' - The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch time format.------ * 'dursName' - The name for the user.------ * 'dursDisplayName' - The display name of the user.------ * 'dursUserRole' - In certain cases other entities are modeled as users. If interoperability is enabled, resources are imported into Amazon WorkMail as users. Because different Amazon WorkMail organizations rely on different directory types, administrators can distinguish between a user that is not registered to Amazon WorkMail (is disabled and has a user role) and the administrative users of the directory. The values are USER, RESOURCE, and SYSTEM_USER.------ * 'dursEnabledDate' - The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch time format.------ * 'dursResponseStatus' - -- | The response status code.-describeUserResponse- :: Int -- ^ 'dursResponseStatus'- -> DescribeUserResponse-describeUserResponse pResponseStatus_ =- DescribeUserResponse'- { _dursEmail = Nothing- , _dursState = Nothing- , _dursUserId = Nothing- , _dursDisabledDate = Nothing- , _dursName = Nothing- , _dursDisplayName = Nothing- , _dursUserRole = Nothing- , _dursEnabledDate = Nothing- , _dursResponseStatus = pResponseStatus_- }----- | The email of the user.-dursEmail :: Lens' DescribeUserResponse (Maybe Text)-dursEmail = lens _dursEmail (\ s a -> s{_dursEmail = a})---- | The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).-dursState :: Lens' DescribeUserResponse (Maybe EntityState)-dursState = lens _dursState (\ s a -> s{_dursState = a})---- | The identifier for the described user.-dursUserId :: Lens' DescribeUserResponse (Maybe Text)-dursUserId = lens _dursUserId (\ s a -> s{_dursUserId = a})---- | The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch time format.-dursDisabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)-dursDisabledDate = lens _dursDisabledDate (\ s a -> s{_dursDisabledDate = a}) . mapping _Time---- | The name for the user.-dursName :: Lens' DescribeUserResponse (Maybe Text)-dursName = lens _dursName (\ s a -> s{_dursName = a})---- | The display name of the user.-dursDisplayName :: Lens' DescribeUserResponse (Maybe Text)-dursDisplayName = lens _dursDisplayName (\ s a -> s{_dursDisplayName = a})---- | In certain cases other entities are modeled as users. If interoperability is enabled, resources are imported into Amazon WorkMail as users. Because different Amazon WorkMail organizations rely on different directory types, administrators can distinguish between a user that is not registered to Amazon WorkMail (is disabled and has a user role) and the administrative users of the directory. The values are USER, RESOURCE, and SYSTEM_USER.-dursUserRole :: Lens' DescribeUserResponse (Maybe UserRole)-dursUserRole = lens _dursUserRole (\ s a -> s{_dursUserRole = a})---- | The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch time format.-dursEnabledDate :: Lens' DescribeUserResponse (Maybe UTCTime)-dursEnabledDate = lens _dursEnabledDate (\ s a -> s{_dursEnabledDate = a}) . mapping _Time---- | -- | The response status code.-dursResponseStatus :: Lens' DescribeUserResponse Int-dursResponseStatus = lens _dursResponseStatus (\ s a -> s{_dursResponseStatus = a})--instance NFData DescribeUserResponse where
− gen/Network/AWS/WorkMail/DisassociateDelegateFromResource.hs
@@ -1,160 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DisassociateDelegateFromResource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Removes a member from the resource's set of delegates.-------module Network.AWS.WorkMail.DisassociateDelegateFromResource- (- -- * Creating a Request- disassociateDelegateFromResource- , DisassociateDelegateFromResource- -- * Request Lenses- , ddfrOrganizationId- , ddfrResourceId- , ddfrEntityId-- -- * Destructuring the Response- , disassociateDelegateFromResourceResponse- , DisassociateDelegateFromResourceResponse- -- * Response Lenses- , ddfrrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'disassociateDelegateFromResource' smart constructor.-data DisassociateDelegateFromResource = DisassociateDelegateFromResource'- { _ddfrOrganizationId :: !Text- , _ddfrResourceId :: !Text- , _ddfrEntityId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisassociateDelegateFromResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ddfrOrganizationId' - The identifier for the organization under which the resource exists.------ * 'ddfrResourceId' - The identifier of the resource from which delegates' set members are removed.------ * 'ddfrEntityId' - The identifier for the member (user, group) to be removed from the resource's delegates.-disassociateDelegateFromResource- :: Text -- ^ 'ddfrOrganizationId'- -> Text -- ^ 'ddfrResourceId'- -> Text -- ^ 'ddfrEntityId'- -> DisassociateDelegateFromResource-disassociateDelegateFromResource pOrganizationId_ pResourceId_ pEntityId_ =- DisassociateDelegateFromResource'- { _ddfrOrganizationId = pOrganizationId_- , _ddfrResourceId = pResourceId_- , _ddfrEntityId = pEntityId_- }----- | The identifier for the organization under which the resource exists.-ddfrOrganizationId :: Lens' DisassociateDelegateFromResource Text-ddfrOrganizationId = lens _ddfrOrganizationId (\ s a -> s{_ddfrOrganizationId = a})---- | The identifier of the resource from which delegates' set members are removed.-ddfrResourceId :: Lens' DisassociateDelegateFromResource Text-ddfrResourceId = lens _ddfrResourceId (\ s a -> s{_ddfrResourceId = a})---- | The identifier for the member (user, group) to be removed from the resource's delegates.-ddfrEntityId :: Lens' DisassociateDelegateFromResource Text-ddfrEntityId = lens _ddfrEntityId (\ s a -> s{_ddfrEntityId = a})--instance AWSRequest DisassociateDelegateFromResource- where- type Rs DisassociateDelegateFromResource =- DisassociateDelegateFromResourceResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DisassociateDelegateFromResourceResponse' <$>- (pure (fromEnum s)))--instance Hashable DisassociateDelegateFromResource- where--instance NFData DisassociateDelegateFromResource- where--instance ToHeaders DisassociateDelegateFromResource- where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DisassociateDelegateFromResource"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DisassociateDelegateFromResource- where- toJSON DisassociateDelegateFromResource'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _ddfrOrganizationId),- Just ("ResourceId" .= _ddfrResourceId),- Just ("EntityId" .= _ddfrEntityId)])--instance ToPath DisassociateDelegateFromResource- where- toPath = const "/"--instance ToQuery DisassociateDelegateFromResource- where- toQuery = const mempty---- | /See:/ 'disassociateDelegateFromResourceResponse' smart constructor.-newtype DisassociateDelegateFromResourceResponse = DisassociateDelegateFromResourceResponse'- { _ddfrrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisassociateDelegateFromResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ddfrrsResponseStatus' - -- | The response status code.-disassociateDelegateFromResourceResponse- :: Int -- ^ 'ddfrrsResponseStatus'- -> DisassociateDelegateFromResourceResponse-disassociateDelegateFromResourceResponse pResponseStatus_ =- DisassociateDelegateFromResourceResponse'- {_ddfrrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-ddfrrsResponseStatus :: Lens' DisassociateDelegateFromResourceResponse Int-ddfrrsResponseStatus = lens _ddfrrsResponseStatus (\ s a -> s{_ddfrrsResponseStatus = a})--instance NFData- DisassociateDelegateFromResourceResponse- where
− gen/Network/AWS/WorkMail/DisassociateMemberFromGroup.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.DisassociateMemberFromGroup--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Removes a member from a group.-------module Network.AWS.WorkMail.DisassociateMemberFromGroup- (- -- * Creating a Request- disassociateMemberFromGroup- , DisassociateMemberFromGroup- -- * Request Lenses- , dmfgOrganizationId- , dmfgGroupId- , dmfgMemberId-- -- * Destructuring the Response- , disassociateMemberFromGroupResponse- , DisassociateMemberFromGroupResponse- -- * Response Lenses- , dmfgrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'disassociateMemberFromGroup' smart constructor.-data DisassociateMemberFromGroup = DisassociateMemberFromGroup'- { _dmfgOrganizationId :: !Text- , _dmfgGroupId :: !Text- , _dmfgMemberId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisassociateMemberFromGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmfgOrganizationId' - The identifier for the organization under which the group exists.------ * 'dmfgGroupId' - The identifier for the group from which members are removed.------ * 'dmfgMemberId' - The identifier for the member to be removed to the group.-disassociateMemberFromGroup- :: Text -- ^ 'dmfgOrganizationId'- -> Text -- ^ 'dmfgGroupId'- -> Text -- ^ 'dmfgMemberId'- -> DisassociateMemberFromGroup-disassociateMemberFromGroup pOrganizationId_ pGroupId_ pMemberId_ =- DisassociateMemberFromGroup'- { _dmfgOrganizationId = pOrganizationId_- , _dmfgGroupId = pGroupId_- , _dmfgMemberId = pMemberId_- }----- | The identifier for the organization under which the group exists.-dmfgOrganizationId :: Lens' DisassociateMemberFromGroup Text-dmfgOrganizationId = lens _dmfgOrganizationId (\ s a -> s{_dmfgOrganizationId = a})---- | The identifier for the group from which members are removed.-dmfgGroupId :: Lens' DisassociateMemberFromGroup Text-dmfgGroupId = lens _dmfgGroupId (\ s a -> s{_dmfgGroupId = a})---- | The identifier for the member to be removed to the group.-dmfgMemberId :: Lens' DisassociateMemberFromGroup Text-dmfgMemberId = lens _dmfgMemberId (\ s a -> s{_dmfgMemberId = a})--instance AWSRequest DisassociateMemberFromGroup where- type Rs DisassociateMemberFromGroup =- DisassociateMemberFromGroupResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- DisassociateMemberFromGroupResponse' <$>- (pure (fromEnum s)))--instance Hashable DisassociateMemberFromGroup where--instance NFData DisassociateMemberFromGroup where--instance ToHeaders DisassociateMemberFromGroup where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.DisassociateMemberFromGroup" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DisassociateMemberFromGroup where- toJSON DisassociateMemberFromGroup'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _dmfgOrganizationId),- Just ("GroupId" .= _dmfgGroupId),- Just ("MemberId" .= _dmfgMemberId)])--instance ToPath DisassociateMemberFromGroup where- toPath = const "/"--instance ToQuery DisassociateMemberFromGroup where- toQuery = const mempty---- | /See:/ 'disassociateMemberFromGroupResponse' smart constructor.-newtype DisassociateMemberFromGroupResponse = DisassociateMemberFromGroupResponse'- { _dmfgrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisassociateMemberFromGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmfgrsResponseStatus' - -- | The response status code.-disassociateMemberFromGroupResponse- :: Int -- ^ 'dmfgrsResponseStatus'- -> DisassociateMemberFromGroupResponse-disassociateMemberFromGroupResponse pResponseStatus_ =- DisassociateMemberFromGroupResponse'- {_dmfgrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dmfgrsResponseStatus :: Lens' DisassociateMemberFromGroupResponse Int-dmfgrsResponseStatus = lens _dmfgrsResponseStatus (\ s a -> s{_dmfgrsResponseStatus = a})--instance NFData DisassociateMemberFromGroupResponse- where
− gen/Network/AWS/WorkMail/ListAliases.hs
@@ -1,188 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListAliases--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a paginated call to list the aliases associated with a given entity.------------ This operation returns paginated results.-module Network.AWS.WorkMail.ListAliases- (- -- * Creating a Request- listAliases- , ListAliases- -- * Request Lenses- , laNextToken- , laMaxResults- , laOrganizationId- , laEntityId-- -- * Destructuring the Response- , listAliasesResponse- , ListAliasesResponse- -- * Response Lenses- , larsAliases- , larsNextToken- , larsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listAliases' smart constructor.-data ListAliases = ListAliases'- { _laNextToken :: !(Maybe Text)- , _laMaxResults :: !(Maybe Nat)- , _laOrganizationId :: !Text- , _laEntityId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAliases' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'laNextToken' - The token to use to retrieve the next page of results. The first call does not contain any tokens.------ * 'laMaxResults' - The maximum number of results to return in a single call.------ * 'laOrganizationId' - The identifier for the organization under which the entity exists.------ * 'laEntityId' - The identifier for the entity for which to list the aliases.-listAliases- :: Text -- ^ 'laOrganizationId'- -> Text -- ^ 'laEntityId'- -> ListAliases-listAliases pOrganizationId_ pEntityId_ =- ListAliases'- { _laNextToken = Nothing- , _laMaxResults = Nothing- , _laOrganizationId = pOrganizationId_- , _laEntityId = pEntityId_- }----- | The token to use to retrieve the next page of results. The first call does not contain any tokens.-laNextToken :: Lens' ListAliases (Maybe Text)-laNextToken = lens _laNextToken (\ s a -> s{_laNextToken = a})---- | The maximum number of results to return in a single call.-laMaxResults :: Lens' ListAliases (Maybe Natural)-laMaxResults = lens _laMaxResults (\ s a -> s{_laMaxResults = a}) . mapping _Nat---- | The identifier for the organization under which the entity exists.-laOrganizationId :: Lens' ListAliases Text-laOrganizationId = lens _laOrganizationId (\ s a -> s{_laOrganizationId = a})---- | The identifier for the entity for which to list the aliases.-laEntityId :: Lens' ListAliases Text-laEntityId = lens _laEntityId (\ s a -> s{_laEntityId = a})--instance AWSPager ListAliases where- page rq rs- | stop (rs ^. larsNextToken) = Nothing- | stop (rs ^. larsAliases) = Nothing- | otherwise =- Just $ rq & laNextToken .~ rs ^. larsNextToken--instance AWSRequest ListAliases where- type Rs ListAliases = ListAliasesResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListAliasesResponse' <$>- (x .?> "Aliases" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListAliases where--instance NFData ListAliases where--instance ToHeaders ListAliases where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListAliases" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListAliases where- toJSON ListAliases'{..}- = object- (catMaybes- [("NextToken" .=) <$> _laNextToken,- ("MaxResults" .=) <$> _laMaxResults,- Just ("OrganizationId" .= _laOrganizationId),- Just ("EntityId" .= _laEntityId)])--instance ToPath ListAliases where- toPath = const "/"--instance ToQuery ListAliases where- toQuery = const mempty---- | /See:/ 'listAliasesResponse' smart constructor.-data ListAliasesResponse = ListAliasesResponse'- { _larsAliases :: !(Maybe [Text])- , _larsNextToken :: !(Maybe Text)- , _larsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAliasesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'larsAliases' - The entity's paginated aliases.------ * 'larsNextToken' - The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.------ * 'larsResponseStatus' - -- | The response status code.-listAliasesResponse- :: Int -- ^ 'larsResponseStatus'- -> ListAliasesResponse-listAliasesResponse pResponseStatus_ =- ListAliasesResponse'- { _larsAliases = Nothing- , _larsNextToken = Nothing- , _larsResponseStatus = pResponseStatus_- }----- | The entity's paginated aliases.-larsAliases :: Lens' ListAliasesResponse [Text]-larsAliases = lens _larsAliases (\ s a -> s{_larsAliases = a}) . _Default . _Coerce---- | The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.-larsNextToken :: Lens' ListAliasesResponse (Maybe Text)-larsNextToken = lens _larsNextToken (\ s a -> s{_larsNextToken = a})---- | -- | The response status code.-larsResponseStatus :: Lens' ListAliasesResponse Int-larsResponseStatus = lens _larsResponseStatus (\ s a -> s{_larsResponseStatus = a})--instance NFData ListAliasesResponse where
− gen/Network/AWS/WorkMail/ListGroupMembers.hs
@@ -1,188 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListGroupMembers--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns an overview of the members of a group.------------ This operation returns paginated results.-module Network.AWS.WorkMail.ListGroupMembers- (- -- * Creating a Request- listGroupMembers- , ListGroupMembers- -- * Request Lenses- , lgmNextToken- , lgmMaxResults- , lgmOrganizationId- , lgmGroupId-- -- * Destructuring the Response- , listGroupMembersResponse- , ListGroupMembersResponse- -- * Response Lenses- , lgmrsMembers- , lgmrsNextToken- , lgmrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listGroupMembers' smart constructor.-data ListGroupMembers = ListGroupMembers'- { _lgmNextToken :: !(Maybe Text)- , _lgmMaxResults :: !(Maybe Nat)- , _lgmOrganizationId :: !Text- , _lgmGroupId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroupMembers' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgmNextToken' - The token to use to retrieve the next page of results. The first call does not contain any tokens.------ * 'lgmMaxResults' - The maximum number of results to return in a single call.------ * 'lgmOrganizationId' - The identifier for the organization under which the group exists.------ * 'lgmGroupId' - The identifier for the group to which the members are associated.-listGroupMembers- :: Text -- ^ 'lgmOrganizationId'- -> Text -- ^ 'lgmGroupId'- -> ListGroupMembers-listGroupMembers pOrganizationId_ pGroupId_ =- ListGroupMembers'- { _lgmNextToken = Nothing- , _lgmMaxResults = Nothing- , _lgmOrganizationId = pOrganizationId_- , _lgmGroupId = pGroupId_- }----- | The token to use to retrieve the next page of results. The first call does not contain any tokens.-lgmNextToken :: Lens' ListGroupMembers (Maybe Text)-lgmNextToken = lens _lgmNextToken (\ s a -> s{_lgmNextToken = a})---- | The maximum number of results to return in a single call.-lgmMaxResults :: Lens' ListGroupMembers (Maybe Natural)-lgmMaxResults = lens _lgmMaxResults (\ s a -> s{_lgmMaxResults = a}) . mapping _Nat---- | The identifier for the organization under which the group exists.-lgmOrganizationId :: Lens' ListGroupMembers Text-lgmOrganizationId = lens _lgmOrganizationId (\ s a -> s{_lgmOrganizationId = a})---- | The identifier for the group to which the members are associated.-lgmGroupId :: Lens' ListGroupMembers Text-lgmGroupId = lens _lgmGroupId (\ s a -> s{_lgmGroupId = a})--instance AWSPager ListGroupMembers where- page rq rs- | stop (rs ^. lgmrsNextToken) = Nothing- | stop (rs ^. lgmrsMembers) = Nothing- | otherwise =- Just $ rq & lgmNextToken .~ rs ^. lgmrsNextToken--instance AWSRequest ListGroupMembers where- type Rs ListGroupMembers = ListGroupMembersResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListGroupMembersResponse' <$>- (x .?> "Members" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListGroupMembers where--instance NFData ListGroupMembers where--instance ToHeaders ListGroupMembers where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListGroupMembers" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListGroupMembers where- toJSON ListGroupMembers'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lgmNextToken,- ("MaxResults" .=) <$> _lgmMaxResults,- Just ("OrganizationId" .= _lgmOrganizationId),- Just ("GroupId" .= _lgmGroupId)])--instance ToPath ListGroupMembers where- toPath = const "/"--instance ToQuery ListGroupMembers where- toQuery = const mempty---- | /See:/ 'listGroupMembersResponse' smart constructor.-data ListGroupMembersResponse = ListGroupMembersResponse'- { _lgmrsMembers :: !(Maybe [Member])- , _lgmrsNextToken :: !(Maybe Text)- , _lgmrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroupMembersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgmrsMembers' - The members associated to the group.------ * 'lgmrsNextToken' - The token to use to retrieve the next page of results. The first call does not contain any tokens.------ * 'lgmrsResponseStatus' - -- | The response status code.-listGroupMembersResponse- :: Int -- ^ 'lgmrsResponseStatus'- -> ListGroupMembersResponse-listGroupMembersResponse pResponseStatus_ =- ListGroupMembersResponse'- { _lgmrsMembers = Nothing- , _lgmrsNextToken = Nothing- , _lgmrsResponseStatus = pResponseStatus_- }----- | The members associated to the group.-lgmrsMembers :: Lens' ListGroupMembersResponse [Member]-lgmrsMembers = lens _lgmrsMembers (\ s a -> s{_lgmrsMembers = a}) . _Default . _Coerce---- | The token to use to retrieve the next page of results. The first call does not contain any tokens.-lgmrsNextToken :: Lens' ListGroupMembersResponse (Maybe Text)-lgmrsNextToken = lens _lgmrsNextToken (\ s a -> s{_lgmrsNextToken = a})---- | -- | The response status code.-lgmrsResponseStatus :: Lens' ListGroupMembersResponse Int-lgmrsResponseStatus = lens _lgmrsResponseStatus (\ s a -> s{_lgmrsResponseStatus = a})--instance NFData ListGroupMembersResponse where
− gen/Network/AWS/WorkMail/ListGroups.hs
@@ -1,177 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListGroups--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns summaries of the organization's groups.------------ This operation returns paginated results.-module Network.AWS.WorkMail.ListGroups- (- -- * Creating a Request- listGroups- , ListGroups- -- * Request Lenses- , lgNextToken- , lgMaxResults- , lgOrganizationId-- -- * Destructuring the Response- , listGroupsResponse- , ListGroupsResponse- -- * Response Lenses- , lgrsGroups- , lgrsNextToken- , lgrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listGroups' smart constructor.-data ListGroups = ListGroups'- { _lgNextToken :: !(Maybe Text)- , _lgMaxResults :: !(Maybe Nat)- , _lgOrganizationId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroups' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgNextToken' - The token to use to retrieve the next page of results. The first call does not contain any tokens.------ * 'lgMaxResults' - The maximum number of results to return in a single call.------ * 'lgOrganizationId' - The identifier for the organization under which the groups exist.-listGroups- :: Text -- ^ 'lgOrganizationId'- -> ListGroups-listGroups pOrganizationId_ =- ListGroups'- { _lgNextToken = Nothing- , _lgMaxResults = Nothing- , _lgOrganizationId = pOrganizationId_- }----- | The token to use to retrieve the next page of results. The first call does not contain any tokens.-lgNextToken :: Lens' ListGroups (Maybe Text)-lgNextToken = lens _lgNextToken (\ s a -> s{_lgNextToken = a})---- | The maximum number of results to return in a single call.-lgMaxResults :: Lens' ListGroups (Maybe Natural)-lgMaxResults = lens _lgMaxResults (\ s a -> s{_lgMaxResults = a}) . mapping _Nat---- | The identifier for the organization under which the groups exist.-lgOrganizationId :: Lens' ListGroups Text-lgOrganizationId = lens _lgOrganizationId (\ s a -> s{_lgOrganizationId = a})--instance AWSPager ListGroups where- page rq rs- | stop (rs ^. lgrsNextToken) = Nothing- | stop (rs ^. lgrsGroups) = Nothing- | otherwise =- Just $ rq & lgNextToken .~ rs ^. lgrsNextToken--instance AWSRequest ListGroups where- type Rs ListGroups = ListGroupsResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListGroupsResponse' <$>- (x .?> "Groups" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListGroups where--instance NFData ListGroups where--instance ToHeaders ListGroups where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListGroups" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListGroups where- toJSON ListGroups'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lgNextToken,- ("MaxResults" .=) <$> _lgMaxResults,- Just ("OrganizationId" .= _lgOrganizationId)])--instance ToPath ListGroups where- toPath = const "/"--instance ToQuery ListGroups where- toQuery = const mempty---- | /See:/ 'listGroupsResponse' smart constructor.-data ListGroupsResponse = ListGroupsResponse'- { _lgrsGroups :: !(Maybe [Group])- , _lgrsNextToken :: !(Maybe Text)- , _lgrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroupsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgrsGroups' - The overview of groups for an organization.------ * 'lgrsNextToken' - The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.------ * 'lgrsResponseStatus' - -- | The response status code.-listGroupsResponse- :: Int -- ^ 'lgrsResponseStatus'- -> ListGroupsResponse-listGroupsResponse pResponseStatus_ =- ListGroupsResponse'- { _lgrsGroups = Nothing- , _lgrsNextToken = Nothing- , _lgrsResponseStatus = pResponseStatus_- }----- | The overview of groups for an organization.-lgrsGroups :: Lens' ListGroupsResponse [Group]-lgrsGroups = lens _lgrsGroups (\ s a -> s{_lgrsGroups = a}) . _Default . _Coerce---- | The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.-lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text)-lgrsNextToken = lens _lgrsNextToken (\ s a -> s{_lgrsNextToken = a})---- | -- | The response status code.-lgrsResponseStatus :: Lens' ListGroupsResponse Int-lgrsResponseStatus = lens _lgrsResponseStatus (\ s a -> s{_lgrsResponseStatus = a})--instance NFData ListGroupsResponse where
− gen/Network/AWS/WorkMail/ListMailboxPermissions.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListMailboxPermissions--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the mailbox permissions associated with a mailbox.-------module Network.AWS.WorkMail.ListMailboxPermissions- (- -- * Creating a Request- listMailboxPermissions- , ListMailboxPermissions- -- * Request Lenses- , lmpNextToken- , lmpMaxResults- , lmpOrganizationId- , lmpEntityId-- -- * Destructuring the Response- , listMailboxPermissionsResponse- , ListMailboxPermissionsResponse- -- * Response Lenses- , lmprsNextToken- , lmprsPermissions- , lmprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listMailboxPermissions' smart constructor.-data ListMailboxPermissions = ListMailboxPermissions'- { _lmpNextToken :: !(Maybe Text)- , _lmpMaxResults :: !(Maybe Nat)- , _lmpOrganizationId :: !Text- , _lmpEntityId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListMailboxPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lmpNextToken' - The token to use to retrieve the next page of results. The first call does not contain any tokens.------ * 'lmpMaxResults' - The maximum number of results to return in a single call.------ * 'lmpOrganizationId' - The identifier of the organization under which the entity (user or group) exists.------ * 'lmpEntityId' - The identifier of the entity (user or group) for which to list mailbox permissions.-listMailboxPermissions- :: Text -- ^ 'lmpOrganizationId'- -> Text -- ^ 'lmpEntityId'- -> ListMailboxPermissions-listMailboxPermissions pOrganizationId_ pEntityId_ =- ListMailboxPermissions'- { _lmpNextToken = Nothing- , _lmpMaxResults = Nothing- , _lmpOrganizationId = pOrganizationId_- , _lmpEntityId = pEntityId_- }----- | The token to use to retrieve the next page of results. The first call does not contain any tokens.-lmpNextToken :: Lens' ListMailboxPermissions (Maybe Text)-lmpNextToken = lens _lmpNextToken (\ s a -> s{_lmpNextToken = a})---- | The maximum number of results to return in a single call.-lmpMaxResults :: Lens' ListMailboxPermissions (Maybe Natural)-lmpMaxResults = lens _lmpMaxResults (\ s a -> s{_lmpMaxResults = a}) . mapping _Nat---- | The identifier of the organization under which the entity (user or group) exists.-lmpOrganizationId :: Lens' ListMailboxPermissions Text-lmpOrganizationId = lens _lmpOrganizationId (\ s a -> s{_lmpOrganizationId = a})---- | The identifier of the entity (user or group) for which to list mailbox permissions.-lmpEntityId :: Lens' ListMailboxPermissions Text-lmpEntityId = lens _lmpEntityId (\ s a -> s{_lmpEntityId = a})--instance AWSRequest ListMailboxPermissions where- type Rs ListMailboxPermissions =- ListMailboxPermissionsResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListMailboxPermissionsResponse' <$>- (x .?> "NextToken") <*>- (x .?> "Permissions" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable ListMailboxPermissions where--instance NFData ListMailboxPermissions where--instance ToHeaders ListMailboxPermissions where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListMailboxPermissions" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListMailboxPermissions where- toJSON ListMailboxPermissions'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lmpNextToken,- ("MaxResults" .=) <$> _lmpMaxResults,- Just ("OrganizationId" .= _lmpOrganizationId),- Just ("EntityId" .= _lmpEntityId)])--instance ToPath ListMailboxPermissions where- toPath = const "/"--instance ToQuery ListMailboxPermissions where- toQuery = const mempty---- | /See:/ 'listMailboxPermissionsResponse' smart constructor.-data ListMailboxPermissionsResponse = ListMailboxPermissionsResponse'- { _lmprsNextToken :: !(Maybe Text)- , _lmprsPermissions :: !(Maybe [Permission])- , _lmprsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListMailboxPermissionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lmprsNextToken' - The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.------ * 'lmprsPermissions' - One page of the entity's mailbox permissions.------ * 'lmprsResponseStatus' - -- | The response status code.-listMailboxPermissionsResponse- :: Int -- ^ 'lmprsResponseStatus'- -> ListMailboxPermissionsResponse-listMailboxPermissionsResponse pResponseStatus_ =- ListMailboxPermissionsResponse'- { _lmprsNextToken = Nothing- , _lmprsPermissions = Nothing- , _lmprsResponseStatus = pResponseStatus_- }----- | The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.-lmprsNextToken :: Lens' ListMailboxPermissionsResponse (Maybe Text)-lmprsNextToken = lens _lmprsNextToken (\ s a -> s{_lmprsNextToken = a})---- | One page of the entity's mailbox permissions.-lmprsPermissions :: Lens' ListMailboxPermissionsResponse [Permission]-lmprsPermissions = lens _lmprsPermissions (\ s a -> s{_lmprsPermissions = a}) . _Default . _Coerce---- | -- | The response status code.-lmprsResponseStatus :: Lens' ListMailboxPermissionsResponse Int-lmprsResponseStatus = lens _lmprsResponseStatus (\ s a -> s{_lmprsResponseStatus = a})--instance NFData ListMailboxPermissionsResponse where
− gen/Network/AWS/WorkMail/ListOrganizations.hs
@@ -1,164 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListOrganizations--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns summaries of the customer's non-deleted organizations.------------ This operation returns paginated results.-module Network.AWS.WorkMail.ListOrganizations- (- -- * Creating a Request- listOrganizations- , ListOrganizations- -- * Request Lenses- , loNextToken- , loMaxResults-- -- * Destructuring the Response- , listOrganizationsResponse- , ListOrganizationsResponse- -- * Response Lenses- , lorsNextToken- , lorsOrganizationSummaries- , lorsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listOrganizations' smart constructor.-data ListOrganizations = ListOrganizations'- { _loNextToken :: !(Maybe Text)- , _loMaxResults :: !(Maybe Nat)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListOrganizations' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'loNextToken' - The token to use to retrieve the next page of results. The first call does not contain any tokens.------ * 'loMaxResults' - The maximum number of results to return in a single call.-listOrganizations- :: ListOrganizations-listOrganizations =- ListOrganizations' {_loNextToken = Nothing, _loMaxResults = Nothing}----- | The token to use to retrieve the next page of results. The first call does not contain any tokens.-loNextToken :: Lens' ListOrganizations (Maybe Text)-loNextToken = lens _loNextToken (\ s a -> s{_loNextToken = a})---- | The maximum number of results to return in a single call.-loMaxResults :: Lens' ListOrganizations (Maybe Natural)-loMaxResults = lens _loMaxResults (\ s a -> s{_loMaxResults = a}) . mapping _Nat--instance AWSPager ListOrganizations where- page rq rs- | stop (rs ^. lorsNextToken) = Nothing- | stop (rs ^. lorsOrganizationSummaries) = Nothing- | otherwise =- Just $ rq & loNextToken .~ rs ^. lorsNextToken--instance AWSRequest ListOrganizations where- type Rs ListOrganizations = ListOrganizationsResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListOrganizationsResponse' <$>- (x .?> "NextToken") <*>- (x .?> "OrganizationSummaries" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable ListOrganizations where--instance NFData ListOrganizations where--instance ToHeaders ListOrganizations where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListOrganizations" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListOrganizations where- toJSON ListOrganizations'{..}- = object- (catMaybes- [("NextToken" .=) <$> _loNextToken,- ("MaxResults" .=) <$> _loMaxResults])--instance ToPath ListOrganizations where- toPath = const "/"--instance ToQuery ListOrganizations where- toQuery = const mempty---- | /See:/ 'listOrganizationsResponse' smart constructor.-data ListOrganizationsResponse = ListOrganizationsResponse'- { _lorsNextToken :: !(Maybe Text)- , _lorsOrganizationSummaries :: !(Maybe [OrganizationSummary])- , _lorsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListOrganizationsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lorsNextToken' - The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.------ * 'lorsOrganizationSummaries' - The overview of owned organizations presented as a list of organization summaries.------ * 'lorsResponseStatus' - -- | The response status code.-listOrganizationsResponse- :: Int -- ^ 'lorsResponseStatus'- -> ListOrganizationsResponse-listOrganizationsResponse pResponseStatus_ =- ListOrganizationsResponse'- { _lorsNextToken = Nothing- , _lorsOrganizationSummaries = Nothing- , _lorsResponseStatus = pResponseStatus_- }----- | The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.-lorsNextToken :: Lens' ListOrganizationsResponse (Maybe Text)-lorsNextToken = lens _lorsNextToken (\ s a -> s{_lorsNextToken = a})---- | The overview of owned organizations presented as a list of organization summaries.-lorsOrganizationSummaries :: Lens' ListOrganizationsResponse [OrganizationSummary]-lorsOrganizationSummaries = lens _lorsOrganizationSummaries (\ s a -> s{_lorsOrganizationSummaries = a}) . _Default . _Coerce---- | -- | The response status code.-lorsResponseStatus :: Lens' ListOrganizationsResponse Int-lorsResponseStatus = lens _lorsResponseStatus (\ s a -> s{_lorsResponseStatus = a})--instance NFData ListOrganizationsResponse where
− gen/Network/AWS/WorkMail/ListResourceDelegates.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListResourceDelegates--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.-------module Network.AWS.WorkMail.ListResourceDelegates- (- -- * Creating a Request- listResourceDelegates- , ListResourceDelegates- -- * Request Lenses- , lrdNextToken- , lrdMaxResults- , lrdOrganizationId- , lrdResourceId-- -- * Destructuring the Response- , listResourceDelegatesResponse- , ListResourceDelegatesResponse- -- * Response Lenses- , lrdrsDelegates- , lrdrsNextToken- , lrdrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listResourceDelegates' smart constructor.-data ListResourceDelegates = ListResourceDelegates'- { _lrdNextToken :: !(Maybe Text)- , _lrdMaxResults :: !(Maybe Nat)- , _lrdOrganizationId :: !Text- , _lrdResourceId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListResourceDelegates' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrdNextToken' - The token used to paginate through the delegates associated with a resource.------ * 'lrdMaxResults' - The number of maximum results in a page.------ * 'lrdOrganizationId' - The identifier for the organization that contains the resource for which delegates are listed.------ * 'lrdResourceId' - The identifier for the resource whose delegates are listed.-listResourceDelegates- :: Text -- ^ 'lrdOrganizationId'- -> Text -- ^ 'lrdResourceId'- -> ListResourceDelegates-listResourceDelegates pOrganizationId_ pResourceId_ =- ListResourceDelegates'- { _lrdNextToken = Nothing- , _lrdMaxResults = Nothing- , _lrdOrganizationId = pOrganizationId_- , _lrdResourceId = pResourceId_- }----- | The token used to paginate through the delegates associated with a resource.-lrdNextToken :: Lens' ListResourceDelegates (Maybe Text)-lrdNextToken = lens _lrdNextToken (\ s a -> s{_lrdNextToken = a})---- | The number of maximum results in a page.-lrdMaxResults :: Lens' ListResourceDelegates (Maybe Natural)-lrdMaxResults = lens _lrdMaxResults (\ s a -> s{_lrdMaxResults = a}) . mapping _Nat---- | The identifier for the organization that contains the resource for which delegates are listed.-lrdOrganizationId :: Lens' ListResourceDelegates Text-lrdOrganizationId = lens _lrdOrganizationId (\ s a -> s{_lrdOrganizationId = a})---- | The identifier for the resource whose delegates are listed.-lrdResourceId :: Lens' ListResourceDelegates Text-lrdResourceId = lens _lrdResourceId (\ s a -> s{_lrdResourceId = a})--instance AWSRequest ListResourceDelegates where- type Rs ListResourceDelegates =- ListResourceDelegatesResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListResourceDelegatesResponse' <$>- (x .?> "Delegates" .!@ mempty) <*>- (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListResourceDelegates where--instance NFData ListResourceDelegates where--instance ToHeaders ListResourceDelegates where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListResourceDelegates" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListResourceDelegates where- toJSON ListResourceDelegates'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lrdNextToken,- ("MaxResults" .=) <$> _lrdMaxResults,- Just ("OrganizationId" .= _lrdOrganizationId),- Just ("ResourceId" .= _lrdResourceId)])--instance ToPath ListResourceDelegates where- toPath = const "/"--instance ToQuery ListResourceDelegates where- toQuery = const mempty---- | /See:/ 'listResourceDelegatesResponse' smart constructor.-data ListResourceDelegatesResponse = ListResourceDelegatesResponse'- { _lrdrsDelegates :: !(Maybe [Delegate])- , _lrdrsNextToken :: !(Maybe Text)- , _lrdrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListResourceDelegatesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrdrsDelegates' - One page of the resource's delegates.------ * 'lrdrsNextToken' - The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.------ * 'lrdrsResponseStatus' - -- | The response status code.-listResourceDelegatesResponse- :: Int -- ^ 'lrdrsResponseStatus'- -> ListResourceDelegatesResponse-listResourceDelegatesResponse pResponseStatus_ =- ListResourceDelegatesResponse'- { _lrdrsDelegates = Nothing- , _lrdrsNextToken = Nothing- , _lrdrsResponseStatus = pResponseStatus_- }----- | One page of the resource's delegates.-lrdrsDelegates :: Lens' ListResourceDelegatesResponse [Delegate]-lrdrsDelegates = lens _lrdrsDelegates (\ s a -> s{_lrdrsDelegates = a}) . _Default . _Coerce---- | The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.-lrdrsNextToken :: Lens' ListResourceDelegatesResponse (Maybe Text)-lrdrsNextToken = lens _lrdrsNextToken (\ s a -> s{_lrdrsNextToken = a})---- | -- | The response status code.-lrdrsResponseStatus :: Lens' ListResourceDelegatesResponse Int-lrdrsResponseStatus = lens _lrdrsResponseStatus (\ s a -> s{_lrdrsResponseStatus = a})--instance NFData ListResourceDelegatesResponse where
− gen/Network/AWS/WorkMail/ListResources.hs
@@ -1,178 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListResources--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns summaries of the organization's resources.------------ This operation returns paginated results.-module Network.AWS.WorkMail.ListResources- (- -- * Creating a Request- listResources- , ListResources- -- * Request Lenses- , lrNextToken- , lrMaxResults- , lrOrganizationId-- -- * Destructuring the Response- , listResourcesResponse- , ListResourcesResponse- -- * Response Lenses- , lrrsResources- , lrrsNextToken- , lrrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listResources' smart constructor.-data ListResources = ListResources'- { _lrNextToken :: !(Maybe Text)- , _lrMaxResults :: !(Maybe Nat)- , _lrOrganizationId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListResources' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrNextToken' - The token to use to retrieve the next page of results. The first call does not contain any tokens.------ * 'lrMaxResults' - The maximum number of results to return in a single call.------ * 'lrOrganizationId' - The identifier for the organization under which the resources exist.-listResources- :: Text -- ^ 'lrOrganizationId'- -> ListResources-listResources pOrganizationId_ =- ListResources'- { _lrNextToken = Nothing- , _lrMaxResults = Nothing- , _lrOrganizationId = pOrganizationId_- }----- | The token to use to retrieve the next page of results. The first call does not contain any tokens.-lrNextToken :: Lens' ListResources (Maybe Text)-lrNextToken = lens _lrNextToken (\ s a -> s{_lrNextToken = a})---- | The maximum number of results to return in a single call.-lrMaxResults :: Lens' ListResources (Maybe Natural)-lrMaxResults = lens _lrMaxResults (\ s a -> s{_lrMaxResults = a}) . mapping _Nat---- | The identifier for the organization under which the resources exist.-lrOrganizationId :: Lens' ListResources Text-lrOrganizationId = lens _lrOrganizationId (\ s a -> s{_lrOrganizationId = a})--instance AWSPager ListResources where- page rq rs- | stop (rs ^. lrrsNextToken) = Nothing- | stop (rs ^. lrrsResources) = Nothing- | otherwise =- Just $ rq & lrNextToken .~ rs ^. lrrsNextToken--instance AWSRequest ListResources where- type Rs ListResources = ListResourcesResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListResourcesResponse' <$>- (x .?> "Resources" .!@ mempty) <*>- (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListResources where--instance NFData ListResources where--instance ToHeaders ListResources where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListResources" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListResources where- toJSON ListResources'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lrNextToken,- ("MaxResults" .=) <$> _lrMaxResults,- Just ("OrganizationId" .= _lrOrganizationId)])--instance ToPath ListResources where- toPath = const "/"--instance ToQuery ListResources where- toQuery = const mempty---- | /See:/ 'listResourcesResponse' smart constructor.-data ListResourcesResponse = ListResourcesResponse'- { _lrrsResources :: !(Maybe [Resource])- , _lrrsNextToken :: !(Maybe Text)- , _lrrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListResourcesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrrsResources' - One page of the organization's resource representation.------ * 'lrrsNextToken' - The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.------ * 'lrrsResponseStatus' - -- | The response status code.-listResourcesResponse- :: Int -- ^ 'lrrsResponseStatus'- -> ListResourcesResponse-listResourcesResponse pResponseStatus_ =- ListResourcesResponse'- { _lrrsResources = Nothing- , _lrrsNextToken = Nothing- , _lrrsResponseStatus = pResponseStatus_- }----- | One page of the organization's resource representation.-lrrsResources :: Lens' ListResourcesResponse [Resource]-lrrsResources = lens _lrrsResources (\ s a -> s{_lrrsResources = a}) . _Default . _Coerce---- | The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.-lrrsNextToken :: Lens' ListResourcesResponse (Maybe Text)-lrrsNextToken = lens _lrrsNextToken (\ s a -> s{_lrrsNextToken = a})---- | -- | The response status code.-lrrsResponseStatus :: Lens' ListResourcesResponse Int-lrrsResponseStatus = lens _lrrsResponseStatus (\ s a -> s{_lrrsResponseStatus = a})--instance NFData ListResourcesResponse where
− gen/Network/AWS/WorkMail/ListUsers.hs
@@ -1,177 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ListUsers--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns summaries of the organization's users.------------ This operation returns paginated results.-module Network.AWS.WorkMail.ListUsers- (- -- * Creating a Request- listUsers- , ListUsers- -- * Request Lenses- , luNextToken- , luMaxResults- , luOrganizationId-- -- * Destructuring the Response- , listUsersResponse- , ListUsersResponse- -- * Response Lenses- , lursUsers- , lursNextToken- , lursResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'listUsers' smart constructor.-data ListUsers = ListUsers'- { _luNextToken :: !(Maybe Text)- , _luMaxResults :: !(Maybe Nat)- , _luOrganizationId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListUsers' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'luNextToken' - TBD------ * 'luMaxResults' - The maximum number of results to return in a single call.------ * 'luOrganizationId' - The identifier for the organization under which the users exist.-listUsers- :: Text -- ^ 'luOrganizationId'- -> ListUsers-listUsers pOrganizationId_ =- ListUsers'- { _luNextToken = Nothing- , _luMaxResults = Nothing- , _luOrganizationId = pOrganizationId_- }----- | TBD-luNextToken :: Lens' ListUsers (Maybe Text)-luNextToken = lens _luNextToken (\ s a -> s{_luNextToken = a})---- | The maximum number of results to return in a single call.-luMaxResults :: Lens' ListUsers (Maybe Natural)-luMaxResults = lens _luMaxResults (\ s a -> s{_luMaxResults = a}) . mapping _Nat---- | The identifier for the organization under which the users exist.-luOrganizationId :: Lens' ListUsers Text-luOrganizationId = lens _luOrganizationId (\ s a -> s{_luOrganizationId = a})--instance AWSPager ListUsers where- page rq rs- | stop (rs ^. lursNextToken) = Nothing- | stop (rs ^. lursUsers) = Nothing- | otherwise =- Just $ rq & luNextToken .~ rs ^. lursNextToken--instance AWSRequest ListUsers where- type Rs ListUsers = ListUsersResponse- request = postJSON workMail- response- = receiveJSON- (\ s h x ->- ListUsersResponse' <$>- (x .?> "Users" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListUsers where--instance NFData ListUsers where--instance ToHeaders ListUsers where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ListUsers" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListUsers where- toJSON ListUsers'{..}- = object- (catMaybes- [("NextToken" .=) <$> _luNextToken,- ("MaxResults" .=) <$> _luMaxResults,- Just ("OrganizationId" .= _luOrganizationId)])--instance ToPath ListUsers where- toPath = const "/"--instance ToQuery ListUsers where- toQuery = const mempty---- | /See:/ 'listUsersResponse' smart constructor.-data ListUsersResponse = ListUsersResponse'- { _lursUsers :: !(Maybe [User])- , _lursNextToken :: !(Maybe Text)- , _lursResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListUsersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lursUsers' - The overview of users for an organization.------ * 'lursNextToken' - The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.------ * 'lursResponseStatus' - -- | The response status code.-listUsersResponse- :: Int -- ^ 'lursResponseStatus'- -> ListUsersResponse-listUsersResponse pResponseStatus_ =- ListUsersResponse'- { _lursUsers = Nothing- , _lursNextToken = Nothing- , _lursResponseStatus = pResponseStatus_- }----- | The overview of users for an organization.-lursUsers :: Lens' ListUsersResponse [User]-lursUsers = lens _lursUsers (\ s a -> s{_lursUsers = a}) . _Default . _Coerce---- | The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.-lursNextToken :: Lens' ListUsersResponse (Maybe Text)-lursNextToken = lens _lursNextToken (\ s a -> s{_lursNextToken = a})---- | -- | The response status code.-lursResponseStatus :: Lens' ListUsersResponse Int-lursResponseStatus = lens _lursResponseStatus (\ s a -> s{_lursResponseStatus = a})--instance NFData ListUsersResponse where
− gen/Network/AWS/WorkMail/PutMailboxPermissions.hs
@@ -1,160 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.PutMailboxPermissions--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Sets permissions for a user or group. This replaces any pre-existing permissions set for the entity.-------module Network.AWS.WorkMail.PutMailboxPermissions- (- -- * Creating a Request- putMailboxPermissions- , PutMailboxPermissions- -- * Request Lenses- , pmpOrganizationId- , pmpEntityId- , pmpGranteeId- , pmpPermissionValues-- -- * Destructuring the Response- , putMailboxPermissionsResponse- , PutMailboxPermissionsResponse- -- * Response Lenses- , pmprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'putMailboxPermissions' smart constructor.-data PutMailboxPermissions = PutMailboxPermissions'- { _pmpOrganizationId :: !Text- , _pmpEntityId :: !Text- , _pmpGranteeId :: !Text- , _pmpPermissionValues :: ![PermissionType]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutMailboxPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pmpOrganizationId' - The identifier of the organization under which the entity (user or group) exists.------ * 'pmpEntityId' - The identifier of the entity (user or group) for which to update mailbox permissions.------ * 'pmpGranteeId' - The identifier of the entity (user or group) to which to grant the permissions.------ * 'pmpPermissionValues' - 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.-putMailboxPermissions- :: Text -- ^ 'pmpOrganizationId'- -> Text -- ^ 'pmpEntityId'- -> Text -- ^ 'pmpGranteeId'- -> PutMailboxPermissions-putMailboxPermissions pOrganizationId_ pEntityId_ pGranteeId_ =- PutMailboxPermissions'- { _pmpOrganizationId = pOrganizationId_- , _pmpEntityId = pEntityId_- , _pmpGranteeId = pGranteeId_- , _pmpPermissionValues = mempty- }----- | The identifier of the organization under which the entity (user or group) exists.-pmpOrganizationId :: Lens' PutMailboxPermissions Text-pmpOrganizationId = lens _pmpOrganizationId (\ s a -> s{_pmpOrganizationId = a})---- | The identifier of the entity (user or group) for which to update mailbox permissions.-pmpEntityId :: Lens' PutMailboxPermissions Text-pmpEntityId = lens _pmpEntityId (\ s a -> s{_pmpEntityId = a})---- | The identifier of the entity (user or group) to which to grant the permissions.-pmpGranteeId :: Lens' PutMailboxPermissions Text-pmpGranteeId = lens _pmpGranteeId (\ s a -> s{_pmpGranteeId = a})---- | 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.-pmpPermissionValues :: Lens' PutMailboxPermissions [PermissionType]-pmpPermissionValues = lens _pmpPermissionValues (\ s a -> s{_pmpPermissionValues = a}) . _Coerce--instance AWSRequest PutMailboxPermissions where- type Rs PutMailboxPermissions =- PutMailboxPermissionsResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- PutMailboxPermissionsResponse' <$>- (pure (fromEnum s)))--instance Hashable PutMailboxPermissions where--instance NFData PutMailboxPermissions where--instance ToHeaders PutMailboxPermissions where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.PutMailboxPermissions" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutMailboxPermissions where- toJSON PutMailboxPermissions'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _pmpOrganizationId),- Just ("EntityId" .= _pmpEntityId),- Just ("GranteeId" .= _pmpGranteeId),- Just ("PermissionValues" .= _pmpPermissionValues)])--instance ToPath PutMailboxPermissions where- toPath = const "/"--instance ToQuery PutMailboxPermissions where- toQuery = const mempty---- | /See:/ 'putMailboxPermissionsResponse' smart constructor.-newtype PutMailboxPermissionsResponse = PutMailboxPermissionsResponse'- { _pmprsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutMailboxPermissionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pmprsResponseStatus' - -- | The response status code.-putMailboxPermissionsResponse- :: Int -- ^ 'pmprsResponseStatus'- -> PutMailboxPermissionsResponse-putMailboxPermissionsResponse pResponseStatus_ =- PutMailboxPermissionsResponse' {_pmprsResponseStatus = pResponseStatus_}----- | -- | The response status code.-pmprsResponseStatus :: Lens' PutMailboxPermissionsResponse Int-pmprsResponseStatus = lens _pmprsResponseStatus (\ s a -> s{_pmprsResponseStatus = a})--instance NFData PutMailboxPermissionsResponse where
− gen/Network/AWS/WorkMail/RegisterToWorkMail.hs
@@ -1,148 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.RegisterToWorkMail--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Registers an existing and disabled user, group, or resource/entity for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the entity is enabled and fails if the entity is deleted. This operation results in the accumulation of costs. For more information, see <http://aws.amazon.com/workmail/pricing Pricing> . The equivalent console functionality for this operation is /Enable/ . Users can either be created by calling the CreateUser API or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.-------module Network.AWS.WorkMail.RegisterToWorkMail- (- -- * Creating a Request- registerToWorkMail- , RegisterToWorkMail- -- * Request Lenses- , rtwmOrganizationId- , rtwmEntityId- , rtwmEmail-- -- * Destructuring the Response- , registerToWorkMailResponse- , RegisterToWorkMailResponse- -- * Response Lenses- , rtwmrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'registerToWorkMail' smart constructor.-data RegisterToWorkMail = RegisterToWorkMail'- { _rtwmOrganizationId :: !Text- , _rtwmEntityId :: !Text- , _rtwmEmail :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterToWorkMail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtwmOrganizationId' - The identifier for the organization under which the Amazon WorkMail entity exists.------ * 'rtwmEntityId' - The identifier for the entity to be updated.------ * 'rtwmEmail' - The email for the entity to be updated.-registerToWorkMail- :: Text -- ^ 'rtwmOrganizationId'- -> Text -- ^ 'rtwmEntityId'- -> Text -- ^ 'rtwmEmail'- -> RegisterToWorkMail-registerToWorkMail pOrganizationId_ pEntityId_ pEmail_ =- RegisterToWorkMail'- { _rtwmOrganizationId = pOrganizationId_- , _rtwmEntityId = pEntityId_- , _rtwmEmail = pEmail_- }----- | The identifier for the organization under which the Amazon WorkMail entity exists.-rtwmOrganizationId :: Lens' RegisterToWorkMail Text-rtwmOrganizationId = lens _rtwmOrganizationId (\ s a -> s{_rtwmOrganizationId = a})---- | The identifier for the entity to be updated.-rtwmEntityId :: Lens' RegisterToWorkMail Text-rtwmEntityId = lens _rtwmEntityId (\ s a -> s{_rtwmEntityId = a})---- | The email for the entity to be updated.-rtwmEmail :: Lens' RegisterToWorkMail Text-rtwmEmail = lens _rtwmEmail (\ s a -> s{_rtwmEmail = a})--instance AWSRequest RegisterToWorkMail where- type Rs RegisterToWorkMail =- RegisterToWorkMailResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- RegisterToWorkMailResponse' <$> (pure (fromEnum s)))--instance Hashable RegisterToWorkMail where--instance NFData RegisterToWorkMail where--instance ToHeaders RegisterToWorkMail where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.RegisterToWorkMail" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RegisterToWorkMail where- toJSON RegisterToWorkMail'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _rtwmOrganizationId),- Just ("EntityId" .= _rtwmEntityId),- Just ("Email" .= _rtwmEmail)])--instance ToPath RegisterToWorkMail where- toPath = const "/"--instance ToQuery RegisterToWorkMail where- toQuery = const mempty---- | /See:/ 'registerToWorkMailResponse' smart constructor.-newtype RegisterToWorkMailResponse = RegisterToWorkMailResponse'- { _rtwmrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterToWorkMailResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtwmrsResponseStatus' - -- | The response status code.-registerToWorkMailResponse- :: Int -- ^ 'rtwmrsResponseStatus'- -> RegisterToWorkMailResponse-registerToWorkMailResponse pResponseStatus_ =- RegisterToWorkMailResponse' {_rtwmrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-rtwmrsResponseStatus :: Lens' RegisterToWorkMailResponse Int-rtwmrsResponseStatus = lens _rtwmrsResponseStatus (\ s a -> s{_rtwmrsResponseStatus = a})--instance NFData RegisterToWorkMailResponse where
− gen/Network/AWS/WorkMail/ResetPassword.hs
@@ -1,147 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.ResetPassword--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Allows the administrator to reset the password for a user.-------module Network.AWS.WorkMail.ResetPassword- (- -- * Creating a Request- resetPassword- , ResetPassword- -- * Request Lenses- , rpOrganizationId- , rpUserId- , rpPassword-- -- * Destructuring the Response- , resetPasswordResponse- , ResetPasswordResponse- -- * Response Lenses- , rprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'resetPassword' smart constructor.-data ResetPassword = ResetPassword'- { _rpOrganizationId :: !Text- , _rpUserId :: !Text- , _rpPassword :: !(Sensitive Text)- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ResetPassword' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rpOrganizationId' - The identifier of the organization that contains the user for which the password is reset.------ * 'rpUserId' - The identifier of the user for whom the password is reset.------ * 'rpPassword' - The new password for the user.-resetPassword- :: Text -- ^ 'rpOrganizationId'- -> Text -- ^ 'rpUserId'- -> Text -- ^ 'rpPassword'- -> ResetPassword-resetPassword pOrganizationId_ pUserId_ pPassword_ =- ResetPassword'- { _rpOrganizationId = pOrganizationId_- , _rpUserId = pUserId_- , _rpPassword = _Sensitive # pPassword_- }----- | The identifier of the organization that contains the user for which the password is reset.-rpOrganizationId :: Lens' ResetPassword Text-rpOrganizationId = lens _rpOrganizationId (\ s a -> s{_rpOrganizationId = a})---- | The identifier of the user for whom the password is reset.-rpUserId :: Lens' ResetPassword Text-rpUserId = lens _rpUserId (\ s a -> s{_rpUserId = a})---- | The new password for the user.-rpPassword :: Lens' ResetPassword Text-rpPassword = lens _rpPassword (\ s a -> s{_rpPassword = a}) . _Sensitive--instance AWSRequest ResetPassword where- type Rs ResetPassword = ResetPasswordResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- ResetPasswordResponse' <$> (pure (fromEnum s)))--instance Hashable ResetPassword where--instance NFData ResetPassword where--instance ToHeaders ResetPassword where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.ResetPassword" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ResetPassword where- toJSON ResetPassword'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _rpOrganizationId),- Just ("UserId" .= _rpUserId),- Just ("Password" .= _rpPassword)])--instance ToPath ResetPassword where- toPath = const "/"--instance ToQuery ResetPassword where- toQuery = const mempty---- | /See:/ 'resetPasswordResponse' smart constructor.-newtype ResetPasswordResponse = ResetPasswordResponse'- { _rprsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ResetPasswordResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rprsResponseStatus' - -- | The response status code.-resetPasswordResponse- :: Int -- ^ 'rprsResponseStatus'- -> ResetPasswordResponse-resetPasswordResponse pResponseStatus_ =- ResetPasswordResponse' {_rprsResponseStatus = pResponseStatus_}----- | -- | The response status code.-rprsResponseStatus :: Lens' ResetPasswordResponse Int-rprsResponseStatus = lens _rprsResponseStatus (\ s a -> s{_rprsResponseStatus = a})--instance NFData ResetPasswordResponse where
− gen/Network/AWS/WorkMail/Types.hs
@@ -1,291 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.Types--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.WorkMail.Types- (- -- * Service Configuration- workMail-- -- * Errors- , _DirectoryUnavailableException- , _InvalidParameterException- , _UnsupportedOperationException- , _DirectoryServiceAuthenticationFailedException- , _OrganizationStateException- , _EntityStateException- , _InvalidConfigurationException- , _MailDomainStateException- , _ReservedNameException- , _OrganizationNotFoundException- , _EntityNotFoundException- , _EntityAlreadyRegisteredException- , _MailDomainNotFoundException- , _EmailAddressInUseException- , _NameAvailabilityException- , _InvalidPasswordException-- -- * EntityState- , EntityState (..)-- -- * MemberType- , MemberType (..)-- -- * PermissionType- , PermissionType (..)-- -- * ResourceType- , ResourceType (..)-- -- * UserRole- , UserRole (..)-- -- * BookingOptions- , BookingOptions- , bookingOptions- , boAutoDeclineConflictingRequests- , boAutoDeclineRecurringRequests- , boAutoAcceptRequests-- -- * Delegate- , Delegate- , delegate- , dId- , dType-- -- * Group- , Group- , group'- , gEmail- , gState- , gDisabledDate- , gName- , gId- , gEnabledDate-- -- * Member- , Member- , member- , mState- , mDisabledDate- , mName- , mId- , mType- , mEnabledDate-- -- * OrganizationSummary- , OrganizationSummary- , organizationSummary- , osState- , osAlias- , osErrorMessage- , osOrganizationId-- -- * Permission- , Permission- , permission- , pGranteeId- , pGranteeType- , pPermissionValues-- -- * Resource- , Resource- , resource- , rEmail- , rState- , rDisabledDate- , rName- , rId- , rType- , rEnabledDate-- -- * User- , User- , user- , uEmail- , uState- , uDisabledDate- , uName- , uId- , uDisplayName- , uUserRole- , uEnabledDate- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4-import Network.AWS.WorkMail.Types.Product-import Network.AWS.WorkMail.Types.Sum---- | API version @2017-10-01@ of the Amazon WorkMail SDK configuration.-workMail :: Service-workMail =- Service- { _svcAbbrev = "WorkMail"- , _svcSigner = v4- , _svcPrefix = "workmail"- , _svcVersion = "2017-10-01"- , _svcEndpoint = defaultEndpoint workMail- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "WorkMail"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | The directory that you are trying to perform operations on isn't available.-------_DirectoryUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError-_DirectoryUnavailableException =- _MatchServiceError workMail "DirectoryUnavailableException"----- | One or more of the input parameters don't match the service's restrictions.-------_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidParameterException =- _MatchServiceError workMail "InvalidParameterException"----- | You can't perform a write operation against a read-only directory.-------_UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError-_UnsupportedOperationException =- _MatchServiceError workMail "UnsupportedOperationException"----- | The Directory Service doesn't recognize the credentials supplied by the Amazon WorkMail service.-------_DirectoryServiceAuthenticationFailedException :: AsError a => Getting (First ServiceError) a ServiceError-_DirectoryServiceAuthenticationFailedException =- _MatchServiceError workMail "DirectoryServiceAuthenticationFailedException"----- | The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its entities.-------_OrganizationStateException :: AsError a => Getting (First ServiceError) a ServiceError-_OrganizationStateException =- _MatchServiceError workMail "OrganizationStateException"----- | You are performing an operation on an entity that isn't in the expected state, such as trying to update a deleted user.-------_EntityStateException :: AsError a => Getting (First ServiceError) a ServiceError-_EntityStateException = _MatchServiceError workMail "EntityStateException"----- | 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.-------_InvalidConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidConfigurationException =- _MatchServiceError workMail "InvalidConfigurationException"----- | After a domain has been added to the organization, it must be verified. The domain is not yet verified.-------_MailDomainStateException :: AsError a => Getting (First ServiceError) a ServiceError-_MailDomainStateException =- _MatchServiceError workMail "MailDomainStateException"----- | This entity name is not allowed in Amazon WorkMail.-------_ReservedNameException :: AsError a => Getting (First ServiceError) a ServiceError-_ReservedNameException = _MatchServiceError workMail "ReservedNameException"----- | An operation received a valid organization identifier that either doesn't belong or exist in the system.-------_OrganizationNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_OrganizationNotFoundException =- _MatchServiceError workMail "OrganizationNotFoundException"----- | The identifier supplied for the entity is valid, but it does not exist in your organization.-------_EntityNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_EntityNotFoundException = _MatchServiceError workMail "EntityNotFoundException"----- | The user, group, or resource that you're trying to register is already registered.-------_EntityAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError-_EntityAlreadyRegisteredException =- _MatchServiceError workMail "EntityAlreadyRegisteredException"----- | For an email or alias to be created in Amazon WorkMail, the included domain must be defined in the organization.-------_MailDomainNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_MailDomainNotFoundException =- _MatchServiceError workMail "MailDomainNotFoundException"----- | The email address that you're trying to assign is already created for a different user, group, or resource.-------_EmailAddressInUseException :: AsError a => Getting (First ServiceError) a ServiceError-_EmailAddressInUseException =- _MatchServiceError workMail "EmailAddressInUseException"----- | The entity (user, group, or user) name isn't unique in Amazon WorkMail.-------_NameAvailabilityException :: AsError a => Getting (First ServiceError) a ServiceError-_NameAvailabilityException =- _MatchServiceError workMail "NameAvailabilityException"----- | The supplied password doesn't match the minimum security constraints, such as length or use of special characters.-------_InvalidPasswordException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidPasswordException =- _MatchServiceError workMail "InvalidPasswordException"-
− gen/Network/AWS/WorkMail/Types/Product.hs
@@ -1,606 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.Types.Product--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.WorkMail.Types.Product where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.WorkMail.Types.Sum---- | At least one delegate must be associated to the resource to disable automatic replies from the resource.------------ /See:/ 'bookingOptions' smart constructor.-data BookingOptions = BookingOptions'- { _boAutoDeclineConflictingRequests :: !(Maybe Bool)- , _boAutoDeclineRecurringRequests :: !(Maybe Bool)- , _boAutoAcceptRequests :: !(Maybe Bool)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The resource's ability to automatically decline any conflicting requests.------ * 'boAutoDeclineRecurringRequests' - The resource's ability to automatically decline any recurring requests.------ * 'boAutoAcceptRequests' - The resource's ability to automatically reply to requests. If disabled, delegates must be associated to the resource.-bookingOptions- :: BookingOptions-bookingOptions =- BookingOptions'- { _boAutoDeclineConflictingRequests = Nothing- , _boAutoDeclineRecurringRequests = Nothing- , _boAutoAcceptRequests = Nothing- }----- | The resource's ability to automatically decline any conflicting requests.-boAutoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool)-boAutoDeclineConflictingRequests = lens _boAutoDeclineConflictingRequests (\ s a -> s{_boAutoDeclineConflictingRequests = a})---- | The resource's ability to automatically decline any recurring requests.-boAutoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool)-boAutoDeclineRecurringRequests = lens _boAutoDeclineRecurringRequests (\ s a -> s{_boAutoDeclineRecurringRequests = a})---- | The resource's ability to automatically reply to requests. If disabled, delegates must be associated to the resource.-boAutoAcceptRequests :: Lens' BookingOptions (Maybe Bool)-boAutoAcceptRequests = lens _boAutoAcceptRequests (\ s a -> s{_boAutoAcceptRequests = a})--instance FromJSON BookingOptions where- parseJSON- = withObject "BookingOptions"- (\ x ->- BookingOptions' <$>- (x .:? "AutoDeclineConflictingRequests") <*>- (x .:? "AutoDeclineRecurringRequests")- <*> (x .:? "AutoAcceptRequests"))--instance Hashable BookingOptions where--instance NFData BookingOptions where--instance ToJSON BookingOptions where- toJSON BookingOptions'{..}- = object- (catMaybes- [("AutoDeclineConflictingRequests" .=) <$>- _boAutoDeclineConflictingRequests,- ("AutoDeclineRecurringRequests" .=) <$>- _boAutoDeclineRecurringRequests,- ("AutoAcceptRequests" .=) <$> _boAutoAcceptRequests])---- | The name of the attribute, which is one of the values defined in the UserAttribute enumeration.------------ /See:/ 'delegate' smart constructor.-data Delegate = Delegate'- { _dId :: !Text- , _dType :: !MemberType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-delegate- :: Text -- ^ 'dId'- -> MemberType -- ^ 'dType'- -> Delegate-delegate pId_ pType_ = Delegate' {_dId = pId_, _dType = pType_}----- | The identifier for the user or group is associated as the resource's delegate.-dId :: Lens' Delegate Text-dId = lens _dId (\ s a -> s{_dId = a})---- | The type of the delegate: user or group.-dType :: Lens' Delegate MemberType-dType = lens _dType (\ s a -> s{_dType = a})--instance FromJSON Delegate where- parseJSON- = withObject "Delegate"- (\ x -> Delegate' <$> (x .: "Id") <*> (x .: "Type"))--instance Hashable Delegate where--instance NFData Delegate where---- | The representation of an Amazon WorkMail group.------------ /See:/ 'group'' smart constructor.-data Group = Group'- { _gEmail :: !(Maybe Text)- , _gState :: !(Maybe EntityState)- , _gDisabledDate :: !(Maybe POSIX)- , _gName :: !(Maybe Text)- , _gId :: !(Maybe Text)- , _gEnabledDate :: !(Maybe POSIX)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-group'- :: Group-group' =- Group'- { _gEmail = Nothing- , _gState = Nothing- , _gDisabledDate = Nothing- , _gName = Nothing- , _gId = Nothing- , _gEnabledDate = Nothing- }----- | The email of the group.-gEmail :: Lens' Group (Maybe Text)-gEmail = lens _gEmail (\ s a -> s{_gEmail = a})---- | The state of the group, which can be ENABLED, DISABLED, or DELETED.-gState :: Lens' Group (Maybe EntityState)-gState = lens _gState (\ s a -> s{_gState = a})---- | The date indicating when the group was disabled from Amazon WorkMail use.-gDisabledDate :: Lens' Group (Maybe UTCTime)-gDisabledDate = lens _gDisabledDate (\ s a -> s{_gDisabledDate = a}) . mapping _Time---- | The name of the group.-gName :: Lens' Group (Maybe Text)-gName = lens _gName (\ s a -> s{_gName = a})---- | The identifier of the group.-gId :: Lens' Group (Maybe Text)-gId = lens _gId (\ s a -> s{_gId = a})---- | The date indicating when the group was enabled for Amazon WorkMail use.-gEnabledDate :: Lens' Group (Maybe UTCTime)-gEnabledDate = lens _gEnabledDate (\ s a -> s{_gEnabledDate = a}) . mapping _Time--instance FromJSON Group where- parseJSON- = withObject "Group"- (\ x ->- Group' <$>- (x .:? "Email") <*> (x .:? "State") <*>- (x .:? "DisabledDate")- <*> (x .:? "Name")- <*> (x .:? "Id")- <*> (x .:? "EnabledDate"))--instance Hashable Group where--instance NFData Group where---- | The representation of a group member (user or group).------------ /See:/ 'member' smart constructor.-data Member = Member'- { _mState :: !(Maybe EntityState)- , _mDisabledDate :: !(Maybe POSIX)- , _mName :: !(Maybe Text)- , _mId :: !(Maybe Text)- , _mType :: !(Maybe MemberType)- , _mEnabledDate :: !(Maybe POSIX)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-member- :: Member-member =- Member'- { _mState = Nothing- , _mDisabledDate = Nothing- , _mName = Nothing- , _mId = Nothing- , _mType = Nothing- , _mEnabledDate = Nothing- }----- | The state of the member, which can be ENABLED, DISABLED, or DELETED.-mState :: Lens' Member (Maybe EntityState)-mState = lens _mState (\ s a -> s{_mState = a})---- | The date indicating when the member was disabled from Amazon WorkMail use.-mDisabledDate :: Lens' Member (Maybe UTCTime)-mDisabledDate = lens _mDisabledDate (\ s a -> s{_mDisabledDate = a}) . mapping _Time---- | The name of the member.-mName :: Lens' Member (Maybe Text)-mName = lens _mName (\ s a -> s{_mName = a})---- | The identifier of the member.-mId :: Lens' Member (Maybe Text)-mId = lens _mId (\ s a -> s{_mId = a})---- | A member can be a user or group.-mType :: Lens' Member (Maybe MemberType)-mType = lens _mType (\ s a -> s{_mType = a})---- | The date indicating when the member was enabled for Amazon WorkMail use.-mEnabledDate :: Lens' Member (Maybe UTCTime)-mEnabledDate = lens _mEnabledDate (\ s a -> s{_mEnabledDate = a}) . mapping _Time--instance FromJSON Member where- parseJSON- = withObject "Member"- (\ x ->- Member' <$>- (x .:? "State") <*> (x .:? "DisabledDate") <*>- (x .:? "Name")- <*> (x .:? "Id")- <*> (x .:? "Type")- <*> (x .:? "EnabledDate"))--instance Hashable Member where--instance NFData Member where---- | The brief overview associated with an organization.------------ /See:/ 'organizationSummary' smart constructor.-data OrganizationSummary = OrganizationSummary'- { _osState :: !(Maybe Text)- , _osAlias :: !(Maybe Text)- , _osErrorMessage :: !(Maybe Text)- , _osOrganizationId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-organizationSummary- :: OrganizationSummary-organizationSummary =- OrganizationSummary'- { _osState = Nothing- , _osAlias = Nothing- , _osErrorMessage = Nothing- , _osOrganizationId = Nothing- }----- | The state associated with the organization.-osState :: Lens' OrganizationSummary (Maybe Text)-osState = lens _osState (\ s a -> s{_osState = a})---- | The alias associated with the organization.-osAlias :: Lens' OrganizationSummary (Maybe Text)-osAlias = lens _osAlias (\ s a -> s{_osAlias = a})---- | 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.-osErrorMessage :: Lens' OrganizationSummary (Maybe Text)-osErrorMessage = lens _osErrorMessage (\ s a -> s{_osErrorMessage = a})---- | The identifier associated with the organization.-osOrganizationId :: Lens' OrganizationSummary (Maybe Text)-osOrganizationId = lens _osOrganizationId (\ s a -> s{_osOrganizationId = a})--instance FromJSON OrganizationSummary where- parseJSON- = withObject "OrganizationSummary"- (\ x ->- OrganizationSummary' <$>- (x .:? "State") <*> (x .:? "Alias") <*>- (x .:? "ErrorMessage")- <*> (x .:? "OrganizationId"))--instance Hashable OrganizationSummary where--instance NFData OrganizationSummary where---- | Permission granted to an entity (user, group) to access a certain aspect of another entity's mailbox.------------ /See:/ 'permission' smart constructor.-data Permission = Permission'- { _pGranteeId :: !Text- , _pGranteeType :: !MemberType- , _pPermissionValues :: ![PermissionType]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-permission- :: Text -- ^ 'pGranteeId'- -> MemberType -- ^ 'pGranteeType'- -> Permission-permission pGranteeId_ pGranteeType_ =- Permission'- { _pGranteeId = pGranteeId_- , _pGranteeType = pGranteeType_- , _pPermissionValues = mempty- }----- | The identifier of the entity (user or group) to which the permissions are granted.-pGranteeId :: Lens' Permission Text-pGranteeId = lens _pGranteeId (\ s a -> s{_pGranteeId = a})---- | The type of entity (user, group) of the entity referred to in GranteeId.-pGranteeType :: Lens' Permission MemberType-pGranteeType = lens _pGranteeType (\ s a -> s{_pGranteeType = a})---- | 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.-pPermissionValues :: Lens' Permission [PermissionType]-pPermissionValues = lens _pPermissionValues (\ s a -> s{_pPermissionValues = a}) . _Coerce--instance FromJSON Permission where- parseJSON- = withObject "Permission"- (\ x ->- Permission' <$>- (x .: "GranteeId") <*> (x .: "GranteeType") <*>- (x .:? "PermissionValues" .!= mempty))--instance Hashable Permission where--instance NFData Permission where---- | The overview for a resource containing relevant data regarding it.------------ /See:/ 'resource' smart constructor.-data Resource = Resource'- { _rEmail :: !(Maybe Text)- , _rState :: !(Maybe EntityState)- , _rDisabledDate :: !(Maybe POSIX)- , _rName :: !(Maybe Text)- , _rId :: !(Maybe Text)- , _rType :: !(Maybe ResourceType)- , _rEnabledDate :: !(Maybe POSIX)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-resource- :: Resource-resource =- Resource'- { _rEmail = Nothing- , _rState = Nothing- , _rDisabledDate = Nothing- , _rName = Nothing- , _rId = Nothing- , _rType = Nothing- , _rEnabledDate = Nothing- }----- | The email of the resource.-rEmail :: Lens' Resource (Maybe Text)-rEmail = lens _rEmail (\ s a -> s{_rEmail = a})---- | The state of the resource, which can be ENABLED, DISABLED, or DELETED.-rState :: Lens' Resource (Maybe EntityState)-rState = lens _rState (\ s a -> s{_rState = a})---- | The date indicating when the resource was disabled from Amazon WorkMail use.-rDisabledDate :: Lens' Resource (Maybe UTCTime)-rDisabledDate = lens _rDisabledDate (\ s a -> s{_rDisabledDate = a}) . mapping _Time---- | The name of the resource.-rName :: Lens' Resource (Maybe Text)-rName = lens _rName (\ s a -> s{_rName = a})---- | The identifier of the resource.-rId :: Lens' Resource (Maybe Text)-rId = lens _rId (\ s a -> s{_rId = a})---- | The type of the resource: equipment or room.-rType :: Lens' Resource (Maybe ResourceType)-rType = lens _rType (\ s a -> s{_rType = a})---- | The date indicating when the resource was enabled for Amazon WorkMail use.-rEnabledDate :: Lens' Resource (Maybe UTCTime)-rEnabledDate = lens _rEnabledDate (\ s a -> s{_rEnabledDate = a}) . mapping _Time--instance FromJSON Resource where- parseJSON- = withObject "Resource"- (\ x ->- Resource' <$>- (x .:? "Email") <*> (x .:? "State") <*>- (x .:? "DisabledDate")- <*> (x .:? "Name")- <*> (x .:? "Id")- <*> (x .:? "Type")- <*> (x .:? "EnabledDate"))--instance Hashable Resource where--instance NFData Resource where---- | The representation of an Amazon WorkMail user.------------ /See:/ 'user' smart constructor.-data User = User'- { _uEmail :: !(Maybe Text)- , _uState :: !(Maybe EntityState)- , _uDisabledDate :: !(Maybe POSIX)- , _uName :: !(Maybe Text)- , _uId :: !(Maybe Text)- , _uDisplayName :: !(Maybe Text)- , _uUserRole :: !(Maybe UserRole)- , _uEnabledDate :: !(Maybe POSIX)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-user- :: User-user =- User'- { _uEmail = Nothing- , _uState = Nothing- , _uDisabledDate = Nothing- , _uName = Nothing- , _uId = Nothing- , _uDisplayName = Nothing- , _uUserRole = Nothing- , _uEnabledDate = Nothing- }----- | The email of the user.-uEmail :: Lens' User (Maybe Text)-uEmail = lens _uEmail (\ s a -> s{_uEmail = a})---- | The state of the user, which can be ENABLED, DISABLED, or DELETED.-uState :: Lens' User (Maybe EntityState)-uState = lens _uState (\ s a -> s{_uState = a})---- | The date indicating when the user was disabled from Amazon WorkMail use.-uDisabledDate :: Lens' User (Maybe UTCTime)-uDisabledDate = lens _uDisabledDate (\ s a -> s{_uDisabledDate = a}) . mapping _Time---- | The name of the user.-uName :: Lens' User (Maybe Text)-uName = lens _uName (\ s a -> s{_uName = a})---- | The identifier of the user.-uId :: Lens' User (Maybe Text)-uId = lens _uId (\ s a -> s{_uId = a})---- | The display name of the user.-uDisplayName :: Lens' User (Maybe Text)-uDisplayName = lens _uDisplayName (\ s a -> s{_uDisplayName = a})---- | The role of the user.-uUserRole :: Lens' User (Maybe UserRole)-uUserRole = lens _uUserRole (\ s a -> s{_uUserRole = a})---- | The date indicating when the user was enabled for Amazon WorkMail use.-uEnabledDate :: Lens' User (Maybe UTCTime)-uEnabledDate = lens _uEnabledDate (\ s a -> s{_uEnabledDate = a}) . mapping _Time--instance FromJSON User where- parseJSON- = withObject "User"- (\ x ->- User' <$>- (x .:? "Email") <*> (x .:? "State") <*>- (x .:? "DisabledDate")- <*> (x .:? "Name")- <*> (x .:? "Id")- <*> (x .:? "DisplayName")- <*> (x .:? "UserRole")- <*> (x .:? "EnabledDate"))--instance Hashable User where--instance NFData User where
− gen/Network/AWS/WorkMail/Types/Sum.hs
@@ -1,170 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.Types.Sum--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.WorkMail.Types.Sum where--import Network.AWS.Prelude--data EntityState- = Deleted- | Disabled- | Enabled- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EntityState where- parser = takeLowerText >>= \case- "deleted" -> pure Deleted- "disabled" -> pure Disabled- "enabled" -> pure Enabled- e -> fromTextError $ "Failure parsing EntityState from value: '" <> e- <> "'. Accepted values: deleted, disabled, enabled"--instance ToText EntityState where- toText = \case- Deleted -> "DELETED"- Disabled -> "DISABLED"- Enabled -> "ENABLED"--instance Hashable EntityState-instance NFData EntityState-instance ToByteString EntityState-instance ToQuery EntityState-instance ToHeader EntityState--instance FromJSON EntityState where- parseJSON = parseJSONText "EntityState"--data MemberType- = Group- | User- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MemberType where- parser = takeLowerText >>= \case- "group" -> pure Group- "user" -> pure User- e -> fromTextError $ "Failure parsing MemberType from value: '" <> e- <> "'. Accepted values: group, user"--instance ToText MemberType where- toText = \case- Group -> "GROUP"- User -> "USER"--instance Hashable MemberType-instance NFData MemberType-instance ToByteString MemberType-instance ToQuery MemberType-instance ToHeader MemberType--instance FromJSON MemberType where- parseJSON = parseJSONText "MemberType"--data PermissionType- = FullAccess- | SendAs- | SendOnBehalf- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText PermissionType where- parser = takeLowerText >>= \case- "full_access" -> pure FullAccess- "send_as" -> pure SendAs- "send_on_behalf" -> pure SendOnBehalf- e -> fromTextError $ "Failure parsing PermissionType from value: '" <> e- <> "'. Accepted values: full_access, send_as, send_on_behalf"--instance ToText PermissionType where- toText = \case- FullAccess -> "FULL_ACCESS"- SendAs -> "SEND_AS"- SendOnBehalf -> "SEND_ON_BEHALF"--instance Hashable PermissionType-instance NFData PermissionType-instance ToByteString PermissionType-instance ToQuery PermissionType-instance ToHeader PermissionType--instance ToJSON PermissionType where- toJSON = toJSONText--instance FromJSON PermissionType where- parseJSON = parseJSONText "PermissionType"--data ResourceType- = Equipment- | Room- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ResourceType where- parser = takeLowerText >>= \case- "equipment" -> pure Equipment- "room" -> pure Room- e -> fromTextError $ "Failure parsing ResourceType from value: '" <> e- <> "'. Accepted values: equipment, room"--instance ToText ResourceType where- toText = \case- Equipment -> "EQUIPMENT"- Room -> "ROOM"--instance Hashable ResourceType-instance NFData ResourceType-instance ToByteString ResourceType-instance ToQuery ResourceType-instance ToHeader ResourceType--instance ToJSON ResourceType where- toJSON = toJSONText--instance FromJSON ResourceType where- parseJSON = parseJSONText "ResourceType"--data UserRole- = URResource- | URSystemUser- | URUser- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText UserRole where- parser = takeLowerText >>= \case- "resource" -> pure URResource- "system_user" -> pure URSystemUser- "user" -> pure URUser- e -> fromTextError $ "Failure parsing UserRole from value: '" <> e- <> "'. Accepted values: resource, system_user, user"--instance ToText UserRole where- toText = \case- URResource -> "RESOURCE"- URSystemUser -> "SYSTEM_USER"- URUser -> "USER"--instance Hashable UserRole-instance NFData UserRole-instance ToByteString UserRole-instance ToQuery UserRole-instance ToHeader UserRole--instance FromJSON UserRole where- parseJSON = parseJSONText "UserRole"
− gen/Network/AWS/WorkMail/UpdatePrimaryEmailAddress.hs
@@ -1,151 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.UpdatePrimaryEmailAddress--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the primary email for an entity. 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.-------module Network.AWS.WorkMail.UpdatePrimaryEmailAddress- (- -- * Creating a Request- updatePrimaryEmailAddress- , UpdatePrimaryEmailAddress- -- * Request Lenses- , upeaOrganizationId- , upeaEntityId- , upeaEmail-- -- * Destructuring the Response- , updatePrimaryEmailAddressResponse- , UpdatePrimaryEmailAddressResponse- -- * Response Lenses- , upearsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'updatePrimaryEmailAddress' smart constructor.-data UpdatePrimaryEmailAddress = UpdatePrimaryEmailAddress'- { _upeaOrganizationId :: !Text- , _upeaEntityId :: !Text- , _upeaEmail :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdatePrimaryEmailAddress' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'upeaOrganizationId' - The organization that contains the entity to update.------ * 'upeaEntityId' - The entity to update (user, group, or resource).------ * 'upeaEmail' - The value of the email to be updated as primary.-updatePrimaryEmailAddress- :: Text -- ^ 'upeaOrganizationId'- -> Text -- ^ 'upeaEntityId'- -> Text -- ^ 'upeaEmail'- -> UpdatePrimaryEmailAddress-updatePrimaryEmailAddress pOrganizationId_ pEntityId_ pEmail_ =- UpdatePrimaryEmailAddress'- { _upeaOrganizationId = pOrganizationId_- , _upeaEntityId = pEntityId_- , _upeaEmail = pEmail_- }----- | The organization that contains the entity to update.-upeaOrganizationId :: Lens' UpdatePrimaryEmailAddress Text-upeaOrganizationId = lens _upeaOrganizationId (\ s a -> s{_upeaOrganizationId = a})---- | The entity to update (user, group, or resource).-upeaEntityId :: Lens' UpdatePrimaryEmailAddress Text-upeaEntityId = lens _upeaEntityId (\ s a -> s{_upeaEntityId = a})---- | The value of the email to be updated as primary.-upeaEmail :: Lens' UpdatePrimaryEmailAddress Text-upeaEmail = lens _upeaEmail (\ s a -> s{_upeaEmail = a})--instance AWSRequest UpdatePrimaryEmailAddress where- type Rs UpdatePrimaryEmailAddress =- UpdatePrimaryEmailAddressResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- UpdatePrimaryEmailAddressResponse' <$>- (pure (fromEnum s)))--instance Hashable UpdatePrimaryEmailAddress where--instance NFData UpdatePrimaryEmailAddress where--instance ToHeaders UpdatePrimaryEmailAddress where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.UpdatePrimaryEmailAddress" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdatePrimaryEmailAddress where- toJSON UpdatePrimaryEmailAddress'{..}- = object- (catMaybes- [Just ("OrganizationId" .= _upeaOrganizationId),- Just ("EntityId" .= _upeaEntityId),- Just ("Email" .= _upeaEmail)])--instance ToPath UpdatePrimaryEmailAddress where- toPath = const "/"--instance ToQuery UpdatePrimaryEmailAddress where- toQuery = const mempty---- | /See:/ 'updatePrimaryEmailAddressResponse' smart constructor.-newtype UpdatePrimaryEmailAddressResponse = UpdatePrimaryEmailAddressResponse'- { _upearsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdatePrimaryEmailAddressResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'upearsResponseStatus' - -- | The response status code.-updatePrimaryEmailAddressResponse- :: Int -- ^ 'upearsResponseStatus'- -> UpdatePrimaryEmailAddressResponse-updatePrimaryEmailAddressResponse pResponseStatus_ =- UpdatePrimaryEmailAddressResponse' {_upearsResponseStatus = pResponseStatus_}----- | -- | The response status code.-upearsResponseStatus :: Lens' UpdatePrimaryEmailAddressResponse Int-upearsResponseStatus = lens _upearsResponseStatus (\ s a -> s{_upearsResponseStatus = a})--instance NFData UpdatePrimaryEmailAddressResponse- where
− gen/Network/AWS/WorkMail/UpdateResource.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.UpdateResource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates data for the resource. It must be preceded by a describe call in order to have the latest information. The dataset in the request should be the one expected when performing another describe call.-------module Network.AWS.WorkMail.UpdateResource- (- -- * Creating a Request- updateResource- , UpdateResource- -- * Request Lenses- , urName- , urBookingOptions- , urOrganizationId- , urResourceId-- -- * Destructuring the Response- , updateResourceResponse- , UpdateResourceResponse- -- * Response Lenses- , urrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.WorkMail.Types-import Network.AWS.WorkMail.Types.Product---- | /See:/ 'updateResource' smart constructor.-data UpdateResource = UpdateResource'- { _urName :: !(Maybe Text)- , _urBookingOptions :: !(Maybe BookingOptions)- , _urOrganizationId :: !Text- , _urResourceId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'urName' - The name of the resource to be updated.------ * 'urBookingOptions' - The resource's booking options to be updated.------ * 'urOrganizationId' - The identifier associated with the organization for which the resource is updated.------ * 'urResourceId' - The identifier of the resource to be updated.-updateResource- :: Text -- ^ 'urOrganizationId'- -> Text -- ^ 'urResourceId'- -> UpdateResource-updateResource pOrganizationId_ pResourceId_ =- UpdateResource'- { _urName = Nothing- , _urBookingOptions = Nothing- , _urOrganizationId = pOrganizationId_- , _urResourceId = pResourceId_- }----- | The name of the resource to be updated.-urName :: Lens' UpdateResource (Maybe Text)-urName = lens _urName (\ s a -> s{_urName = a})---- | The resource's booking options to be updated.-urBookingOptions :: Lens' UpdateResource (Maybe BookingOptions)-urBookingOptions = lens _urBookingOptions (\ s a -> s{_urBookingOptions = a})---- | The identifier associated with the organization for which the resource is updated.-urOrganizationId :: Lens' UpdateResource Text-urOrganizationId = lens _urOrganizationId (\ s a -> s{_urOrganizationId = a})---- | The identifier of the resource to be updated.-urResourceId :: Lens' UpdateResource Text-urResourceId = lens _urResourceId (\ s a -> s{_urResourceId = a})--instance AWSRequest UpdateResource where- type Rs UpdateResource = UpdateResourceResponse- request = postJSON workMail- response- = receiveEmpty- (\ s h x ->- UpdateResourceResponse' <$> (pure (fromEnum s)))--instance Hashable UpdateResource where--instance NFData UpdateResource where--instance ToHeaders UpdateResource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("WorkMailService.UpdateResource" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateResource where- toJSON UpdateResource'{..}- = object- (catMaybes- [("Name" .=) <$> _urName,- ("BookingOptions" .=) <$> _urBookingOptions,- Just ("OrganizationId" .= _urOrganizationId),- Just ("ResourceId" .= _urResourceId)])--instance ToPath UpdateResource where- toPath = const "/"--instance ToQuery UpdateResource where- toQuery = const mempty---- | /See:/ 'updateResourceResponse' smart constructor.-newtype UpdateResourceResponse = UpdateResourceResponse'- { _urrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'urrsResponseStatus' - -- | The response status code.-updateResourceResponse- :: Int -- ^ 'urrsResponseStatus'- -> UpdateResourceResponse-updateResourceResponse pResponseStatus_ =- UpdateResourceResponse' {_urrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-urrsResponseStatus :: Lens' UpdateResourceResponse Int-urrsResponseStatus = lens _urrsResponseStatus (\ s a -> s{_urrsResponseStatus = a})--instance NFData UpdateResourceResponse where
− gen/Network/AWS/WorkMail/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.WorkMail.Waiters--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.WorkMail.Waiters where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter-import Network.AWS.WorkMail.Types
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.WorkMail+import Test.Amazonka.WorkMail.Internal import Test.Tasty-import Test.AWS.WorkMail-import Test.AWS.WorkMail.Internal main :: IO ()-main = defaultMain $ testGroup "WorkMail"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "WorkMail"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/Gen/WorkMail.hs
@@ -1,597 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.WorkMail--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.WorkMail where--import Data.Proxy-import Network.AWS.WorkMail-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.AWS.WorkMail.Internal-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestUpdatePrimaryEmailAddress $--- updatePrimaryEmailAddress------ , requestDescribeResource $--- describeResource------ , requestCreateAlias $--- createAlias------ , requestResetPassword $--- resetPassword------ , requestDescribeGroup $--- describeGroup------ , requestRegisterToWorkMail $--- registerToWorkMail------ , requestListAliases $--- listAliases------ , requestPutMailboxPermissions $--- putMailboxPermissions------ , requestDeleteMailboxPermissions $--- deleteMailboxPermissions------ , requestListUsers $--- listUsers------ , requestAssociateMemberToGroup $--- associateMemberToGroup------ , requestDeleteResource $--- deleteResource------ , requestUpdateResource $--- updateResource------ , requestDisassociateMemberFromGroup $--- disassociateMemberFromGroup------ , requestListResources $--- listResources------ , requestDeregisterFromWorkMail $--- deregisterFromWorkMail------ , requestListMailboxPermissions $--- listMailboxPermissions------ , requestListGroupMembers $--- listGroupMembers------ , requestDisassociateDelegateFromResource $--- disassociateDelegateFromResource------ , requestListResourceDelegates $--- listResourceDelegates------ , requestDescribeUser $--- describeUser------ , requestDeleteAlias $--- deleteAlias------ , requestListOrganizations $--- listOrganizations------ , requestAssociateDelegateToResource $--- associateDelegateToResource------ , requestCreateUser $--- createUser------ , requestDeleteUser $--- deleteUser------ , requestCreateGroup $--- createGroup------ , requestDeleteGroup $--- deleteGroup------ , requestListGroups $--- listGroups------ , requestDescribeOrganization $--- describeOrganization------ , requestCreateResource $--- createResource------ ]---- , testGroup "response"--- [ responseUpdatePrimaryEmailAddress $--- updatePrimaryEmailAddressResponse------ , responseDescribeResource $--- describeResourceResponse------ , responseCreateAlias $--- createAliasResponse------ , responseResetPassword $--- resetPasswordResponse------ , responseDescribeGroup $--- describeGroupResponse------ , responseRegisterToWorkMail $--- registerToWorkMailResponse------ , responseListAliases $--- listAliasesResponse------ , responsePutMailboxPermissions $--- putMailboxPermissionsResponse------ , responseDeleteMailboxPermissions $--- deleteMailboxPermissionsResponse------ , responseListUsers $--- listUsersResponse------ , responseAssociateMemberToGroup $--- associateMemberToGroupResponse------ , responseDeleteResource $--- deleteResourceResponse------ , responseUpdateResource $--- updateResourceResponse------ , responseDisassociateMemberFromGroup $--- disassociateMemberFromGroupResponse------ , responseListResources $--- listResourcesResponse------ , responseDeregisterFromWorkMail $--- deregisterFromWorkMailResponse------ , responseListMailboxPermissions $--- listMailboxPermissionsResponse------ , responseListGroupMembers $--- listGroupMembersResponse------ , responseDisassociateDelegateFromResource $--- disassociateDelegateFromResourceResponse------ , responseListResourceDelegates $--- listResourceDelegatesResponse------ , responseDescribeUser $--- describeUserResponse------ , responseDeleteAlias $--- deleteAliasResponse------ , responseListOrganizations $--- listOrganizationsResponse------ , responseAssociateDelegateToResource $--- associateDelegateToResourceResponse------ , responseCreateUser $--- createUserResponse------ , responseDeleteUser $--- deleteUserResponse------ , responseCreateGroup $--- createGroupResponse------ , responseDeleteGroup $--- deleteGroupResponse------ , responseListGroups $--- listGroupsResponse------ , responseDescribeOrganization $--- describeOrganizationResponse------ , responseCreateResource $--- createResourceResponse------ ]--- ]---- Requests--requestUpdatePrimaryEmailAddress :: UpdatePrimaryEmailAddress -> TestTree-requestUpdatePrimaryEmailAddress = req- "UpdatePrimaryEmailAddress"- "fixture/UpdatePrimaryEmailAddress.yaml"--requestDescribeResource :: DescribeResource -> TestTree-requestDescribeResource = req- "DescribeResource"- "fixture/DescribeResource.yaml"--requestCreateAlias :: CreateAlias -> TestTree-requestCreateAlias = req- "CreateAlias"- "fixture/CreateAlias.yaml"--requestResetPassword :: ResetPassword -> TestTree-requestResetPassword = req- "ResetPassword"- "fixture/ResetPassword.yaml"--requestDescribeGroup :: DescribeGroup -> TestTree-requestDescribeGroup = req- "DescribeGroup"- "fixture/DescribeGroup.yaml"--requestRegisterToWorkMail :: RegisterToWorkMail -> TestTree-requestRegisterToWorkMail = req- "RegisterToWorkMail"- "fixture/RegisterToWorkMail.yaml"--requestListAliases :: ListAliases -> TestTree-requestListAliases = req- "ListAliases"- "fixture/ListAliases.yaml"--requestPutMailboxPermissions :: PutMailboxPermissions -> TestTree-requestPutMailboxPermissions = req- "PutMailboxPermissions"- "fixture/PutMailboxPermissions.yaml"--requestDeleteMailboxPermissions :: DeleteMailboxPermissions -> TestTree-requestDeleteMailboxPermissions = req- "DeleteMailboxPermissions"- "fixture/DeleteMailboxPermissions.yaml"--requestListUsers :: ListUsers -> TestTree-requestListUsers = req- "ListUsers"- "fixture/ListUsers.yaml"--requestAssociateMemberToGroup :: AssociateMemberToGroup -> TestTree-requestAssociateMemberToGroup = req- "AssociateMemberToGroup"- "fixture/AssociateMemberToGroup.yaml"--requestDeleteResource :: DeleteResource -> TestTree-requestDeleteResource = req- "DeleteResource"- "fixture/DeleteResource.yaml"--requestUpdateResource :: UpdateResource -> TestTree-requestUpdateResource = req- "UpdateResource"- "fixture/UpdateResource.yaml"--requestDisassociateMemberFromGroup :: DisassociateMemberFromGroup -> TestTree-requestDisassociateMemberFromGroup = req- "DisassociateMemberFromGroup"- "fixture/DisassociateMemberFromGroup.yaml"--requestListResources :: ListResources -> TestTree-requestListResources = req- "ListResources"- "fixture/ListResources.yaml"--requestDeregisterFromWorkMail :: DeregisterFromWorkMail -> TestTree-requestDeregisterFromWorkMail = req- "DeregisterFromWorkMail"- "fixture/DeregisterFromWorkMail.yaml"--requestListMailboxPermissions :: ListMailboxPermissions -> TestTree-requestListMailboxPermissions = req- "ListMailboxPermissions"- "fixture/ListMailboxPermissions.yaml"--requestListGroupMembers :: ListGroupMembers -> TestTree-requestListGroupMembers = req- "ListGroupMembers"- "fixture/ListGroupMembers.yaml"--requestDisassociateDelegateFromResource :: DisassociateDelegateFromResource -> TestTree-requestDisassociateDelegateFromResource = req- "DisassociateDelegateFromResource"- "fixture/DisassociateDelegateFromResource.yaml"--requestListResourceDelegates :: ListResourceDelegates -> TestTree-requestListResourceDelegates = req- "ListResourceDelegates"- "fixture/ListResourceDelegates.yaml"--requestDescribeUser :: DescribeUser -> TestTree-requestDescribeUser = req- "DescribeUser"- "fixture/DescribeUser.yaml"--requestDeleteAlias :: DeleteAlias -> TestTree-requestDeleteAlias = req- "DeleteAlias"- "fixture/DeleteAlias.yaml"--requestListOrganizations :: ListOrganizations -> TestTree-requestListOrganizations = req- "ListOrganizations"- "fixture/ListOrganizations.yaml"--requestAssociateDelegateToResource :: AssociateDelegateToResource -> TestTree-requestAssociateDelegateToResource = req- "AssociateDelegateToResource"- "fixture/AssociateDelegateToResource.yaml"--requestCreateUser :: CreateUser -> TestTree-requestCreateUser = req- "CreateUser"- "fixture/CreateUser.yaml"--requestDeleteUser :: DeleteUser -> TestTree-requestDeleteUser = req- "DeleteUser"- "fixture/DeleteUser.yaml"--requestCreateGroup :: CreateGroup -> TestTree-requestCreateGroup = req- "CreateGroup"- "fixture/CreateGroup.yaml"--requestDeleteGroup :: DeleteGroup -> TestTree-requestDeleteGroup = req- "DeleteGroup"- "fixture/DeleteGroup.yaml"--requestListGroups :: ListGroups -> TestTree-requestListGroups = req- "ListGroups"- "fixture/ListGroups.yaml"--requestDescribeOrganization :: DescribeOrganization -> TestTree-requestDescribeOrganization = req- "DescribeOrganization"- "fixture/DescribeOrganization.yaml"--requestCreateResource :: CreateResource -> TestTree-requestCreateResource = req- "CreateResource"- "fixture/CreateResource.yaml"---- Responses--responseUpdatePrimaryEmailAddress :: UpdatePrimaryEmailAddressResponse -> TestTree-responseUpdatePrimaryEmailAddress = res- "UpdatePrimaryEmailAddressResponse"- "fixture/UpdatePrimaryEmailAddressResponse.proto"- workMail- (Proxy :: Proxy UpdatePrimaryEmailAddress)--responseDescribeResource :: DescribeResourceResponse -> TestTree-responseDescribeResource = res- "DescribeResourceResponse"- "fixture/DescribeResourceResponse.proto"- workMail- (Proxy :: Proxy DescribeResource)--responseCreateAlias :: CreateAliasResponse -> TestTree-responseCreateAlias = res- "CreateAliasResponse"- "fixture/CreateAliasResponse.proto"- workMail- (Proxy :: Proxy CreateAlias)--responseResetPassword :: ResetPasswordResponse -> TestTree-responseResetPassword = res- "ResetPasswordResponse"- "fixture/ResetPasswordResponse.proto"- workMail- (Proxy :: Proxy ResetPassword)--responseDescribeGroup :: DescribeGroupResponse -> TestTree-responseDescribeGroup = res- "DescribeGroupResponse"- "fixture/DescribeGroupResponse.proto"- workMail- (Proxy :: Proxy DescribeGroup)--responseRegisterToWorkMail :: RegisterToWorkMailResponse -> TestTree-responseRegisterToWorkMail = res- "RegisterToWorkMailResponse"- "fixture/RegisterToWorkMailResponse.proto"- workMail- (Proxy :: Proxy RegisterToWorkMail)--responseListAliases :: ListAliasesResponse -> TestTree-responseListAliases = res- "ListAliasesResponse"- "fixture/ListAliasesResponse.proto"- workMail- (Proxy :: Proxy ListAliases)--responsePutMailboxPermissions :: PutMailboxPermissionsResponse -> TestTree-responsePutMailboxPermissions = res- "PutMailboxPermissionsResponse"- "fixture/PutMailboxPermissionsResponse.proto"- workMail- (Proxy :: Proxy PutMailboxPermissions)--responseDeleteMailboxPermissions :: DeleteMailboxPermissionsResponse -> TestTree-responseDeleteMailboxPermissions = res- "DeleteMailboxPermissionsResponse"- "fixture/DeleteMailboxPermissionsResponse.proto"- workMail- (Proxy :: Proxy DeleteMailboxPermissions)--responseListUsers :: ListUsersResponse -> TestTree-responseListUsers = res- "ListUsersResponse"- "fixture/ListUsersResponse.proto"- workMail- (Proxy :: Proxy ListUsers)--responseAssociateMemberToGroup :: AssociateMemberToGroupResponse -> TestTree-responseAssociateMemberToGroup = res- "AssociateMemberToGroupResponse"- "fixture/AssociateMemberToGroupResponse.proto"- workMail- (Proxy :: Proxy AssociateMemberToGroup)--responseDeleteResource :: DeleteResourceResponse -> TestTree-responseDeleteResource = res- "DeleteResourceResponse"- "fixture/DeleteResourceResponse.proto"- workMail- (Proxy :: Proxy DeleteResource)--responseUpdateResource :: UpdateResourceResponse -> TestTree-responseUpdateResource = res- "UpdateResourceResponse"- "fixture/UpdateResourceResponse.proto"- workMail- (Proxy :: Proxy UpdateResource)--responseDisassociateMemberFromGroup :: DisassociateMemberFromGroupResponse -> TestTree-responseDisassociateMemberFromGroup = res- "DisassociateMemberFromGroupResponse"- "fixture/DisassociateMemberFromGroupResponse.proto"- workMail- (Proxy :: Proxy DisassociateMemberFromGroup)--responseListResources :: ListResourcesResponse -> TestTree-responseListResources = res- "ListResourcesResponse"- "fixture/ListResourcesResponse.proto"- workMail- (Proxy :: Proxy ListResources)--responseDeregisterFromWorkMail :: DeregisterFromWorkMailResponse -> TestTree-responseDeregisterFromWorkMail = res- "DeregisterFromWorkMailResponse"- "fixture/DeregisterFromWorkMailResponse.proto"- workMail- (Proxy :: Proxy DeregisterFromWorkMail)--responseListMailboxPermissions :: ListMailboxPermissionsResponse -> TestTree-responseListMailboxPermissions = res- "ListMailboxPermissionsResponse"- "fixture/ListMailboxPermissionsResponse.proto"- workMail- (Proxy :: Proxy ListMailboxPermissions)--responseListGroupMembers :: ListGroupMembersResponse -> TestTree-responseListGroupMembers = res- "ListGroupMembersResponse"- "fixture/ListGroupMembersResponse.proto"- workMail- (Proxy :: Proxy ListGroupMembers)--responseDisassociateDelegateFromResource :: DisassociateDelegateFromResourceResponse -> TestTree-responseDisassociateDelegateFromResource = res- "DisassociateDelegateFromResourceResponse"- "fixture/DisassociateDelegateFromResourceResponse.proto"- workMail- (Proxy :: Proxy DisassociateDelegateFromResource)--responseListResourceDelegates :: ListResourceDelegatesResponse -> TestTree-responseListResourceDelegates = res- "ListResourceDelegatesResponse"- "fixture/ListResourceDelegatesResponse.proto"- workMail- (Proxy :: Proxy ListResourceDelegates)--responseDescribeUser :: DescribeUserResponse -> TestTree-responseDescribeUser = res- "DescribeUserResponse"- "fixture/DescribeUserResponse.proto"- workMail- (Proxy :: Proxy DescribeUser)--responseDeleteAlias :: DeleteAliasResponse -> TestTree-responseDeleteAlias = res- "DeleteAliasResponse"- "fixture/DeleteAliasResponse.proto"- workMail- (Proxy :: Proxy DeleteAlias)--responseListOrganizations :: ListOrganizationsResponse -> TestTree-responseListOrganizations = res- "ListOrganizationsResponse"- "fixture/ListOrganizationsResponse.proto"- workMail- (Proxy :: Proxy ListOrganizations)--responseAssociateDelegateToResource :: AssociateDelegateToResourceResponse -> TestTree-responseAssociateDelegateToResource = res- "AssociateDelegateToResourceResponse"- "fixture/AssociateDelegateToResourceResponse.proto"- workMail- (Proxy :: Proxy AssociateDelegateToResource)--responseCreateUser :: CreateUserResponse -> TestTree-responseCreateUser = res- "CreateUserResponse"- "fixture/CreateUserResponse.proto"- workMail- (Proxy :: Proxy CreateUser)--responseDeleteUser :: DeleteUserResponse -> TestTree-responseDeleteUser = res- "DeleteUserResponse"- "fixture/DeleteUserResponse.proto"- workMail- (Proxy :: Proxy DeleteUser)--responseCreateGroup :: CreateGroupResponse -> TestTree-responseCreateGroup = res- "CreateGroupResponse"- "fixture/CreateGroupResponse.proto"- workMail- (Proxy :: Proxy CreateGroup)--responseDeleteGroup :: DeleteGroupResponse -> TestTree-responseDeleteGroup = res- "DeleteGroupResponse"- "fixture/DeleteGroupResponse.proto"- workMail- (Proxy :: Proxy DeleteGroup)--responseListGroups :: ListGroupsResponse -> TestTree-responseListGroups = res- "ListGroupsResponse"- "fixture/ListGroupsResponse.proto"- workMail- (Proxy :: Proxy ListGroups)--responseDescribeOrganization :: DescribeOrganizationResponse -> TestTree-responseDescribeOrganization = res- "DescribeOrganizationResponse"- "fixture/DescribeOrganizationResponse.proto"- workMail- (Proxy :: Proxy DescribeOrganization)--responseCreateResource :: CreateResourceResponse -> TestTree-responseCreateResource = res- "CreateResourceResponse"- "fixture/CreateResourceResponse.proto"- workMail- (Proxy :: Proxy CreateResource)
− test/Test/AWS/WorkMail.hs
@@ -1,20 +0,0 @@--- |--- Module : Test.AWS.WorkMail--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.WorkMail- ( tests- , fixtures- ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/WorkMail/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module : Test.AWS.WorkMail.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.WorkMail.Internal where
+ test/Test/Amazonka/Gen/WorkMail.hs view
@@ -0,0 +1,1638 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.WorkMail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.WorkMail where++import Amazonka.WorkMail+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Amazonka.WorkMail.Internal+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestAssociateDelegateToResource $+-- newAssociateDelegateToResource+--+-- , requestAssociateMemberToGroup $+-- newAssociateMemberToGroup+--+-- , requestAssumeImpersonationRole $+-- newAssumeImpersonationRole+--+-- , requestCancelMailboxExportJob $+-- newCancelMailboxExportJob+--+-- , requestCreateAlias $+-- newCreateAlias+--+-- , requestCreateAvailabilityConfiguration $+-- newCreateAvailabilityConfiguration+--+-- , requestCreateGroup $+-- newCreateGroup+--+-- , requestCreateImpersonationRole $+-- newCreateImpersonationRole+--+-- , requestCreateMobileDeviceAccessRule $+-- newCreateMobileDeviceAccessRule+--+-- , requestCreateOrganization $+-- newCreateOrganization+--+-- , requestCreateResource $+-- newCreateResource+--+-- , requestCreateUser $+-- newCreateUser+--+-- , requestDeleteAccessControlRule $+-- newDeleteAccessControlRule+--+-- , requestDeleteAlias $+-- newDeleteAlias+--+-- , requestDeleteAvailabilityConfiguration $+-- newDeleteAvailabilityConfiguration+--+-- , requestDeleteEmailMonitoringConfiguration $+-- newDeleteEmailMonitoringConfiguration+--+-- , requestDeleteGroup $+-- newDeleteGroup+--+-- , requestDeleteImpersonationRole $+-- newDeleteImpersonationRole+--+-- , requestDeleteMailboxPermissions $+-- newDeleteMailboxPermissions+--+-- , requestDeleteMobileDeviceAccessOverride $+-- newDeleteMobileDeviceAccessOverride+--+-- , requestDeleteMobileDeviceAccessRule $+-- newDeleteMobileDeviceAccessRule+--+-- , requestDeleteOrganization $+-- newDeleteOrganization+--+-- , requestDeleteResource $+-- newDeleteResource+--+-- , requestDeleteRetentionPolicy $+-- newDeleteRetentionPolicy+--+-- , requestDeleteUser $+-- newDeleteUser+--+-- , requestDeregisterFromWorkMail $+-- newDeregisterFromWorkMail+--+-- , requestDeregisterMailDomain $+-- newDeregisterMailDomain+--+-- , requestDescribeEmailMonitoringConfiguration $+-- newDescribeEmailMonitoringConfiguration+--+-- , requestDescribeGroup $+-- newDescribeGroup+--+-- , requestDescribeInboundDmarcSettings $+-- newDescribeInboundDmarcSettings+--+-- , requestDescribeMailboxExportJob $+-- newDescribeMailboxExportJob+--+-- , requestDescribeOrganization $+-- newDescribeOrganization+--+-- , requestDescribeResource $+-- newDescribeResource+--+-- , requestDescribeUser $+-- newDescribeUser+--+-- , requestDisassociateDelegateFromResource $+-- newDisassociateDelegateFromResource+--+-- , requestDisassociateMemberFromGroup $+-- newDisassociateMemberFromGroup+--+-- , requestGetAccessControlEffect $+-- newGetAccessControlEffect+--+-- , requestGetDefaultRetentionPolicy $+-- newGetDefaultRetentionPolicy+--+-- , requestGetImpersonationRole $+-- newGetImpersonationRole+--+-- , requestGetImpersonationRoleEffect $+-- newGetImpersonationRoleEffect+--+-- , requestGetMailDomain $+-- newGetMailDomain+--+-- , requestGetMailboxDetails $+-- newGetMailboxDetails+--+-- , requestGetMobileDeviceAccessEffect $+-- newGetMobileDeviceAccessEffect+--+-- , requestGetMobileDeviceAccessOverride $+-- newGetMobileDeviceAccessOverride+--+-- , requestListAccessControlRules $+-- newListAccessControlRules+--+-- , requestListAliases $+-- newListAliases+--+-- , requestListAvailabilityConfigurations $+-- newListAvailabilityConfigurations+--+-- , requestListGroupMembers $+-- newListGroupMembers+--+-- , requestListGroups $+-- newListGroups+--+-- , requestListImpersonationRoles $+-- newListImpersonationRoles+--+-- , requestListMailDomains $+-- newListMailDomains+--+-- , requestListMailboxExportJobs $+-- newListMailboxExportJobs+--+-- , requestListMailboxPermissions $+-- newListMailboxPermissions+--+-- , requestListMobileDeviceAccessOverrides $+-- newListMobileDeviceAccessOverrides+--+-- , requestListMobileDeviceAccessRules $+-- newListMobileDeviceAccessRules+--+-- , requestListOrganizations $+-- newListOrganizations+--+-- , requestListResourceDelegates $+-- newListResourceDelegates+--+-- , requestListResources $+-- newListResources+--+-- , requestListTagsForResource $+-- newListTagsForResource+--+-- , requestListUsers $+-- newListUsers+--+-- , requestPutAccessControlRule $+-- newPutAccessControlRule+--+-- , requestPutEmailMonitoringConfiguration $+-- newPutEmailMonitoringConfiguration+--+-- , requestPutInboundDmarcSettings $+-- newPutInboundDmarcSettings+--+-- , requestPutMailboxPermissions $+-- newPutMailboxPermissions+--+-- , requestPutMobileDeviceAccessOverride $+-- newPutMobileDeviceAccessOverride+--+-- , requestPutRetentionPolicy $+-- newPutRetentionPolicy+--+-- , requestRegisterMailDomain $+-- newRegisterMailDomain+--+-- , requestRegisterToWorkMail $+-- newRegisterToWorkMail+--+-- , requestResetPassword $+-- newResetPassword+--+-- , requestStartMailboxExportJob $+-- newStartMailboxExportJob+--+-- , requestTagResource $+-- newTagResource+--+-- , requestTestAvailabilityConfiguration $+-- newTestAvailabilityConfiguration+--+-- , requestUntagResource $+-- newUntagResource+--+-- , requestUpdateAvailabilityConfiguration $+-- newUpdateAvailabilityConfiguration+--+-- , requestUpdateDefaultMailDomain $+-- newUpdateDefaultMailDomain+--+-- , requestUpdateImpersonationRole $+-- newUpdateImpersonationRole+--+-- , requestUpdateMailboxQuota $+-- newUpdateMailboxQuota+--+-- , requestUpdateMobileDeviceAccessRule $+-- newUpdateMobileDeviceAccessRule+--+-- , requestUpdatePrimaryEmailAddress $+-- newUpdatePrimaryEmailAddress+--+-- , requestUpdateResource $+-- newUpdateResource+--+-- ]++-- , testGroup "response"+-- [ responseAssociateDelegateToResource $+-- newAssociateDelegateToResourceResponse+--+-- , responseAssociateMemberToGroup $+-- newAssociateMemberToGroupResponse+--+-- , responseAssumeImpersonationRole $+-- newAssumeImpersonationRoleResponse+--+-- , responseCancelMailboxExportJob $+-- newCancelMailboxExportJobResponse+--+-- , responseCreateAlias $+-- newCreateAliasResponse+--+-- , responseCreateAvailabilityConfiguration $+-- newCreateAvailabilityConfigurationResponse+--+-- , responseCreateGroup $+-- newCreateGroupResponse+--+-- , responseCreateImpersonationRole $+-- newCreateImpersonationRoleResponse+--+-- , responseCreateMobileDeviceAccessRule $+-- newCreateMobileDeviceAccessRuleResponse+--+-- , responseCreateOrganization $+-- newCreateOrganizationResponse+--+-- , responseCreateResource $+-- newCreateResourceResponse+--+-- , responseCreateUser $+-- newCreateUserResponse+--+-- , responseDeleteAccessControlRule $+-- newDeleteAccessControlRuleResponse+--+-- , responseDeleteAlias $+-- newDeleteAliasResponse+--+-- , responseDeleteAvailabilityConfiguration $+-- newDeleteAvailabilityConfigurationResponse+--+-- , responseDeleteEmailMonitoringConfiguration $+-- newDeleteEmailMonitoringConfigurationResponse+--+-- , responseDeleteGroup $+-- newDeleteGroupResponse+--+-- , responseDeleteImpersonationRole $+-- newDeleteImpersonationRoleResponse+--+-- , responseDeleteMailboxPermissions $+-- newDeleteMailboxPermissionsResponse+--+-- , responseDeleteMobileDeviceAccessOverride $+-- newDeleteMobileDeviceAccessOverrideResponse+--+-- , responseDeleteMobileDeviceAccessRule $+-- newDeleteMobileDeviceAccessRuleResponse+--+-- , responseDeleteOrganization $+-- newDeleteOrganizationResponse+--+-- , responseDeleteResource $+-- newDeleteResourceResponse+--+-- , responseDeleteRetentionPolicy $+-- newDeleteRetentionPolicyResponse+--+-- , responseDeleteUser $+-- newDeleteUserResponse+--+-- , responseDeregisterFromWorkMail $+-- newDeregisterFromWorkMailResponse+--+-- , responseDeregisterMailDomain $+-- newDeregisterMailDomainResponse+--+-- , responseDescribeEmailMonitoringConfiguration $+-- newDescribeEmailMonitoringConfigurationResponse+--+-- , responseDescribeGroup $+-- newDescribeGroupResponse+--+-- , responseDescribeInboundDmarcSettings $+-- newDescribeInboundDmarcSettingsResponse+--+-- , responseDescribeMailboxExportJob $+-- newDescribeMailboxExportJobResponse+--+-- , responseDescribeOrganization $+-- newDescribeOrganizationResponse+--+-- , responseDescribeResource $+-- newDescribeResourceResponse+--+-- , responseDescribeUser $+-- newDescribeUserResponse+--+-- , responseDisassociateDelegateFromResource $+-- newDisassociateDelegateFromResourceResponse+--+-- , responseDisassociateMemberFromGroup $+-- newDisassociateMemberFromGroupResponse+--+-- , responseGetAccessControlEffect $+-- newGetAccessControlEffectResponse+--+-- , responseGetDefaultRetentionPolicy $+-- newGetDefaultRetentionPolicyResponse+--+-- , responseGetImpersonationRole $+-- newGetImpersonationRoleResponse+--+-- , responseGetImpersonationRoleEffect $+-- newGetImpersonationRoleEffectResponse+--+-- , responseGetMailDomain $+-- newGetMailDomainResponse+--+-- , responseGetMailboxDetails $+-- newGetMailboxDetailsResponse+--+-- , responseGetMobileDeviceAccessEffect $+-- newGetMobileDeviceAccessEffectResponse+--+-- , responseGetMobileDeviceAccessOverride $+-- newGetMobileDeviceAccessOverrideResponse+--+-- , responseListAccessControlRules $+-- newListAccessControlRulesResponse+--+-- , responseListAliases $+-- newListAliasesResponse+--+-- , responseListAvailabilityConfigurations $+-- newListAvailabilityConfigurationsResponse+--+-- , responseListGroupMembers $+-- newListGroupMembersResponse+--+-- , responseListGroups $+-- newListGroupsResponse+--+-- , responseListImpersonationRoles $+-- newListImpersonationRolesResponse+--+-- , responseListMailDomains $+-- newListMailDomainsResponse+--+-- , responseListMailboxExportJobs $+-- newListMailboxExportJobsResponse+--+-- , responseListMailboxPermissions $+-- newListMailboxPermissionsResponse+--+-- , responseListMobileDeviceAccessOverrides $+-- newListMobileDeviceAccessOverridesResponse+--+-- , responseListMobileDeviceAccessRules $+-- newListMobileDeviceAccessRulesResponse+--+-- , responseListOrganizations $+-- newListOrganizationsResponse+--+-- , responseListResourceDelegates $+-- newListResourceDelegatesResponse+--+-- , responseListResources $+-- newListResourcesResponse+--+-- , responseListTagsForResource $+-- newListTagsForResourceResponse+--+-- , responseListUsers $+-- newListUsersResponse+--+-- , responsePutAccessControlRule $+-- newPutAccessControlRuleResponse+--+-- , responsePutEmailMonitoringConfiguration $+-- newPutEmailMonitoringConfigurationResponse+--+-- , responsePutInboundDmarcSettings $+-- newPutInboundDmarcSettingsResponse+--+-- , responsePutMailboxPermissions $+-- newPutMailboxPermissionsResponse+--+-- , responsePutMobileDeviceAccessOverride $+-- newPutMobileDeviceAccessOverrideResponse+--+-- , responsePutRetentionPolicy $+-- newPutRetentionPolicyResponse+--+-- , responseRegisterMailDomain $+-- newRegisterMailDomainResponse+--+-- , responseRegisterToWorkMail $+-- newRegisterToWorkMailResponse+--+-- , responseResetPassword $+-- newResetPasswordResponse+--+-- , responseStartMailboxExportJob $+-- newStartMailboxExportJobResponse+--+-- , responseTagResource $+-- newTagResourceResponse+--+-- , responseTestAvailabilityConfiguration $+-- newTestAvailabilityConfigurationResponse+--+-- , responseUntagResource $+-- newUntagResourceResponse+--+-- , responseUpdateAvailabilityConfiguration $+-- newUpdateAvailabilityConfigurationResponse+--+-- , responseUpdateDefaultMailDomain $+-- newUpdateDefaultMailDomainResponse+--+-- , responseUpdateImpersonationRole $+-- newUpdateImpersonationRoleResponse+--+-- , responseUpdateMailboxQuota $+-- newUpdateMailboxQuotaResponse+--+-- , responseUpdateMobileDeviceAccessRule $+-- newUpdateMobileDeviceAccessRuleResponse+--+-- , responseUpdatePrimaryEmailAddress $+-- newUpdatePrimaryEmailAddressResponse+--+-- , responseUpdateResource $+-- newUpdateResourceResponse+--+-- ]+-- ]++-- Requests++requestAssociateDelegateToResource :: AssociateDelegateToResource -> TestTree+requestAssociateDelegateToResource =+ req+ "AssociateDelegateToResource"+ "fixture/AssociateDelegateToResource.yaml"++requestAssociateMemberToGroup :: AssociateMemberToGroup -> TestTree+requestAssociateMemberToGroup =+ req+ "AssociateMemberToGroup"+ "fixture/AssociateMemberToGroup.yaml"++requestAssumeImpersonationRole :: AssumeImpersonationRole -> TestTree+requestAssumeImpersonationRole =+ req+ "AssumeImpersonationRole"+ "fixture/AssumeImpersonationRole.yaml"++requestCancelMailboxExportJob :: CancelMailboxExportJob -> TestTree+requestCancelMailboxExportJob =+ req+ "CancelMailboxExportJob"+ "fixture/CancelMailboxExportJob.yaml"++requestCreateAlias :: CreateAlias -> TestTree+requestCreateAlias =+ req+ "CreateAlias"+ "fixture/CreateAlias.yaml"++requestCreateAvailabilityConfiguration :: CreateAvailabilityConfiguration -> TestTree+requestCreateAvailabilityConfiguration =+ req+ "CreateAvailabilityConfiguration"+ "fixture/CreateAvailabilityConfiguration.yaml"++requestCreateGroup :: CreateGroup -> TestTree+requestCreateGroup =+ req+ "CreateGroup"+ "fixture/CreateGroup.yaml"++requestCreateImpersonationRole :: CreateImpersonationRole -> TestTree+requestCreateImpersonationRole =+ req+ "CreateImpersonationRole"+ "fixture/CreateImpersonationRole.yaml"++requestCreateMobileDeviceAccessRule :: CreateMobileDeviceAccessRule -> TestTree+requestCreateMobileDeviceAccessRule =+ req+ "CreateMobileDeviceAccessRule"+ "fixture/CreateMobileDeviceAccessRule.yaml"++requestCreateOrganization :: CreateOrganization -> TestTree+requestCreateOrganization =+ req+ "CreateOrganization"+ "fixture/CreateOrganization.yaml"++requestCreateResource :: CreateResource -> TestTree+requestCreateResource =+ req+ "CreateResource"+ "fixture/CreateResource.yaml"++requestCreateUser :: CreateUser -> TestTree+requestCreateUser =+ req+ "CreateUser"+ "fixture/CreateUser.yaml"++requestDeleteAccessControlRule :: DeleteAccessControlRule -> TestTree+requestDeleteAccessControlRule =+ req+ "DeleteAccessControlRule"+ "fixture/DeleteAccessControlRule.yaml"++requestDeleteAlias :: DeleteAlias -> TestTree+requestDeleteAlias =+ req+ "DeleteAlias"+ "fixture/DeleteAlias.yaml"++requestDeleteAvailabilityConfiguration :: DeleteAvailabilityConfiguration -> TestTree+requestDeleteAvailabilityConfiguration =+ req+ "DeleteAvailabilityConfiguration"+ "fixture/DeleteAvailabilityConfiguration.yaml"++requestDeleteEmailMonitoringConfiguration :: DeleteEmailMonitoringConfiguration -> TestTree+requestDeleteEmailMonitoringConfiguration =+ req+ "DeleteEmailMonitoringConfiguration"+ "fixture/DeleteEmailMonitoringConfiguration.yaml"++requestDeleteGroup :: DeleteGroup -> TestTree+requestDeleteGroup =+ req+ "DeleteGroup"+ "fixture/DeleteGroup.yaml"++requestDeleteImpersonationRole :: DeleteImpersonationRole -> TestTree+requestDeleteImpersonationRole =+ req+ "DeleteImpersonationRole"+ "fixture/DeleteImpersonationRole.yaml"++requestDeleteMailboxPermissions :: DeleteMailboxPermissions -> TestTree+requestDeleteMailboxPermissions =+ req+ "DeleteMailboxPermissions"+ "fixture/DeleteMailboxPermissions.yaml"++requestDeleteMobileDeviceAccessOverride :: DeleteMobileDeviceAccessOverride -> TestTree+requestDeleteMobileDeviceAccessOverride =+ req+ "DeleteMobileDeviceAccessOverride"+ "fixture/DeleteMobileDeviceAccessOverride.yaml"++requestDeleteMobileDeviceAccessRule :: DeleteMobileDeviceAccessRule -> TestTree+requestDeleteMobileDeviceAccessRule =+ req+ "DeleteMobileDeviceAccessRule"+ "fixture/DeleteMobileDeviceAccessRule.yaml"++requestDeleteOrganization :: DeleteOrganization -> TestTree+requestDeleteOrganization =+ req+ "DeleteOrganization"+ "fixture/DeleteOrganization.yaml"++requestDeleteResource :: DeleteResource -> TestTree+requestDeleteResource =+ req+ "DeleteResource"+ "fixture/DeleteResource.yaml"++requestDeleteRetentionPolicy :: DeleteRetentionPolicy -> TestTree+requestDeleteRetentionPolicy =+ req+ "DeleteRetentionPolicy"+ "fixture/DeleteRetentionPolicy.yaml"++requestDeleteUser :: DeleteUser -> TestTree+requestDeleteUser =+ req+ "DeleteUser"+ "fixture/DeleteUser.yaml"++requestDeregisterFromWorkMail :: DeregisterFromWorkMail -> TestTree+requestDeregisterFromWorkMail =+ req+ "DeregisterFromWorkMail"+ "fixture/DeregisterFromWorkMail.yaml"++requestDeregisterMailDomain :: DeregisterMailDomain -> TestTree+requestDeregisterMailDomain =+ req+ "DeregisterMailDomain"+ "fixture/DeregisterMailDomain.yaml"++requestDescribeEmailMonitoringConfiguration :: DescribeEmailMonitoringConfiguration -> TestTree+requestDescribeEmailMonitoringConfiguration =+ req+ "DescribeEmailMonitoringConfiguration"+ "fixture/DescribeEmailMonitoringConfiguration.yaml"++requestDescribeGroup :: DescribeGroup -> TestTree+requestDescribeGroup =+ req+ "DescribeGroup"+ "fixture/DescribeGroup.yaml"++requestDescribeInboundDmarcSettings :: DescribeInboundDmarcSettings -> TestTree+requestDescribeInboundDmarcSettings =+ req+ "DescribeInboundDmarcSettings"+ "fixture/DescribeInboundDmarcSettings.yaml"++requestDescribeMailboxExportJob :: DescribeMailboxExportJob -> TestTree+requestDescribeMailboxExportJob =+ req+ "DescribeMailboxExportJob"+ "fixture/DescribeMailboxExportJob.yaml"++requestDescribeOrganization :: DescribeOrganization -> TestTree+requestDescribeOrganization =+ req+ "DescribeOrganization"+ "fixture/DescribeOrganization.yaml"++requestDescribeResource :: DescribeResource -> TestTree+requestDescribeResource =+ req+ "DescribeResource"+ "fixture/DescribeResource.yaml"++requestDescribeUser :: DescribeUser -> TestTree+requestDescribeUser =+ req+ "DescribeUser"+ "fixture/DescribeUser.yaml"++requestDisassociateDelegateFromResource :: DisassociateDelegateFromResource -> TestTree+requestDisassociateDelegateFromResource =+ req+ "DisassociateDelegateFromResource"+ "fixture/DisassociateDelegateFromResource.yaml"++requestDisassociateMemberFromGroup :: DisassociateMemberFromGroup -> TestTree+requestDisassociateMemberFromGroup =+ req+ "DisassociateMemberFromGroup"+ "fixture/DisassociateMemberFromGroup.yaml"++requestGetAccessControlEffect :: GetAccessControlEffect -> TestTree+requestGetAccessControlEffect =+ req+ "GetAccessControlEffect"+ "fixture/GetAccessControlEffect.yaml"++requestGetDefaultRetentionPolicy :: GetDefaultRetentionPolicy -> TestTree+requestGetDefaultRetentionPolicy =+ req+ "GetDefaultRetentionPolicy"+ "fixture/GetDefaultRetentionPolicy.yaml"++requestGetImpersonationRole :: GetImpersonationRole -> TestTree+requestGetImpersonationRole =+ req+ "GetImpersonationRole"+ "fixture/GetImpersonationRole.yaml"++requestGetImpersonationRoleEffect :: GetImpersonationRoleEffect -> TestTree+requestGetImpersonationRoleEffect =+ req+ "GetImpersonationRoleEffect"+ "fixture/GetImpersonationRoleEffect.yaml"++requestGetMailDomain :: GetMailDomain -> TestTree+requestGetMailDomain =+ req+ "GetMailDomain"+ "fixture/GetMailDomain.yaml"++requestGetMailboxDetails :: GetMailboxDetails -> TestTree+requestGetMailboxDetails =+ req+ "GetMailboxDetails"+ "fixture/GetMailboxDetails.yaml"++requestGetMobileDeviceAccessEffect :: GetMobileDeviceAccessEffect -> TestTree+requestGetMobileDeviceAccessEffect =+ req+ "GetMobileDeviceAccessEffect"+ "fixture/GetMobileDeviceAccessEffect.yaml"++requestGetMobileDeviceAccessOverride :: GetMobileDeviceAccessOverride -> TestTree+requestGetMobileDeviceAccessOverride =+ req+ "GetMobileDeviceAccessOverride"+ "fixture/GetMobileDeviceAccessOverride.yaml"++requestListAccessControlRules :: ListAccessControlRules -> TestTree+requestListAccessControlRules =+ req+ "ListAccessControlRules"+ "fixture/ListAccessControlRules.yaml"++requestListAliases :: ListAliases -> TestTree+requestListAliases =+ req+ "ListAliases"+ "fixture/ListAliases.yaml"++requestListAvailabilityConfigurations :: ListAvailabilityConfigurations -> TestTree+requestListAvailabilityConfigurations =+ req+ "ListAvailabilityConfigurations"+ "fixture/ListAvailabilityConfigurations.yaml"++requestListGroupMembers :: ListGroupMembers -> TestTree+requestListGroupMembers =+ req+ "ListGroupMembers"+ "fixture/ListGroupMembers.yaml"++requestListGroups :: ListGroups -> TestTree+requestListGroups =+ req+ "ListGroups"+ "fixture/ListGroups.yaml"++requestListImpersonationRoles :: ListImpersonationRoles -> TestTree+requestListImpersonationRoles =+ req+ "ListImpersonationRoles"+ "fixture/ListImpersonationRoles.yaml"++requestListMailDomains :: ListMailDomains -> TestTree+requestListMailDomains =+ req+ "ListMailDomains"+ "fixture/ListMailDomains.yaml"++requestListMailboxExportJobs :: ListMailboxExportJobs -> TestTree+requestListMailboxExportJobs =+ req+ "ListMailboxExportJobs"+ "fixture/ListMailboxExportJobs.yaml"++requestListMailboxPermissions :: ListMailboxPermissions -> TestTree+requestListMailboxPermissions =+ req+ "ListMailboxPermissions"+ "fixture/ListMailboxPermissions.yaml"++requestListMobileDeviceAccessOverrides :: ListMobileDeviceAccessOverrides -> TestTree+requestListMobileDeviceAccessOverrides =+ req+ "ListMobileDeviceAccessOverrides"+ "fixture/ListMobileDeviceAccessOverrides.yaml"++requestListMobileDeviceAccessRules :: ListMobileDeviceAccessRules -> TestTree+requestListMobileDeviceAccessRules =+ req+ "ListMobileDeviceAccessRules"+ "fixture/ListMobileDeviceAccessRules.yaml"++requestListOrganizations :: ListOrganizations -> TestTree+requestListOrganizations =+ req+ "ListOrganizations"+ "fixture/ListOrganizations.yaml"++requestListResourceDelegates :: ListResourceDelegates -> TestTree+requestListResourceDelegates =+ req+ "ListResourceDelegates"+ "fixture/ListResourceDelegates.yaml"++requestListResources :: ListResources -> TestTree+requestListResources =+ req+ "ListResources"+ "fixture/ListResources.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+ req+ "ListTagsForResource"+ "fixture/ListTagsForResource.yaml"++requestListUsers :: ListUsers -> TestTree+requestListUsers =+ req+ "ListUsers"+ "fixture/ListUsers.yaml"++requestPutAccessControlRule :: PutAccessControlRule -> TestTree+requestPutAccessControlRule =+ req+ "PutAccessControlRule"+ "fixture/PutAccessControlRule.yaml"++requestPutEmailMonitoringConfiguration :: PutEmailMonitoringConfiguration -> TestTree+requestPutEmailMonitoringConfiguration =+ req+ "PutEmailMonitoringConfiguration"+ "fixture/PutEmailMonitoringConfiguration.yaml"++requestPutInboundDmarcSettings :: PutInboundDmarcSettings -> TestTree+requestPutInboundDmarcSettings =+ req+ "PutInboundDmarcSettings"+ "fixture/PutInboundDmarcSettings.yaml"++requestPutMailboxPermissions :: PutMailboxPermissions -> TestTree+requestPutMailboxPermissions =+ req+ "PutMailboxPermissions"+ "fixture/PutMailboxPermissions.yaml"++requestPutMobileDeviceAccessOverride :: PutMobileDeviceAccessOverride -> TestTree+requestPutMobileDeviceAccessOverride =+ req+ "PutMobileDeviceAccessOverride"+ "fixture/PutMobileDeviceAccessOverride.yaml"++requestPutRetentionPolicy :: PutRetentionPolicy -> TestTree+requestPutRetentionPolicy =+ req+ "PutRetentionPolicy"+ "fixture/PutRetentionPolicy.yaml"++requestRegisterMailDomain :: RegisterMailDomain -> TestTree+requestRegisterMailDomain =+ req+ "RegisterMailDomain"+ "fixture/RegisterMailDomain.yaml"++requestRegisterToWorkMail :: RegisterToWorkMail -> TestTree+requestRegisterToWorkMail =+ req+ "RegisterToWorkMail"+ "fixture/RegisterToWorkMail.yaml"++requestResetPassword :: ResetPassword -> TestTree+requestResetPassword =+ req+ "ResetPassword"+ "fixture/ResetPassword.yaml"++requestStartMailboxExportJob :: StartMailboxExportJob -> TestTree+requestStartMailboxExportJob =+ req+ "StartMailboxExportJob"+ "fixture/StartMailboxExportJob.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+ req+ "TagResource"+ "fixture/TagResource.yaml"++requestTestAvailabilityConfiguration :: TestAvailabilityConfiguration -> TestTree+requestTestAvailabilityConfiguration =+ req+ "TestAvailabilityConfiguration"+ "fixture/TestAvailabilityConfiguration.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+ req+ "UntagResource"+ "fixture/UntagResource.yaml"++requestUpdateAvailabilityConfiguration :: UpdateAvailabilityConfiguration -> TestTree+requestUpdateAvailabilityConfiguration =+ req+ "UpdateAvailabilityConfiguration"+ "fixture/UpdateAvailabilityConfiguration.yaml"++requestUpdateDefaultMailDomain :: UpdateDefaultMailDomain -> TestTree+requestUpdateDefaultMailDomain =+ req+ "UpdateDefaultMailDomain"+ "fixture/UpdateDefaultMailDomain.yaml"++requestUpdateImpersonationRole :: UpdateImpersonationRole -> TestTree+requestUpdateImpersonationRole =+ req+ "UpdateImpersonationRole"+ "fixture/UpdateImpersonationRole.yaml"++requestUpdateMailboxQuota :: UpdateMailboxQuota -> TestTree+requestUpdateMailboxQuota =+ req+ "UpdateMailboxQuota"+ "fixture/UpdateMailboxQuota.yaml"++requestUpdateMobileDeviceAccessRule :: UpdateMobileDeviceAccessRule -> TestTree+requestUpdateMobileDeviceAccessRule =+ req+ "UpdateMobileDeviceAccessRule"+ "fixture/UpdateMobileDeviceAccessRule.yaml"++requestUpdatePrimaryEmailAddress :: UpdatePrimaryEmailAddress -> TestTree+requestUpdatePrimaryEmailAddress =+ req+ "UpdatePrimaryEmailAddress"+ "fixture/UpdatePrimaryEmailAddress.yaml"++requestUpdateResource :: UpdateResource -> TestTree+requestUpdateResource =+ req+ "UpdateResource"+ "fixture/UpdateResource.yaml"++-- Responses++responseAssociateDelegateToResource :: AssociateDelegateToResourceResponse -> TestTree+responseAssociateDelegateToResource =+ res+ "AssociateDelegateToResourceResponse"+ "fixture/AssociateDelegateToResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy AssociateDelegateToResource)++responseAssociateMemberToGroup :: AssociateMemberToGroupResponse -> TestTree+responseAssociateMemberToGroup =+ res+ "AssociateMemberToGroupResponse"+ "fixture/AssociateMemberToGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy AssociateMemberToGroup)++responseAssumeImpersonationRole :: AssumeImpersonationRoleResponse -> TestTree+responseAssumeImpersonationRole =+ res+ "AssumeImpersonationRoleResponse"+ "fixture/AssumeImpersonationRoleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy AssumeImpersonationRole)++responseCancelMailboxExportJob :: CancelMailboxExportJobResponse -> TestTree+responseCancelMailboxExportJob =+ res+ "CancelMailboxExportJobResponse"+ "fixture/CancelMailboxExportJobResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CancelMailboxExportJob)++responseCreateAlias :: CreateAliasResponse -> TestTree+responseCreateAlias =+ res+ "CreateAliasResponse"+ "fixture/CreateAliasResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateAlias)++responseCreateAvailabilityConfiguration :: CreateAvailabilityConfigurationResponse -> TestTree+responseCreateAvailabilityConfiguration =+ res+ "CreateAvailabilityConfigurationResponse"+ "fixture/CreateAvailabilityConfigurationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateAvailabilityConfiguration)++responseCreateGroup :: CreateGroupResponse -> TestTree+responseCreateGroup =+ res+ "CreateGroupResponse"+ "fixture/CreateGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateGroup)++responseCreateImpersonationRole :: CreateImpersonationRoleResponse -> TestTree+responseCreateImpersonationRole =+ res+ "CreateImpersonationRoleResponse"+ "fixture/CreateImpersonationRoleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateImpersonationRole)++responseCreateMobileDeviceAccessRule :: CreateMobileDeviceAccessRuleResponse -> TestTree+responseCreateMobileDeviceAccessRule =+ res+ "CreateMobileDeviceAccessRuleResponse"+ "fixture/CreateMobileDeviceAccessRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateMobileDeviceAccessRule)++responseCreateOrganization :: CreateOrganizationResponse -> TestTree+responseCreateOrganization =+ res+ "CreateOrganizationResponse"+ "fixture/CreateOrganizationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateOrganization)++responseCreateResource :: CreateResourceResponse -> TestTree+responseCreateResource =+ res+ "CreateResourceResponse"+ "fixture/CreateResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateResource)++responseCreateUser :: CreateUserResponse -> TestTree+responseCreateUser =+ res+ "CreateUserResponse"+ "fixture/CreateUserResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateUser)++responseDeleteAccessControlRule :: DeleteAccessControlRuleResponse -> TestTree+responseDeleteAccessControlRule =+ res+ "DeleteAccessControlRuleResponse"+ "fixture/DeleteAccessControlRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteAccessControlRule)++responseDeleteAlias :: DeleteAliasResponse -> TestTree+responseDeleteAlias =+ res+ "DeleteAliasResponse"+ "fixture/DeleteAliasResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteAlias)++responseDeleteAvailabilityConfiguration :: DeleteAvailabilityConfigurationResponse -> TestTree+responseDeleteAvailabilityConfiguration =+ res+ "DeleteAvailabilityConfigurationResponse"+ "fixture/DeleteAvailabilityConfigurationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteAvailabilityConfiguration)++responseDeleteEmailMonitoringConfiguration :: DeleteEmailMonitoringConfigurationResponse -> TestTree+responseDeleteEmailMonitoringConfiguration =+ res+ "DeleteEmailMonitoringConfigurationResponse"+ "fixture/DeleteEmailMonitoringConfigurationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteEmailMonitoringConfiguration)++responseDeleteGroup :: DeleteGroupResponse -> TestTree+responseDeleteGroup =+ res+ "DeleteGroupResponse"+ "fixture/DeleteGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteGroup)++responseDeleteImpersonationRole :: DeleteImpersonationRoleResponse -> TestTree+responseDeleteImpersonationRole =+ res+ "DeleteImpersonationRoleResponse"+ "fixture/DeleteImpersonationRoleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteImpersonationRole)++responseDeleteMailboxPermissions :: DeleteMailboxPermissionsResponse -> TestTree+responseDeleteMailboxPermissions =+ res+ "DeleteMailboxPermissionsResponse"+ "fixture/DeleteMailboxPermissionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteMailboxPermissions)++responseDeleteMobileDeviceAccessOverride :: DeleteMobileDeviceAccessOverrideResponse -> TestTree+responseDeleteMobileDeviceAccessOverride =+ res+ "DeleteMobileDeviceAccessOverrideResponse"+ "fixture/DeleteMobileDeviceAccessOverrideResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteMobileDeviceAccessOverride)++responseDeleteMobileDeviceAccessRule :: DeleteMobileDeviceAccessRuleResponse -> TestTree+responseDeleteMobileDeviceAccessRule =+ res+ "DeleteMobileDeviceAccessRuleResponse"+ "fixture/DeleteMobileDeviceAccessRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteMobileDeviceAccessRule)++responseDeleteOrganization :: DeleteOrganizationResponse -> TestTree+responseDeleteOrganization =+ res+ "DeleteOrganizationResponse"+ "fixture/DeleteOrganizationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteOrganization)++responseDeleteResource :: DeleteResourceResponse -> TestTree+responseDeleteResource =+ res+ "DeleteResourceResponse"+ "fixture/DeleteResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteResource)++responseDeleteRetentionPolicy :: DeleteRetentionPolicyResponse -> TestTree+responseDeleteRetentionPolicy =+ res+ "DeleteRetentionPolicyResponse"+ "fixture/DeleteRetentionPolicyResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteRetentionPolicy)++responseDeleteUser :: DeleteUserResponse -> TestTree+responseDeleteUser =+ res+ "DeleteUserResponse"+ "fixture/DeleteUserResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteUser)++responseDeregisterFromWorkMail :: DeregisterFromWorkMailResponse -> TestTree+responseDeregisterFromWorkMail =+ res+ "DeregisterFromWorkMailResponse"+ "fixture/DeregisterFromWorkMailResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeregisterFromWorkMail)++responseDeregisterMailDomain :: DeregisterMailDomainResponse -> TestTree+responseDeregisterMailDomain =+ res+ "DeregisterMailDomainResponse"+ "fixture/DeregisterMailDomainResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeregisterMailDomain)++responseDescribeEmailMonitoringConfiguration :: DescribeEmailMonitoringConfigurationResponse -> TestTree+responseDescribeEmailMonitoringConfiguration =+ res+ "DescribeEmailMonitoringConfigurationResponse"+ "fixture/DescribeEmailMonitoringConfigurationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeEmailMonitoringConfiguration)++responseDescribeGroup :: DescribeGroupResponse -> TestTree+responseDescribeGroup =+ res+ "DescribeGroupResponse"+ "fixture/DescribeGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeGroup)++responseDescribeInboundDmarcSettings :: DescribeInboundDmarcSettingsResponse -> TestTree+responseDescribeInboundDmarcSettings =+ res+ "DescribeInboundDmarcSettingsResponse"+ "fixture/DescribeInboundDmarcSettingsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeInboundDmarcSettings)++responseDescribeMailboxExportJob :: DescribeMailboxExportJobResponse -> TestTree+responseDescribeMailboxExportJob =+ res+ "DescribeMailboxExportJobResponse"+ "fixture/DescribeMailboxExportJobResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeMailboxExportJob)++responseDescribeOrganization :: DescribeOrganizationResponse -> TestTree+responseDescribeOrganization =+ res+ "DescribeOrganizationResponse"+ "fixture/DescribeOrganizationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeOrganization)++responseDescribeResource :: DescribeResourceResponse -> TestTree+responseDescribeResource =+ res+ "DescribeResourceResponse"+ "fixture/DescribeResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeResource)++responseDescribeUser :: DescribeUserResponse -> TestTree+responseDescribeUser =+ res+ "DescribeUserResponse"+ "fixture/DescribeUserResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeUser)++responseDisassociateDelegateFromResource :: DisassociateDelegateFromResourceResponse -> TestTree+responseDisassociateDelegateFromResource =+ res+ "DisassociateDelegateFromResourceResponse"+ "fixture/DisassociateDelegateFromResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DisassociateDelegateFromResource)++responseDisassociateMemberFromGroup :: DisassociateMemberFromGroupResponse -> TestTree+responseDisassociateMemberFromGroup =+ res+ "DisassociateMemberFromGroupResponse"+ "fixture/DisassociateMemberFromGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DisassociateMemberFromGroup)++responseGetAccessControlEffect :: GetAccessControlEffectResponse -> TestTree+responseGetAccessControlEffect =+ res+ "GetAccessControlEffectResponse"+ "fixture/GetAccessControlEffectResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetAccessControlEffect)++responseGetDefaultRetentionPolicy :: GetDefaultRetentionPolicyResponse -> TestTree+responseGetDefaultRetentionPolicy =+ res+ "GetDefaultRetentionPolicyResponse"+ "fixture/GetDefaultRetentionPolicyResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetDefaultRetentionPolicy)++responseGetImpersonationRole :: GetImpersonationRoleResponse -> TestTree+responseGetImpersonationRole =+ res+ "GetImpersonationRoleResponse"+ "fixture/GetImpersonationRoleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetImpersonationRole)++responseGetImpersonationRoleEffect :: GetImpersonationRoleEffectResponse -> TestTree+responseGetImpersonationRoleEffect =+ res+ "GetImpersonationRoleEffectResponse"+ "fixture/GetImpersonationRoleEffectResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetImpersonationRoleEffect)++responseGetMailDomain :: GetMailDomainResponse -> TestTree+responseGetMailDomain =+ res+ "GetMailDomainResponse"+ "fixture/GetMailDomainResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetMailDomain)++responseGetMailboxDetails :: GetMailboxDetailsResponse -> TestTree+responseGetMailboxDetails =+ res+ "GetMailboxDetailsResponse"+ "fixture/GetMailboxDetailsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetMailboxDetails)++responseGetMobileDeviceAccessEffect :: GetMobileDeviceAccessEffectResponse -> TestTree+responseGetMobileDeviceAccessEffect =+ res+ "GetMobileDeviceAccessEffectResponse"+ "fixture/GetMobileDeviceAccessEffectResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetMobileDeviceAccessEffect)++responseGetMobileDeviceAccessOverride :: GetMobileDeviceAccessOverrideResponse -> TestTree+responseGetMobileDeviceAccessOverride =+ res+ "GetMobileDeviceAccessOverrideResponse"+ "fixture/GetMobileDeviceAccessOverrideResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetMobileDeviceAccessOverride)++responseListAccessControlRules :: ListAccessControlRulesResponse -> TestTree+responseListAccessControlRules =+ res+ "ListAccessControlRulesResponse"+ "fixture/ListAccessControlRulesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListAccessControlRules)++responseListAliases :: ListAliasesResponse -> TestTree+responseListAliases =+ res+ "ListAliasesResponse"+ "fixture/ListAliasesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListAliases)++responseListAvailabilityConfigurations :: ListAvailabilityConfigurationsResponse -> TestTree+responseListAvailabilityConfigurations =+ res+ "ListAvailabilityConfigurationsResponse"+ "fixture/ListAvailabilityConfigurationsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListAvailabilityConfigurations)++responseListGroupMembers :: ListGroupMembersResponse -> TestTree+responseListGroupMembers =+ res+ "ListGroupMembersResponse"+ "fixture/ListGroupMembersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListGroupMembers)++responseListGroups :: ListGroupsResponse -> TestTree+responseListGroups =+ res+ "ListGroupsResponse"+ "fixture/ListGroupsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListGroups)++responseListImpersonationRoles :: ListImpersonationRolesResponse -> TestTree+responseListImpersonationRoles =+ res+ "ListImpersonationRolesResponse"+ "fixture/ListImpersonationRolesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListImpersonationRoles)++responseListMailDomains :: ListMailDomainsResponse -> TestTree+responseListMailDomains =+ res+ "ListMailDomainsResponse"+ "fixture/ListMailDomainsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListMailDomains)++responseListMailboxExportJobs :: ListMailboxExportJobsResponse -> TestTree+responseListMailboxExportJobs =+ res+ "ListMailboxExportJobsResponse"+ "fixture/ListMailboxExportJobsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListMailboxExportJobs)++responseListMailboxPermissions :: ListMailboxPermissionsResponse -> TestTree+responseListMailboxPermissions =+ res+ "ListMailboxPermissionsResponse"+ "fixture/ListMailboxPermissionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListMailboxPermissions)++responseListMobileDeviceAccessOverrides :: ListMobileDeviceAccessOverridesResponse -> TestTree+responseListMobileDeviceAccessOverrides =+ res+ "ListMobileDeviceAccessOverridesResponse"+ "fixture/ListMobileDeviceAccessOverridesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListMobileDeviceAccessOverrides)++responseListMobileDeviceAccessRules :: ListMobileDeviceAccessRulesResponse -> TestTree+responseListMobileDeviceAccessRules =+ res+ "ListMobileDeviceAccessRulesResponse"+ "fixture/ListMobileDeviceAccessRulesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListMobileDeviceAccessRules)++responseListOrganizations :: ListOrganizationsResponse -> TestTree+responseListOrganizations =+ res+ "ListOrganizationsResponse"+ "fixture/ListOrganizationsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListOrganizations)++responseListResourceDelegates :: ListResourceDelegatesResponse -> TestTree+responseListResourceDelegates =+ res+ "ListResourceDelegatesResponse"+ "fixture/ListResourceDelegatesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListResourceDelegates)++responseListResources :: ListResourcesResponse -> TestTree+responseListResources =+ res+ "ListResourcesResponse"+ "fixture/ListResourcesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListResources)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+ res+ "ListTagsForResourceResponse"+ "fixture/ListTagsForResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseListUsers :: ListUsersResponse -> TestTree+responseListUsers =+ res+ "ListUsersResponse"+ "fixture/ListUsersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListUsers)++responsePutAccessControlRule :: PutAccessControlRuleResponse -> TestTree+responsePutAccessControlRule =+ res+ "PutAccessControlRuleResponse"+ "fixture/PutAccessControlRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutAccessControlRule)++responsePutEmailMonitoringConfiguration :: PutEmailMonitoringConfigurationResponse -> TestTree+responsePutEmailMonitoringConfiguration =+ res+ "PutEmailMonitoringConfigurationResponse"+ "fixture/PutEmailMonitoringConfigurationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutEmailMonitoringConfiguration)++responsePutInboundDmarcSettings :: PutInboundDmarcSettingsResponse -> TestTree+responsePutInboundDmarcSettings =+ res+ "PutInboundDmarcSettingsResponse"+ "fixture/PutInboundDmarcSettingsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutInboundDmarcSettings)++responsePutMailboxPermissions :: PutMailboxPermissionsResponse -> TestTree+responsePutMailboxPermissions =+ res+ "PutMailboxPermissionsResponse"+ "fixture/PutMailboxPermissionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutMailboxPermissions)++responsePutMobileDeviceAccessOverride :: PutMobileDeviceAccessOverrideResponse -> TestTree+responsePutMobileDeviceAccessOverride =+ res+ "PutMobileDeviceAccessOverrideResponse"+ "fixture/PutMobileDeviceAccessOverrideResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutMobileDeviceAccessOverride)++responsePutRetentionPolicy :: PutRetentionPolicyResponse -> TestTree+responsePutRetentionPolicy =+ res+ "PutRetentionPolicyResponse"+ "fixture/PutRetentionPolicyResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutRetentionPolicy)++responseRegisterMailDomain :: RegisterMailDomainResponse -> TestTree+responseRegisterMailDomain =+ res+ "RegisterMailDomainResponse"+ "fixture/RegisterMailDomainResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RegisterMailDomain)++responseRegisterToWorkMail :: RegisterToWorkMailResponse -> TestTree+responseRegisterToWorkMail =+ res+ "RegisterToWorkMailResponse"+ "fixture/RegisterToWorkMailResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RegisterToWorkMail)++responseResetPassword :: ResetPasswordResponse -> TestTree+responseResetPassword =+ res+ "ResetPasswordResponse"+ "fixture/ResetPasswordResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ResetPassword)++responseStartMailboxExportJob :: StartMailboxExportJobResponse -> TestTree+responseStartMailboxExportJob =+ res+ "StartMailboxExportJobResponse"+ "fixture/StartMailboxExportJobResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartMailboxExportJob)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+ res+ "TagResourceResponse"+ "fixture/TagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TagResource)++responseTestAvailabilityConfiguration :: TestAvailabilityConfigurationResponse -> TestTree+responseTestAvailabilityConfiguration =+ res+ "TestAvailabilityConfigurationResponse"+ "fixture/TestAvailabilityConfigurationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TestAvailabilityConfiguration)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+ res+ "UntagResourceResponse"+ "fixture/UntagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateAvailabilityConfiguration :: UpdateAvailabilityConfigurationResponse -> TestTree+responseUpdateAvailabilityConfiguration =+ res+ "UpdateAvailabilityConfigurationResponse"+ "fixture/UpdateAvailabilityConfigurationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateAvailabilityConfiguration)++responseUpdateDefaultMailDomain :: UpdateDefaultMailDomainResponse -> TestTree+responseUpdateDefaultMailDomain =+ res+ "UpdateDefaultMailDomainResponse"+ "fixture/UpdateDefaultMailDomainResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateDefaultMailDomain)++responseUpdateImpersonationRole :: UpdateImpersonationRoleResponse -> TestTree+responseUpdateImpersonationRole =+ res+ "UpdateImpersonationRoleResponse"+ "fixture/UpdateImpersonationRoleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateImpersonationRole)++responseUpdateMailboxQuota :: UpdateMailboxQuotaResponse -> TestTree+responseUpdateMailboxQuota =+ res+ "UpdateMailboxQuotaResponse"+ "fixture/UpdateMailboxQuotaResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateMailboxQuota)++responseUpdateMobileDeviceAccessRule :: UpdateMobileDeviceAccessRuleResponse -> TestTree+responseUpdateMobileDeviceAccessRule =+ res+ "UpdateMobileDeviceAccessRuleResponse"+ "fixture/UpdateMobileDeviceAccessRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateMobileDeviceAccessRule)++responseUpdatePrimaryEmailAddress :: UpdatePrimaryEmailAddressResponse -> TestTree+responseUpdatePrimaryEmailAddress =+ res+ "UpdatePrimaryEmailAddressResponse"+ "fixture/UpdatePrimaryEmailAddressResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdatePrimaryEmailAddress)++responseUpdateResource :: UpdateResourceResponse -> TestTree+responseUpdateResource =+ res+ "UpdateResourceResponse"+ "fixture/UpdateResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateResource)
+ test/Test/Amazonka/WorkMail.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.WorkMail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.WorkMail+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/WorkMail/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.WorkMail.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.WorkMail.Internal where