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

Class: Aws::Glue::Types::GetPartitionRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

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

Returns:

  • (String)


3239
3240
3241
3242
3243
3244
3245
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3239

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

#database_nameString

The name of the catalog database where the partition resides.

Returns:

  • (String)


3239
3240
3241
3242
3243
3244
3245
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3239

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

#partition_valuesArray<String>

The values that define the partition.

Returns:

  • (Array<String>)


3239
3240
3241
3242
3243
3244
3245
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3239

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

#table_nameString

The name of the partition's table.

Returns:

  • (String)


3239
3240
3241
3242
3243
3244
3245
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3239

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