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

Class: Aws::Glue::Types::BatchDeletePartitionRequest

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

{
  catalog_id: "CatalogIdString",
  database_name: "NameString", # required
  table_name: "NameString", # required
  partitions_to_delete: [ # required
    {
      values: ["ValueString"], # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account ID is used by default.

Returns:

  • (String)


212
213
214
215
216
217
218
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 212

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

#database_nameString

The name of the catalog database in which the table in question resides.

Returns:

  • (String)


212
213
214
215
216
217
218
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 212

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

#partitions_to_deleteArray<Types::PartitionValueList>

A list of PartitionInput structures that define the partitions to be deleted.

Returns:



212
213
214
215
216
217
218
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 212

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

#table_nameString

The name of the table where the partitions to be deleted is located.

Returns:

  • (String)


212
213
214
215
216
217
218
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 212

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