| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DataSync.Types.FilterRule
Description
Synopsis
Documentation
data FilterRule Source #
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
See: newFilterRule smart constructor.
Constructors
| FilterRule' | |
Fields
| |
Instances
newFilterRule :: FilterRule Source #
Create a value of FilterRule 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:filterType:FilterRule', filterRule_filterType - The type of filter rule to apply. DataSync only supports the
SIMPLE_PATTERN rule type.
$sel:value:FilterRule', filterRule_value - A single filter string that consists of the patterns to include or
exclude. The patterns are delimited by "|" (that is, a pipe), for
example: /folder1|/folder2
filterRule_filterType :: Lens' FilterRule (Maybe FilterType) Source #
The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN rule type.
filterRule_value :: Lens' FilterRule (Maybe Text) Source #
A single filter string that consists of the patterns to include or
exclude. The patterns are delimited by "|" (that is, a pipe), for
example: /folder1|/folder2