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

Class: Aws::Glue::Types::DatabaseInput

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

{
  name: "NameString", # required
  description: "DescriptionString",
  location_uri: "URI",
  parameters: {
    "KeyString" => "ParametersMapValue",
  },
}

The structure used to create or updata a database.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Description of the database

Returns:

  • (String)


1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1773

class DatabaseInput < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters)
  include Aws::Structure
end

#location_uriString

The location of the database (for example, an HDFS path).

Returns:

  • (String)


1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1773

class DatabaseInput < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters)
  include Aws::Structure
end

#nameString

Name of the database.

Returns:

  • (String)


1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1773

class DatabaseInput < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters)
  include Aws::Structure
end

#parametersHash<String,String>

A list of key-value pairs that define parameters and properties of the database.

Returns:

  • (Hash<String,String>)


1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1773

class DatabaseInput < Struct.new(
  :name,
  :description,
  :location_uri,
  :parameters)
  include Aws::Structure
end