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

Class: Aws::Glue::Types::BatchDeleteTableVersionRequest

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

{
  catalog_id: "CatalogIdString",
  database_name: "NameString", # required
  table_name: "NameString", # required
  version_ids: ["VersionString"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog where the tables reside. If none is provided, the AWS account ID is used by default.

Returns:

  • (String)


390
391
392
393
394
395
396
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 390

class BatchDeleteTableVersionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :version_ids)
  include Aws::Structure
end

#database_nameString

The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

Returns:

  • (String)


390
391
392
393
394
395
396
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 390

class BatchDeleteTableVersionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :version_ids)
  include Aws::Structure
end

#table_nameString

The name of the table. For Hive compatibility, this name is entirely lowercase.

Returns:

  • (String)


390
391
392
393
394
395
396
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 390

class BatchDeleteTableVersionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :version_ids)
  include Aws::Structure
end

#version_idsArray<String>

A list of the IDs of versions to be deleted. A VersionId is a string representation of an integer. Each version is incremented by 1.

Returns:

  • (Array<String>)


390
391
392
393
394
395
396
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 390

class BatchDeleteTableVersionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :version_ids)
  include Aws::Structure
end