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

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 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 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>)


8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8856

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)


8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8856

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:



8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8856

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:



8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8856

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:



8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8856

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

#sourceTypes::CatalogEntry

The source table.

Returns:



8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8856

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