// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateDeployment`](crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder::set_app_id): <p> The unique ID for an Amplify app. </p>
/// - [`branch_name(impl Into<String>)`](crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder::set_branch_name): <p> The name for the branch, for the job. </p>
/// - [`file_map(impl Into<String>, impl Into<String>)`](crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder::file_map) / [`set_file_map(Option<HashMap<String, String>>)`](crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder::set_file_map): <p> 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. </p>
/// - On success, responds with [`CreateDeploymentOutput`](crate::operation::create_deployment::CreateDeploymentOutput) with field(s):
/// - [`job_id(Option<String>)`](crate::operation::create_deployment::CreateDeploymentOutput::job_id): <p> The job ID for this deployment. will supply to start deployment api. </p>
/// - [`file_upload_urls(Option<HashMap<String, String>>)`](crate::operation::create_deployment::CreateDeploymentOutput::file_upload_urls): <p> When the <code>fileMap</code> argument is provided in the request, <code>fileUploadUrls</code> will contain a map of file names to upload URLs. </p>
/// - [`zip_upload_url(Option<String>)`](crate::operation::create_deployment::CreateDeploymentOutput::zip_upload_url): <p> When the <code>fileMap</code> argument is not provided in the request, this <code>zipUploadUrl</code> is returned. </p>
/// - On failure, responds with [`SdkError<CreateDeploymentError>`](crate::operation::create_deployment::CreateDeploymentError)
pub fn create_deployment(&self) -> crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder {
crate::operation::create_deployment::builders::CreateDeploymentFluentBuilder::new(self.handle.clone())
}
}