Struct aws_sdk_databrew::types::Schedule
source · #[non_exhaustive]pub struct Schedule {
pub account_id: Option<String>,
pub created_by: Option<String>,
pub create_date: Option<DateTime>,
pub job_names: Option<Vec<String>>,
pub last_modified_by: Option<String>,
pub last_modified_date: Option<DateTime>,
pub resource_arn: Option<String>,
pub cron_expression: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub name: String,
}
Expand description
Represents one or more dates and times when a job is to run.
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.account_id: Option<String>
The ID of the Amazon Web Services account that owns the schedule.
created_by: Option<String>
The Amazon Resource Name (ARN) of the user who created the schedule.
create_date: Option<DateTime>
The date and time that the schedule was created.
job_names: Option<Vec<String>>
A list of jobs to be run, according to the schedule.
last_modified_by: Option<String>
The Amazon Resource Name (ARN) of the user who last modified the schedule.
last_modified_date: Option<DateTime>
The date and time when the schedule was last modified.
resource_arn: Option<String>
The Amazon Resource Name (ARN) of the schedule.
cron_expression: Option<String>
The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
Metadata tags that have been applied to the schedule.
name: String
The name of the schedule.
Implementations§
source§impl Schedule
impl Schedule
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the schedule.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the user who created the schedule.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The date and time that the schedule was created.
sourcepub fn job_names(&self) -> &[String]
pub fn job_names(&self) -> &[String]
A list of jobs to be run, according to the schedule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .job_names.is_none()
.
sourcepub fn last_modified_by(&self) -> Option<&str>
pub fn last_modified_by(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the user who last modified the schedule.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date and time when the schedule was last modified.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the schedule.
sourcepub fn cron_expression(&self) -> Option<&str>
pub fn cron_expression(&self) -> Option<&str>
The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
Metadata tags that have been applied to the schedule.