amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.Types.RenameField

Description

 
Synopsis

Documentation

data RenameField Source #

Specifies a transform that renames a single data property key.

See: newRenameField smart constructor.

Constructors

RenameField' 

Fields

  • name :: Text

    The name of the transform node.

  • inputs :: NonEmpty Text

    The data inputs identified by their node names.

  • sourcePath :: [Text]

    A JSON path to a variable in the data structure for the source data.

  • targetPath :: [Text]

    A JSON path to a variable in the data structure for the target data.

Instances

Instances details
FromJSON RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

ToJSON RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

Generic RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

Associated Types

type Rep RenameField :: Type -> Type #

Read RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

Show RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

NFData RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

Methods

rnf :: RenameField -> () #

Eq RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

Hashable RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

type Rep RenameField Source # 
Instance details

Defined in Amazonka.Glue.Types.RenameField

type Rep RenameField = D1 ('MetaData "RenameField" "Amazonka.Glue.Types.RenameField" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "RenameField'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "inputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "sourcePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "targetPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newRenameField Source #

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.