| 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.Glue.Types.RenameField
Description
Synopsis
- data RenameField = RenameField' {
- name :: Text
- inputs :: NonEmpty Text
- sourcePath :: [Text]
- targetPath :: [Text]
- newRenameField :: Text -> NonEmpty Text -> RenameField
- renameField_name :: Lens' RenameField Text
- renameField_inputs :: Lens' RenameField (NonEmpty Text)
- renameField_sourcePath :: Lens' RenameField [Text]
- renameField_targetPath :: Lens' RenameField [Text]
Documentation
data RenameField Source #
Specifies a transform that renames a single data property key.
See: newRenameField smart constructor.
Constructors
| RenameField' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NonEmpty Text | |
| -> RenameField |
Create a value of RenameField 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:RenameField', renameField_name - The name of the transform node.
$sel:inputs:RenameField', renameField_inputs - The data inputs identified by their node names.
$sel:sourcePath:RenameField', renameField_sourcePath - A JSON path to a variable in the data structure for the source data.
$sel:targetPath:RenameField', renameField_targetPath - A JSON path to a variable in the data structure for the target data.
renameField_name :: Lens' RenameField Text Source #
The name of the transform node.
renameField_inputs :: Lens' RenameField (NonEmpty Text) Source #
The data inputs identified by their node names.
renameField_sourcePath :: Lens' RenameField [Text] Source #
A JSON path to a variable in the data structure for the source data.
renameField_targetPath :: Lens' RenameField [Text] Source #
A JSON path to a variable in the data structure for the target data.