Class: Aws::Glue::Types::BatchUpdatePartitionRequestEntry

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

{
  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",
          parameters: {
            "KeyString" => "ParametersMapValue",
          },
        },
      ],
      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,
      schema_reference: {
        schema_id: {
          schema_arn: "GlueResourceArn",
          schema_name: "SchemaRegistryNameString",
          registry_name: "SchemaRegistryNameString",
        },
        schema_version_id: "SchemaVersionIdString",
        schema_version_number: 1,
      },
    },
    parameters: {
      "KeyString" => "ParametersMapValue",
    },
    last_analyzed_time: Time.now,
  },
}

A structure that contains the values and structure used to update a partition.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#partition_inputTypes::PartitionInput

The structure used to update a partition.



1068
1069
1070
1071
1072
1073
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1068

class BatchUpdatePartitionRequestEntry < Struct.new(
  :partition_value_list,
  :partition_input)
  SENSITIVE = []
  include Aws::Structure
end

#partition_value_listArray<String>

A list of values defining the partitions.

Returns:

  • (Array<String>)


1068
1069
1070
1071
1072
1073
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1068

class BatchUpdatePartitionRequestEntry < Struct.new(
  :partition_value_list,
  :partition_input)
  SENSITIVE = []
  include Aws::Structure
end