Copyright | (c) 2013-2021 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) |
Safe Haskell | None |
Synopsis
- data FolderConfiguration = FolderConfiguration' {}
- newFolderConfiguration :: FolderName -> RetentionAction -> FolderConfiguration
- folderConfiguration_period :: Lens' FolderConfiguration (Maybe Natural)
- folderConfiguration_name :: Lens' FolderConfiguration FolderName
- folderConfiguration_action :: Lens' FolderConfiguration RetentionAction
Documentation
data FolderConfiguration Source #
The configuration applied to an organization's folders by its retention policy.
See: newFolderConfiguration
smart constructor.
FolderConfiguration' | |
|
Instances
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_name :: Lens' FolderConfiguration FolderName Source #
The folder name.
folderConfiguration_action :: Lens' FolderConfiguration RetentionAction Source #
The action to take on the folder contents at the end of the folder configuration period.