Struct aws_sdk_glue::types::GovernedCatalogTarget
source · #[non_exhaustive]pub struct GovernedCatalogTarget {
pub name: String,
pub inputs: Vec<String>,
pub partition_keys: Option<Vec<Vec<String>>>,
pub table: String,
pub database: String,
pub schema_change_policy: Option<CatalogSchemaChangePolicy>,
}
Expand description
Specifies a data target that writes to Amazon S3 using the Glue Data Catalog.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the data target.
inputs: Vec<String>
The nodes that are inputs to the data target.
partition_keys: Option<Vec<Vec<String>>>
Specifies native partitioning using a sequence of keys.
table: String
The name of the table in the database to write to.
database: String
The name of the database to write to.
schema_change_policy: Option<CatalogSchemaChangePolicy>
A policy that specifies update behavior for the governed catalog.
Implementations§
source§impl GovernedCatalogTarget
impl GovernedCatalogTarget
sourcepub fn partition_keys(&self) -> &[Vec<String>]
pub fn partition_keys(&self) -> &[Vec<String>]
Specifies native partitioning using a sequence of keys.
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_keys.is_none()
.
sourcepub fn schema_change_policy(&self) -> Option<&CatalogSchemaChangePolicy>
pub fn schema_change_policy(&self) -> Option<&CatalogSchemaChangePolicy>
A policy that specifies update behavior for the governed catalog.
source§impl GovernedCatalogTarget
impl GovernedCatalogTarget
sourcepub fn builder() -> GovernedCatalogTargetBuilder
pub fn builder() -> GovernedCatalogTargetBuilder
Creates a new builder-style object to manufacture GovernedCatalogTarget
.
Trait Implementations§
source§impl Clone for GovernedCatalogTarget
impl Clone for GovernedCatalogTarget
source§fn clone(&self) -> GovernedCatalogTarget
fn clone(&self) -> GovernedCatalogTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GovernedCatalogTarget
impl Debug for GovernedCatalogTarget
source§impl PartialEq for GovernedCatalogTarget
impl PartialEq for GovernedCatalogTarget
source§fn eq(&self, other: &GovernedCatalogTarget) -> bool
fn eq(&self, other: &GovernedCatalogTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GovernedCatalogTarget
Auto Trait Implementations§
impl Freeze for GovernedCatalogTarget
impl RefUnwindSafe for GovernedCatalogTarget
impl Send for GovernedCatalogTarget
impl Sync for GovernedCatalogTarget
impl Unpin for GovernedCatalogTarget
impl UnwindSafe for GovernedCatalogTarget
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.