Struct aws_sdk_amplify::input::CreateDeploymentInput
source · [−]#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDeployment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDeployment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDeployment
>
Creates a new builder-style object to manufacture CreateDeploymentInput
The name for the branch, for the job.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateDeploymentInput
impl Send for CreateDeploymentInput
impl Sync for CreateDeploymentInput
impl Unpin for CreateDeploymentInput
impl UnwindSafe for CreateDeploymentInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more