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.ApplyMapping

Description

 
Synopsis

Documentation

data ApplyMapping Source #

Specifies a transform that maps data property keys in the data source to data property keys in the data target. You can rename keys, modify the data types for keys, and choose which keys to drop from the dataset.

See: newApplyMapping smart constructor.

Constructors

ApplyMapping' 

Fields

  • name :: Text

    The name of the transform node.

  • inputs :: NonEmpty Text

    The data inputs identified by their node names.

  • mapping :: [Mapping]

    Specifies the mapping of data property keys in the data source to data property keys in the data target.

Instances

Instances details
FromJSON ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

ToJSON ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

Generic ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

Associated Types

type Rep ApplyMapping :: Type -> Type #

Read ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

Show ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

NFData ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

Methods

rnf :: ApplyMapping -> () #

Eq ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

Hashable ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

type Rep ApplyMapping Source # 
Instance details

Defined in Amazonka.Glue.Types.ApplyMapping

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

newApplyMapping Source #

Create a value of ApplyMapping 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:ApplyMapping', applyMapping_name - The name of the transform node.

$sel:inputs:ApplyMapping', applyMapping_inputs - The data inputs identified by their node names.

$sel:mapping:ApplyMapping', applyMapping_mapping - Specifies the mapping of data property keys in the data source to data property keys in the data target.

applyMapping_name :: Lens' ApplyMapping Text Source #

The name of the transform node.

applyMapping_inputs :: Lens' ApplyMapping (NonEmpty Text) Source #

The data inputs identified by their node names.

applyMapping_mapping :: Lens' ApplyMapping [Mapping] Source #

Specifies the mapping of data property keys in the data source to data property keys in the data target.