fn start_deployment(
        &self,
        input: StartDeploymentRequest,
    ) -> RusotoFuture<StartDeploymentResult, StartDeploymentError> {
        let request_uri = format!(
            "/apps/{app_id}/branches/{branch_name}/deployments/start",
            app_id = input.app_id,
            branch_name = input.branch_name
        );

        let mut request = SignedRequest::new("POST", "amplify", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());

        let encoded = Some(serde_json::to_vec(&input).unwrap());
        request.set_payload(encoded);

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    let result = proto::json::ResponsePayload::new(&response)
                        .deserialize::<StartDeploymentResult, _>()?;

                    Ok(result)
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(StartDeploymentError::from_response(response))),
                )
            }
        })
    }
/// <p> Start a deployment for manual deploy apps. (Apps are not connected to repository) </p>
 Start a deployment for manual deploy apps. (Apps are not connected to repository) 
Start a deployment for manual deploy apps . ( Apps are not connected to repository )
fn start_deployment(
        &self,
        input: StartDeploymentRequest,
    ) -> RusotoFuture<StartDeploymentResult, StartDeploymentError> {
        let request_uri = format!(
            "/apps/{app_id}/branches/{branch_name}/deployments/start",
            app_id = input.app_id,
            branch_name = input.branch_name
        );
        let mut request = SignedRequest::new("POST", "amplify", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        let encoded = Some(serde_json::to_vec(&input).unwrap());
        request.set_payload(encoded);
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    let result = proto::json::ResponsePayload::new(&response)
                        .deserialize::<StartDeploymentResult, _>()?;
                    Ok(result)
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(StartDeploymentError::from_response(response))),
                )
            }
        })
    }
fn start_deployment ( & self , input : StartDeploymentRequest , ) -> RusotoFuture < StartDeploymentResult , StartDeploymentError > { let request_uri = format ! ( " " app_id input app_id branch_name input branch_name ) ; let mut request = SignedRequest :: new ( " " , " " , & self . region , & request_uri ) ; request . set_content_type ( " " . to_owned ( ) ) ; let encoded = Some ( serde_json :: to_vec ( & input ) . unwrap ( ) ) ; request . set_payload ( encoded ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { let result = proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < StartDeploymentResult , _ > ( ) ? ; Ok ( result ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( StartDeploymentError :: from_response ( response ) ) ) , ) } } ) }
<p> Start a deployment for manual deploy apps.
<p > Start a deployment for manual deploy apps .
&self
input
StartDeploymentRequest