#[non_exhaustive]pub struct UpdatePartitionInput {
pub catalog_id: Option<String>,
pub database_name: Option<String>,
pub table_name: Option<String>,
pub partition_value_list: Option<Vec<String>>,
pub partition_input: Option<PartitionInput>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.catalog_id: Option<String>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: Option<String>The name of the catalog database in which the table in question resides.
table_name: Option<String>The name of the table in which the partition to be updated is located.
partition_value_list: Option<Vec<String>>List of partition key values that define the partition to update.
partition_input: Option<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.
Implementations§
source§impl UpdatePartitionInput
impl UpdatePartitionInput
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
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.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the catalog database in which the table in question resides.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table in which the partition to be updated is located.
sourcepub fn partition_value_list(&self) -> &[String]
pub fn partition_value_list(&self) -> &[String]
List of partition key values that define the partition to update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .partition_value_list.is_none().
sourcepub fn partition_input(&self) -> Option<&PartitionInput>
pub fn partition_input(&self) -> Option<&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.
source§impl UpdatePartitionInput
impl UpdatePartitionInput
sourcepub fn builder() -> UpdatePartitionInputBuilder
pub fn builder() -> UpdatePartitionInputBuilder
Creates a new builder-style object to manufacture UpdatePartitionInput.
Trait Implementations§
source§impl Clone for UpdatePartitionInput
impl Clone for UpdatePartitionInput
source§fn clone(&self) -> UpdatePartitionInput
fn clone(&self) -> UpdatePartitionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdatePartitionInput
impl Debug for UpdatePartitionInput
source§impl PartialEq for UpdatePartitionInput
impl PartialEq for UpdatePartitionInput
source§fn eq(&self, other: &UpdatePartitionInput) -> bool
fn eq(&self, other: &UpdatePartitionInput) -> bool
self and other values to be equal, and is used
by ==.