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

Class: Aws::Glue::Types::CreateDatabaseRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog in which to create the database. If none is supplied, the AWS account ID is used by default.

Returns:

  • (String)


1206
1207
1208
1209
1210
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1206

class CreateDatabaseRequest < Struct.new(
  :catalog_id,
  :database_input)
  include Aws::Structure
end

#database_inputTypes::DatabaseInput

A DatabaseInput object defining the metadata database to create in the catalog.



1206
1207
1208
1209
1210
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1206

class CreateDatabaseRequest < Struct.new(
  :catalog_id,
  :database_input)
  include Aws::Structure
end