pub struct CreateDeploymentRequest {
pub app_id: String,
pub branch_name: String,
pub file_map: Option<HashMap<String, String>>,
}
Expand description
The request structure for the create a new deployment request.
Fields§
§app_id: String
The unique ID for an Amplify app.
branch_name: 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.
Trait Implementations§
Source§impl Clone for CreateDeploymentRequest
impl Clone for CreateDeploymentRequest
Source§fn clone(&self) -> CreateDeploymentRequest
fn clone(&self) -> CreateDeploymentRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateDeploymentRequest
impl Debug for CreateDeploymentRequest
Source§impl Default for CreateDeploymentRequest
impl Default for CreateDeploymentRequest
Source§fn default() -> CreateDeploymentRequest
fn default() -> CreateDeploymentRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateDeploymentRequest
impl PartialEq for CreateDeploymentRequest
Source§impl Serialize for CreateDeploymentRequest
impl Serialize for CreateDeploymentRequest
impl StructuralPartialEq for CreateDeploymentRequest
Auto Trait Implementations§
impl Freeze for CreateDeploymentRequest
impl RefUnwindSafe for CreateDeploymentRequest
impl Send for CreateDeploymentRequest
impl Sync for CreateDeploymentRequest
impl Unpin for CreateDeploymentRequest
impl UnwindSafe for CreateDeploymentRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more