Struct aws_sdk_datazone::types::DataSourceSummary
source · #[non_exhaustive]pub struct DataSourceSummary {Show 14 fields
pub domain_id: String,
pub environment_id: String,
pub data_source_id: String,
pub name: String,
pub type: String,
pub status: DataSourceStatus,
pub enable_setting: Option<EnableSetting>,
pub schedule: Option<ScheduleConfiguration>,
pub last_run_status: Option<DataSourceRunStatus>,
pub last_run_at: Option<DateTime>,
pub last_run_error_message: Option<DataSourceErrorMessage>,
pub last_run_asset_count: Option<i32>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
}Expand description
The details of the data source.
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.domain_id: StringThe ID of the Amazon DataZone domain in which the data source exists.
environment_id: StringThe ID of the environment in which the data source exists.
data_source_id: StringThe ID of the data source.
name: StringThe name of the data source.
type: StringThe type of the data source.
status: DataSourceStatusThe status of the data source.
enable_setting: Option<EnableSetting>Specifies whether the data source is enabled.
schedule: Option<ScheduleConfiguration>The details of the schedule of the data source runs.
last_run_status: Option<DataSourceRunStatus>The status of the last data source run.
last_run_at: Option<DateTime>The timestamp of when the data source run was last performed.
last_run_error_message: Option<DataSourceErrorMessage>The details of the error message that is returned if the operation cannot be successfully completed.
last_run_asset_count: Option<i32>The count of the assets created during the last data source run.
created_at: Option<DateTime>The timestamp of when the data source was created.
updated_at: Option<DateTime>The timestamp of when the data source was updated.
Implementations§
source§impl DataSourceSummary
impl DataSourceSummary
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The ID of the Amazon DataZone domain in which the data source exists.
sourcepub fn environment_id(&self) -> &str
pub fn environment_id(&self) -> &str
The ID of the environment in which the data source exists.
sourcepub fn data_source_id(&self) -> &str
pub fn data_source_id(&self) -> &str
The ID of the data source.
sourcepub fn status(&self) -> &DataSourceStatus
pub fn status(&self) -> &DataSourceStatus
The status of the data source.
sourcepub fn enable_setting(&self) -> Option<&EnableSetting>
pub fn enable_setting(&self) -> Option<&EnableSetting>
Specifies whether the data source is enabled.
sourcepub fn schedule(&self) -> Option<&ScheduleConfiguration>
pub fn schedule(&self) -> Option<&ScheduleConfiguration>
The details of the schedule of the data source runs.
sourcepub fn last_run_status(&self) -> Option<&DataSourceRunStatus>
pub fn last_run_status(&self) -> Option<&DataSourceRunStatus>
The status of the last data source run.
sourcepub fn last_run_at(&self) -> Option<&DateTime>
pub fn last_run_at(&self) -> Option<&DateTime>
The timestamp of when the data source run was last performed.
sourcepub fn last_run_error_message(&self) -> Option<&DataSourceErrorMessage>
pub fn last_run_error_message(&self) -> Option<&DataSourceErrorMessage>
The details of the error message that is returned if the operation cannot be successfully completed.
sourcepub fn last_run_asset_count(&self) -> Option<i32>
pub fn last_run_asset_count(&self) -> Option<i32>
The count of the assets created during the last data source run.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when the data source was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp of when the data source was updated.
source§impl DataSourceSummary
impl DataSourceSummary
sourcepub fn builder() -> DataSourceSummaryBuilder
pub fn builder() -> DataSourceSummaryBuilder
Creates a new builder-style object to manufacture DataSourceSummary.
Trait Implementations§
source§impl Clone for DataSourceSummary
impl Clone for DataSourceSummary
source§fn clone(&self) -> DataSourceSummary
fn clone(&self) -> DataSourceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataSourceSummary
impl Debug for DataSourceSummary
source§impl PartialEq for DataSourceSummary
impl PartialEq for DataSourceSummary
impl StructuralPartialEq for DataSourceSummary
Auto Trait Implementations§
impl Freeze for DataSourceSummary
impl RefUnwindSafe for DataSourceSummary
impl Send for DataSourceSummary
impl Sync for DataSourceSummary
impl Unpin for DataSourceSummary
impl UnwindSafe for DataSourceSummary
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