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