Struct aws_sdk_redshift::types::DataShareAssociation
source · #[non_exhaustive]pub struct DataShareAssociation {
pub consumer_identifier: Option<String>,
pub status: Option<DataShareStatus>,
pub consumer_region: Option<String>,
pub created_date: Option<DateTime>,
pub status_change_date: Option<DateTime>,
pub producer_allowed_writes: Option<bool>,
pub consumer_accepted_writes: Option<bool>,
}
Expand description
The association of a datashare from a producer account with a data consumer.
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.consumer_identifier: Option<String>
The name of the consumer accounts that have an association with a producer datashare.
status: Option<DataShareStatus>
The status of the datashare that is associated.
consumer_region: Option<String>
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
created_date: Option<DateTime>
The creation date of the datashare that is associated.
status_change_date: Option<DateTime>
The status change data of the datashare that is associated.
producer_allowed_writes: Option<bool>
Specifies whether write operations were allowed during data share authorization.
consumer_accepted_writes: Option<bool>
Specifies whether write operations were allowed during data share association.
Implementations§
sourcepub fn consumer_identifier(&self) -> Option<&str>
pub fn consumer_identifier(&self) -> Option<&str>
The name of the consumer accounts that have an association with a producer datashare.
sourcepub fn status(&self) -> Option<&DataShareStatus>
pub fn status(&self) -> Option<&DataShareStatus>
The status of the datashare that is associated.
sourcepub fn consumer_region(&self) -> Option<&str>
pub fn consumer_region(&self) -> Option<&str>
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The creation date of the datashare that is associated.
sourcepub fn status_change_date(&self) -> Option<&DateTime>
pub fn status_change_date(&self) -> Option<&DateTime>
The status change data of the datashare that is associated.
sourcepub fn producer_allowed_writes(&self) -> Option<bool>
pub fn producer_allowed_writes(&self) -> Option<bool>
Specifies whether write operations were allowed during data share authorization.
sourcepub fn consumer_accepted_writes(&self) -> Option<bool>
pub fn consumer_accepted_writes(&self) -> Option<bool>
Specifies whether write operations were allowed during data share association.
sourcepub fn builder() -> DataShareAssociationBuilder
pub fn builder() -> DataShareAssociationBuilder
Creates a new builder-style object to manufacture DataShareAssociation
.
Trait Implementations§
source§fn clone(&self) -> DataShareAssociation
fn clone(&self) -> DataShareAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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