Class: Aws::Glue::Types::ApplyMapping

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass ApplyMapping data as a hash:

{
  name: "NodeName", # required
  inputs: ["NodeId"], # required
  mapping: [ # required
    {
      to_key: "EnclosedInStringProperty",
      from_path: ["EnclosedInStringProperty"],
      from_type: "EnclosedInStringProperty",
      to_type: "EnclosedInStringProperty",
      dropped: false,
      children: {
        # recursive Mappings
      },
    },
  ],
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inputsArray<String>

The data inputs identified by their node names.

Returns:

  • (Array<String>)


239
240
241
242
243
244
245
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 239

class ApplyMapping < Struct.new(
  :name,
  :inputs,
  :mapping)
  SENSITIVE = []
  include Aws::Structure
end

#mappingArray<Types::Mapping>

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

Returns:



239
240
241
242
243
244
245
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 239

class ApplyMapping < Struct.new(
  :name,
  :inputs,
  :mapping)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the transform node.

Returns:

  • (String)


239
240
241
242
243
244
245
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 239

class ApplyMapping < Struct.new(
  :name,
  :inputs,
  :mapping)
  SENSITIVE = []
  include Aws::Structure
end