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
- Struct
- Aws::Glue::Types::GetPlanRequest
- Defined in:
- (unknown)
Overview
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
-
#additional_plan_options_map ⇒ Hash<String,String>
A map to hold additional optional key-value parameters.
-
#language ⇒ String
The programming language of the code to perform the mapping.
-
#location ⇒ Types::Location
The parameters for the mapping.
-
#mapping ⇒ Array<Types::MappingEntry>
The list of mappings from a source table to target tables.
-
#sinks ⇒ Array<Types::CatalogEntry>
The target tables.
-
#source ⇒ Types::CatalogEntry
The source table.
Instance Attribute Details
#additional_plan_options_map ⇒ Hash<String,String>
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
inferSchema
— Specifies whether to setinferSchema
to true or false for the default script generated by an AWS Glue job. For example, to setinferSchema
to true, pass the following key value pair:--additional-plan-options-map '`{"inferSchema":"true"}`'
#language ⇒ String
The programming language of the code to perform the mapping.
Possible values:
- PYTHON
- SCALA
#location ⇒ Types::Location
The parameters for the mapping.
#mapping ⇒ Array<Types::MappingEntry>
The list of mappings from a source table to target tables.
#sinks ⇒ Array<Types::CatalogEntry>
The target tables.
#source ⇒ Types::CatalogEntry
The source table.