#[non_exhaustive]pub struct StartDeploymentInput {
pub app_id: Option<String>,
pub branch_name: Option<String>,
pub job_id: Option<String>,
pub source_url: Option<String>,
}Expand description
The request structure for the start a deployment request.
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.app_id: Option<String>The unique ID for an Amplify app.
branch_name: Option<String>The name of the branch to use for the job.
job_id: Option<String>The job ID for this deployment, generated by the create deployment request.
source_url: Option<String>The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
Implementations§
source§impl StartDeploymentInput
impl StartDeploymentInput
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name of the branch to use for the job.
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The job ID for this deployment, generated by the create deployment request.
sourcepub fn source_url(&self) -> Option<&str>
pub fn source_url(&self) -> Option<&str>
The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
source§impl StartDeploymentInput
impl StartDeploymentInput
sourcepub fn builder() -> StartDeploymentInputBuilder
pub fn builder() -> StartDeploymentInputBuilder
Creates a new builder-style object to manufacture StartDeploymentInput.
Trait Implementations§
source§impl Clone for StartDeploymentInput
impl Clone for StartDeploymentInput
source§fn clone(&self) -> StartDeploymentInput
fn clone(&self) -> StartDeploymentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartDeploymentInput
impl Debug for StartDeploymentInput
source§impl PartialEq for StartDeploymentInput
impl PartialEq for StartDeploymentInput
source§fn eq(&self, other: &StartDeploymentInput) -> bool
fn eq(&self, other: &StartDeploymentInput) -> bool
self and other values to be equal, and is used
by ==.