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

Class: Aws::Glue::Types::UpdatePartitionRequest

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

{
  catalog_id: "CatalogIdString",
  database_name: "NameString", # required
  table_name: "NameString", # required
  partition_value_list: ["ValueString"], # required
  partition_input: { # required
    values: ["ValueString"],
    last_access_time: Time.now,
    storage_descriptor: {
      columns: [
        {
          name: "NameString", # required
          type: "ColumnTypeString",
          comment: "CommentString",
        },
      ],
      location: "LocationString",
      input_format: "FormatString",
      output_format: "FormatString",
      compressed: false,
      number_of_buckets: 1,
      serde_info: {
        name: "NameString",
        serialization_library: "NameString",
        parameters: {
          "KeyString" => "ParametersMapValue",
        },
      },
      bucket_columns: ["NameString"],
      sort_columns: [
        {
          column: "NameString", # required
          sort_order: 1, # required
        },
      ],
      parameters: {
        "KeyString" => "ParametersMapValue",
      },
      skewed_info: {
        skewed_column_names: ["NameString"],
        skewed_column_values: ["ColumnValuesString"],
        skewed_column_value_location_maps: {
          "ColumnValuesString" => "ColumnValuesString",
        },
      },
      stored_as_sub_directories: false,
    },
    parameters: {
      "KeyString" => "ParametersMapValue",
    },
    last_analyzed_time: Time.now,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

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

Returns:

  • (String)


5990
5991
5992
5993
5994
5995
5996
5997
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5990

class UpdatePartitionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :partition_value_list,
  :partition_input)
  include Aws::Structure
end

#database_nameString

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

Returns:

  • (String)


5990
5991
5992
5993
5994
5995
5996
5997
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5990

class UpdatePartitionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :partition_value_list,
  :partition_input)
  include Aws::Structure
end

#partition_inputTypes::PartitionInput

The new partition object to which to update the partition.



5990
5991
5992
5993
5994
5995
5996
5997
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5990

class UpdatePartitionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :partition_value_list,
  :partition_input)
  include Aws::Structure
end

#partition_value_listArray<String>

A list of the values defining the partition.

Returns:

  • (Array<String>)


5990
5991
5992
5993
5994
5995
5996
5997
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5990

class UpdatePartitionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :partition_value_list,
  :partition_input)
  include Aws::Structure
end

#table_nameString

The name of the table where the partition to be updated is located.

Returns:

  • (String)


5990
5991
5992
5993
5994
5995
5996
5997
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5990

class UpdatePartitionRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :partition_value_list,
  :partition_input)
  include Aws::Structure
end