#[non_exhaustive]pub struct CreateDeploymentInput {
pub app_id: Option<String>,
pub branch_name: Option<String>,
pub file_map: Option<HashMap<String, String>>,
}Expand description
The request structure for the create a new 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 for the branch, for the job.
file_map: Option<HashMap<String, String>>An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
Implementations§
source§impl CreateDeploymentInput
impl CreateDeploymentInput
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name for the branch, for the job.
sourcepub fn file_map(&self) -> Option<&HashMap<String, String>>
pub fn file_map(&self) -> Option<&HashMap<String, String>>
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
source§impl CreateDeploymentInput
impl CreateDeploymentInput
sourcepub fn builder() -> CreateDeploymentInputBuilder
pub fn builder() -> CreateDeploymentInputBuilder
Creates a new builder-style object to manufacture CreateDeploymentInput.
Trait Implementations§
source§impl Clone for CreateDeploymentInput
impl Clone for CreateDeploymentInput
source§fn clone(&self) -> CreateDeploymentInput
fn clone(&self) -> CreateDeploymentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDeploymentInput
impl Debug for CreateDeploymentInput
source§impl PartialEq<CreateDeploymentInput> for CreateDeploymentInput
impl PartialEq<CreateDeploymentInput> for CreateDeploymentInput
source§fn eq(&self, other: &CreateDeploymentInput) -> bool
fn eq(&self, other: &CreateDeploymentInput) -> bool
self and other values to be equal, and is used
by ==.