Skip to content

UpdatePartitionRequest

Source code in docs_src/capo_glue/types/update_partition_request.py
class UpdatePartitionRequest(TypedDict, closed=True):
    catalog_id: NotRequired["capo_glue.types.catalog_id_string.CatalogIdString"]
    """<p>The ID of the Data Catalog where the partition to be updated resides. If none is provided, the Amazon Web Services account ID is used by default.</p>"""
    database_name: "capo_glue.types.name_string.NameString"
    """<p>The name of the catalog database in which the table in question resides.</p>"""
    table_name: "capo_glue.types.name_string.NameString"
    """<p>The name of the table in which the partition to be updated is located.</p>"""
    partition_value_list: (
        "capo_glue.types.bounded_partition_value_list.BoundedPartitionValueList"
    )
    """<p>List of partition key values that define the partition to update.</p>"""
    partition_input: "capo_glue.types.partition_input.PartitionInput"
    """<p>The new partition object to update the partition to.</p> <p>The <code>Values</code> property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.</p>"""

catalog_id instance-attribute

catalog_id: NotRequired[CatalogIdString]

The ID of the Data Catalog where the partition to be updated resides. If none is provided, the Amazon Web Services account ID is used by default.

database_name instance-attribute

database_name: NameString

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

partition_input instance-attribute

partition_input: PartitionInput

The new partition object to update the partition to.

The Values property can't be changed. If you want to change the partition key values for a partition, delete and recreate the partition.

partition_value_list instance-attribute

partition_value_list: BoundedPartitionValueList

List of partition key values that define the partition to update.

table_name instance-attribute

table_name: NameString

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