Class: Aws::Glue::Types::GetPlanRequest

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

Overview

Note:

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

{
  mapping: [ # required
    {
      source_table: "TableName",
      source_path: "SchemaPathString",
      source_type: "FieldType",
      target_table: "TableName",
      target_path: "SchemaPathString",
      target_type: "FieldType",
    },
  ],
  source: { # required
    database_name: "NameString", # required
    table_name: "NameString", # required
  },
  sinks: [
    {
      database_name: "NameString", # required
      table_name: "NameString", # required
    },
  ],
  location: {
    jdbc: [
      {
        name: "CodeGenArgName", # required
        value: "CodeGenArgValue", # required
        param: false,
      },
    ],
    s3: [
      {
        name: "CodeGenArgName", # required
        value: "CodeGenArgValue", # required
        param: false,
      },
    ],
    dynamo_db: [
      {
        name: "CodeGenArgName", # required
        value: "CodeGenArgValue", # required
        param: false,
      },
    ],
  },
  language: "PYTHON", # accepts PYTHON, SCALA
  additional_plan_options_map: {
    "GenericString" => "GenericString",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_plan_options_mapHash<String,String>

A map to hold additional optional key-value parameters.

Currently, these key-value pairs are supported:

  • ‘inferSchema`  —  Specifies whether to set `inferSchema` to true or false for the default script generated by an AWS Glue job. For example, to set `inferSchema` to true, pass the following key value pair:

    ‘–additional-plan-options-map ’“inferSchema”:“true”‘`

Returns:

  • (Hash<String,String>)


8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
# File 'lib/aws-sdk-glue/types.rb', line 8353

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location,
  :language,
  :additional_plan_options_map)
  SENSITIVE = []
  include Aws::Structure
end

#languageString

The programming language of the code to perform the mapping.

Returns:

  • (String)


8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
# File 'lib/aws-sdk-glue/types.rb', line 8353

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location,
  :language,
  :additional_plan_options_map)
  SENSITIVE = []
  include Aws::Structure
end

#locationTypes::Location

The parameters for the mapping.

Returns:



8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
# File 'lib/aws-sdk-glue/types.rb', line 8353

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location,
  :language,
  :additional_plan_options_map)
  SENSITIVE = []
  include Aws::Structure
end

#mappingArray<Types::MappingEntry>

The list of mappings from a source table to target tables.

Returns:



8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
# File 'lib/aws-sdk-glue/types.rb', line 8353

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location,
  :language,
  :additional_plan_options_map)
  SENSITIVE = []
  include Aws::Structure
end

#sinksArray<Types::CatalogEntry>

The target tables.

Returns:



8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
# File 'lib/aws-sdk-glue/types.rb', line 8353

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location,
  :language,
  :additional_plan_options_map)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::CatalogEntry

The source table.

Returns:



8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
# File 'lib/aws-sdk-glue/types.rb', line 8353

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location,
  :language,
  :additional_plan_options_map)
  SENSITIVE = []
  include Aws::Structure
end