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

Class: Aws::Glue::Types::UpdateDatabaseRequest

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

{
  catalog_id: "CatalogIdString",
  name: "NameString", # required
  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 the metadata database resides. If none is supplied, the AWS account ID is used by default.

Returns:

  • (String)


5760
5761
5762
5763
5764
5765
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5760

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

#database_inputTypes::DatabaseInput

A DatabaseInput object specifying the new definition of the metadata database in the catalog.



5760
5761
5762
5763
5764
5765
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5760

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

#nameString

The name of the metadata database to update in the catalog.

Returns:

  • (String)


5760
5761
5762
5763
5764
5765
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5760

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