Struct aws_sdk_amplify::types::JobSummary
source · #[non_exhaustive]pub struct JobSummary {
pub job_arn: Option<String>,
pub job_id: Option<String>,
pub commit_id: Option<String>,
pub commit_message: Option<String>,
pub commit_time: Option<DateTime>,
pub start_time: Option<DateTime>,
pub status: Option<JobStatus>,
pub end_time: Option<DateTime>,
pub job_type: Option<JobType>,
}Expand description
Describes the summary for an execution job for an Amplify app.
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.job_arn: Option<String>The Amazon Resource Name (ARN) for the job.
job_id: Option<String>The unique ID for the job.
commit_id: Option<String>The commit ID from a third-party repository provider for the job.
commit_message: Option<String>The commit message from a third-party repository provider for the job.
commit_time: Option<DateTime>The commit date and time for the job.
start_time: Option<DateTime>The start date and time for the job.
status: Option<JobStatus>The current status for the job.
end_time: Option<DateTime>The end date and time for the job.
job_type: Option<JobType> The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.
Implementations§
source§impl JobSummary
impl JobSummary
sourcepub fn commit_id(&self) -> Option<&str>
pub fn commit_id(&self) -> Option<&str>
The commit ID from a third-party repository provider for the job.
sourcepub fn commit_message(&self) -> Option<&str>
pub fn commit_message(&self) -> Option<&str>
The commit message from a third-party repository provider for the job.
sourcepub fn commit_time(&self) -> Option<&DateTime>
pub fn commit_time(&self) -> Option<&DateTime>
The commit date and time for the job.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start date and time for the job.
sourcepub fn job_type(&self) -> Option<&JobType>
pub fn job_type(&self) -> Option<&JobType>
The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.
source§impl JobSummary
impl JobSummary
sourcepub fn builder() -> JobSummaryBuilder
pub fn builder() -> JobSummaryBuilder
Creates a new builder-style object to manufacture JobSummary.
Trait Implementations§
source§impl Clone for JobSummary
impl Clone for JobSummary
source§fn clone(&self) -> JobSummary
fn clone(&self) -> JobSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JobSummary
impl Debug for JobSummary
source§impl PartialEq<JobSummary> for JobSummary
impl PartialEq<JobSummary> for JobSummary
source§fn eq(&self, other: &JobSummary) -> bool
fn eq(&self, other: &JobSummary) -> bool
self and other values to be equal, and is used
by ==.