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 |
Synopsis
- data DropFields = DropFields' {}
- newDropFields :: Text -> NonEmpty Text -> DropFields
- dropFields_name :: Lens' DropFields Text
- dropFields_inputs :: Lens' DropFields (NonEmpty Text)
- dropFields_paths :: Lens' DropFields [[Text]]
Documentation
data DropFields Source #
Specifies a transform that chooses the data property keys that you want to drop.
See: newDropFields
smart constructor.
Instances
Create a value of DropFields
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:name:DropFields'
, dropFields_name
- The name of the transform node.
$sel:inputs:DropFields'
, dropFields_inputs
- The data inputs identified by their node names.
$sel:paths:DropFields'
, dropFields_paths
- A JSON path to a variable in the data structure.
dropFields_name :: Lens' DropFields Text Source #
The name of the transform node.
dropFields_inputs :: Lens' DropFields (NonEmpty Text) Source #
The data inputs identified by their node names.
dropFields_paths :: Lens' DropFields [[Text]] Source #
A JSON path to a variable in the data structure.