You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetPlanRequest as input to an Aws::Client method, you can use a vanilla 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",
  },
}

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

    A map to hold additional optional key-value parameters.

#languageString

The programming language of the code to perform the mapping.

Possible values:

  • PYTHON
  • SCALA

Returns:

  • (String)

    The programming language of the code to perform the mapping.

#locationTypes::Location

The parameters for the mapping.

Returns:

#mappingArray<Types::MappingEntry>

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

Returns:

#sinksArray<Types::CatalogEntry>

The target tables.

Returns:

#sourceTypes::CatalogEntry

The source table.

Returns: