Struct aws_sdk_amplify::types::JobSummary
source · #[non_exhaustive]pub struct JobSummary {
pub job_arn: String,
pub job_id: String,
pub commit_id: String,
pub commit_message: String,
pub commit_time: DateTime,
pub start_time: DateTime,
pub status: JobStatus,
pub end_time: Option<DateTime>,
pub job_type: 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: StringThe Amazon Resource Name (ARN) for the job.
job_id: StringThe unique ID for the job.
commit_id: StringThe commit ID from a third-party repository provider for the job.
commit_message: StringThe commit message from a third-party repository provider for the job.
commit_time: DateTimeThe commit date and time for the job.
start_time: DateTimeThe start date and time for the job.
status: JobStatusThe current status for the job.
end_time: Option<DateTime>The end date and time for the job.
job_type: JobTypeThe 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) -> &str
pub fn commit_id(&self) -> &str
The commit ID from a third-party repository provider for the job.
sourcepub fn commit_message(&self) -> &str
pub fn commit_message(&self) -> &str
The commit message from a third-party repository provider for the job.
sourcepub fn commit_time(&self) -> &DateTime
pub fn commit_time(&self) -> &DateTime
The commit date and time for the job.
sourcepub fn start_time(&self) -> &DateTime
pub fn start_time(&self) -> &DateTime
The start date and time for the job.
sourcepub fn job_type(&self) -> &JobType
pub fn job_type(&self) -> &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 for JobSummary
impl PartialEq 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 ==.