[][src]Struct rusoto_amplify::StartJobRequest

pub struct StartJobRequest {
    pub app_id: String,
    pub branch_name: String,
    pub commit_id: Option<String>,
    pub commit_message: Option<String>,
    pub commit_time: Option<f64>,
    pub job_id: Option<String>,
    pub job_reason: Option<String>,
    pub job_type: String,
}

The request structure for the start job request.

Fields

app_id: String

The unique ID for an Amplify app.

branch_name: String

The branch name 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<f64>

The commit date and time for the job.

job_id: Option<String>

The unique ID for an existing job. This is required if the value of jobType is RETRY.

job_reason: Option<String>

A descriptive reason for starting this job.

job_type: String

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.

Trait Implementations

impl Clone for StartJobRequest[src]

impl Debug for StartJobRequest[src]

impl Default for StartJobRequest[src]

impl PartialEq<StartJobRequest> for StartJobRequest[src]

impl Serialize for StartJobRequest[src]

impl StructuralPartialEq for StartJobRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.