Struct aws_sdk_amplify::input::StartJobInput
source · [−]#[non_exhaustive]pub struct StartJobInput { /* private fields */ }Expand description
The request structure for the start job request.
Implementations
sourceimpl StartJobInput
impl StartJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartJob>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartJobInput.
sourceimpl StartJobInput
impl StartJobInput
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The branch name for the job.
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The unique ID for an existing job. This is required if the value of jobType is RETRY.
sourcepub fn job_type(&self) -> Option<&JobType>
pub fn job_type(&self) -> Option<&JobType>
Describes the type for the job. The job type RELEASE starts a new job with the latest change from the specified branch. This value is available only for apps that are connected to a repository. The job type RETRY retries an existing job. If the job type value is RETRY, the jobId is also required.
sourcepub fn job_reason(&self) -> Option<&str>
pub fn job_reason(&self) -> Option<&str>
A descriptive reason for starting this job.
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.
Trait Implementations
sourceimpl Clone for StartJobInput
impl Clone for StartJobInput
sourcefn clone(&self) -> StartJobInput
fn clone(&self) -> StartJobInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more