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

Amazonka.WorkMail.Types.FolderConfiguration

Description

 
Synopsis

Documentation

data FolderConfiguration Source #

The configuration applied to an organization's folders by its retention policy.

See: newFolderConfiguration smart constructor.

Constructors

FolderConfiguration' 

Fields

Instances

Instances details
Eq FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

Read FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

Show FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

Generic FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

Associated Types

type Rep FolderConfiguration :: Type -> Type #

NFData FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

Methods

rnf :: FolderConfiguration -> () #

Hashable FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

ToJSON FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

FromJSON FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

type Rep FolderConfiguration Source # 
Instance details

Defined in Amazonka.WorkMail.Types.FolderConfiguration

type Rep FolderConfiguration = D1 ('MetaData "FolderConfiguration" "Amazonka.WorkMail.Types.FolderConfiguration" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "FolderConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FolderName) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RetentionAction))))

newFolderConfiguration Source #

Create a value of FolderConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:period:FolderConfiguration', folderConfiguration_period - The number of days for which the folder-configuration action applies.

$sel:name:FolderConfiguration', folderConfiguration_name - The folder name.

$sel:action:FolderConfiguration', folderConfiguration_action - The action to take on the folder contents at the end of the folder configuration period.

folderConfiguration_period :: Lens' FolderConfiguration (Maybe Natural) Source #

The number of days for which the folder-configuration action applies.

folderConfiguration_action :: Lens' FolderConfiguration RetentionAction Source #

The action to take on the folder contents at the end of the folder configuration period.