async fn stop_resource(
        &self,
        input: StopResourceRequest,
    ) -> Result<(), RusotoError<StopResourceError>> {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header("x-amz-target", "AmazonForecast.StopResource");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, StopResourceError::from_response)
            .await?;
        std::mem::drop(response);
        Ok(())
    }
<p><p>Stops a resource.</p> <p>The resource undergoes the following states: <code>CREATE<em>STOPPING</code> and <code>CREATE</em>STOPPED</code>. You cannot resume a resource once it has been stopped.</p> <p>This operation can be applied to the following resources (and their corresponding child resources):</p> <ul> <li> <p>Dataset Import Job</p> </li> <li> <p>Predictor Job</p> </li> <li> <p>Forecast Job</p> </li> <li> <p>Forecast Export Job</p> </li> <li> <p>Predictor Backtest Export Job</p> </li> </ul></p>
rusoto/services/forecast/src/generated.rs