fn reboot_broker(
        &self,
        input: RebootBrokerRequest,
    ) -> RusotoFuture<RebootBrokerResponse, RebootBrokerError> {
        let request_uri = format!(
            "/v1/brokers/{broker_id}/reboot",
            broker_id = input.broker_id
        );

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

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

                    Ok(result)
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(RebootBrokerError::from_response(response))),
                )
            }
        })
    }
/// <p>Reboots a broker. Note: This API is asynchronous.</p>
Reboots a broker. Note: This API is asynchronous.
Reboots a broker . Note : This API is asynchronous .
fn reboot_broker(
        &self,
        input: RebootBrokerRequest,
    ) -> RusotoFuture<RebootBrokerResponse, RebootBrokerError> {
        let request_uri = format!(
            "/v1/brokers/{broker_id}/reboot",
            broker_id = input.broker_id
        );
        let mut request = SignedRequest::new("POST", "mq", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        self.client.sign_and_dispatch(request, |response| {
            if response.status.as_u16() == 200 {
                Box::new(response.buffer().from_err().and_then(|response| {
                    let result = proto::json::ResponsePayload::new(&response)
                        .deserialize::<RebootBrokerResponse, _>()?;
                    Ok(result)
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(RebootBrokerError::from_response(response))),
                )
            }
        })
    }
fn reboot_broker ( & self , input : RebootBrokerRequest , ) -> RusotoFuture < RebootBrokerResponse , RebootBrokerError > { let request_uri = format ! ( " " broker_id input broker_id ) ; let mut request = SignedRequest :: new ( " " , " " , & self . region , & request_uri ) ; request . set_content_type ( " " . to_owned ( ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . as_u16 ( ) == 200 { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { let result = proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < RebootBrokerResponse , _ > ( ) ? ; Ok ( result ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( RebootBrokerError :: from_response ( response ) ) ) , ) } } ) }
<p>Reboots a broker.
<p > Reboots a broker .
&self
input
RebootBrokerRequest