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

Class: Aws::Glue::Types::GetMappingRequest

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 GetMappingRequest data as a hash:

{
  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:



2965
2966
2967
2968
2969
2970
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2965

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

#sinksArray<Types::CatalogEntry>

A list of target tables.

Returns:



2965
2966
2967
2968
2969
2970
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2965

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

#sourceTypes::CatalogEntry

Specifies the source table.

Returns:



2965
2966
2967
2968
2969
2970
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2965

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