Struct aws_sdk_timestreamquery::types::ScheduledQuery
source · #[non_exhaustive]pub struct ScheduledQuery {
pub arn: Option<String>,
pub name: Option<String>,
pub creation_time: Option<DateTime>,
pub state: Option<ScheduledQueryState>,
pub previous_invocation_time: Option<DateTime>,
pub next_invocation_time: Option<DateTime>,
pub error_report_configuration: Option<ErrorReportConfiguration>,
pub target_destination: Option<TargetDestination>,
pub last_run_status: Option<ScheduledQueryRunStatus>,
}
Expand description
Scheduled Query
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.arn: Option<String>
The Amazon Resource Name.
name: Option<String>
The name of the scheduled query.
creation_time: Option<DateTime>
The creation time of the scheduled query.
state: Option<ScheduledQueryState>
State of scheduled query.
previous_invocation_time: Option<DateTime>
The last time the scheduled query was run.
next_invocation_time: Option<DateTime>
The next time the scheduled query is to be run.
error_report_configuration: Option<ErrorReportConfiguration>
Configuration for scheduled query error reporting.
target_destination: Option<TargetDestination>
Target data source where final scheduled query result will be written.
last_run_status: Option<ScheduledQueryRunStatus>
Status of the last scheduled query run.
Implementations§
source§impl ScheduledQuery
impl ScheduledQuery
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The creation time of the scheduled query.
sourcepub fn state(&self) -> Option<&ScheduledQueryState>
pub fn state(&self) -> Option<&ScheduledQueryState>
State of scheduled query.
sourcepub fn previous_invocation_time(&self) -> Option<&DateTime>
pub fn previous_invocation_time(&self) -> Option<&DateTime>
The last time the scheduled query was run.
sourcepub fn next_invocation_time(&self) -> Option<&DateTime>
pub fn next_invocation_time(&self) -> Option<&DateTime>
The next time the scheduled query is to be run.
sourcepub fn error_report_configuration(&self) -> Option<&ErrorReportConfiguration>
pub fn error_report_configuration(&self) -> Option<&ErrorReportConfiguration>
Configuration for scheduled query error reporting.
sourcepub fn target_destination(&self) -> Option<&TargetDestination>
pub fn target_destination(&self) -> Option<&TargetDestination>
Target data source where final scheduled query result will be written.
sourcepub fn last_run_status(&self) -> Option<&ScheduledQueryRunStatus>
pub fn last_run_status(&self) -> Option<&ScheduledQueryRunStatus>
Status of the last scheduled query run.
source§impl ScheduledQuery
impl ScheduledQuery
sourcepub fn builder() -> ScheduledQueryBuilder
pub fn builder() -> ScheduledQueryBuilder
Creates a new builder-style object to manufacture ScheduledQuery
.
Trait Implementations§
source§impl Clone for ScheduledQuery
impl Clone for ScheduledQuery
source§fn clone(&self) -> ScheduledQuery
fn clone(&self) -> ScheduledQuery
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScheduledQuery
impl Debug for ScheduledQuery
source§impl PartialEq<ScheduledQuery> for ScheduledQuery
impl PartialEq<ScheduledQuery> for ScheduledQuery
source§fn eq(&self, other: &ScheduledQuery) -> bool
fn eq(&self, other: &ScheduledQuery) -> bool
self
and other
values to be equal, and is used
by ==
.