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

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,
      },
    ],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#locationTypes::Location

Parameters for the mapping.

Returns:



3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3394

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location)
  include Aws::Structure
end

#mappingArray<Types::MappingEntry>

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

Returns:



3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3394

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location)
  include Aws::Structure
end

#sinksArray<Types::CatalogEntry>

The target tables.

Returns:



3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3394

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location)
  include Aws::Structure
end

#sourceTypes::CatalogEntry

The source table.

Returns:



3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3394

class GetPlanRequest < Struct.new(
  :mapping,
  :source,
  :sinks,
  :location)
  include Aws::Structure
end