#[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 ==.impl StructuralPartialEq for UpdatePartitionInput
Auto Trait Implementations§
impl Freeze for UpdatePartitionInput
impl RefUnwindSafe for UpdatePartitionInput
impl Send for UpdatePartitionInput
impl Sync for UpdatePartitionInput
impl Unpin for UpdatePartitionInput
impl UnwindSafe for UpdatePartitionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more