fn describe_broker_instance_options(
        &self,
        input: DescribeBrokerInstanceOptionsRequest,
    ) -> RusotoFuture<DescribeBrokerInstanceOptionsResponse, DescribeBrokerInstanceOptionsError>
    {
        let request_uri = "/v1/broker-instance-options";

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

        let mut params = Params::new();
        if let Some(ref x) = input.engine_type {
            params.put("engineType", x);
        }
        if let Some(ref x) = input.host_instance_type {
            params.put("hostInstanceType", x);
        }
        if let Some(ref x) = input.max_results {
            params.put("maxResults", x);
        }
        if let Some(ref x) = input.next_token {
            params.put("nextToken", x);
        }
        request.set_params(params);

        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::<DescribeBrokerInstanceOptionsResponse, _>()?;

                    Ok(result)
                }))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DescribeBrokerInstanceOptionsError::from_response(response))
                }))
            }
        })
    }
/// <p>Describe available broker instance options.</p>
Describe available broker instance options.
Describe available broker instance options .
fn describe_broker_instance_options(
        &self,
        input: DescribeBrokerInstanceOptionsRequest,
    ) -> RusotoFuture<DescribeBrokerInstanceOptionsResponse, DescribeBrokerInstanceOptionsError>
    {
        let request_uri = "/v1/broker-instance-options";
        let mut request = SignedRequest::new("GET", "mq", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        let mut params = Params::new();
        if let Some(ref x) = input.engine_type {
            params.put("engineType", x);
        }
        if let Some(ref x) = input.host_instance_type {
            params.put("hostInstanceType", x);
        }
        if let Some(ref x) = input.max_results {
            params.put("maxResults", x);
        }
        if let Some(ref x) = input.next_token {
            params.put("nextToken", x);
        }
        request.set_params(params);
        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::<DescribeBrokerInstanceOptionsResponse, _>()?;
                    Ok(result)
                }))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DescribeBrokerInstanceOptionsError::from_response(response))
                }))
            }
        })
    }
fn describe_broker_instance_options ( & self , input : DescribeBrokerInstanceOptionsRequest , ) -> RusotoFuture < DescribeBrokerInstanceOptionsResponse , DescribeBrokerInstanceOptionsError > { let request_uri = " " ; let mut request = SignedRequest :: new ( " " , " " , & self . region , & request_uri ) ; request . set_content_type ( " " . to_owned ( ) ) ; let mut params = Params :: new ( ) ; if let Some ( ref x ) = input . engine_type { params . put ( " " , x ) ; } if let Some ( ref x ) = input . host_instance_type { params . put ( " " , x ) ; } if let Some ( ref x ) = input . max_results { params . put ( " " , x ) ; } if let Some ( ref x ) = input . next_token { params . put ( " " , x ) ; } request . set_params ( params ) ; 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 :: < DescribeBrokerInstanceOptionsResponse , _ > ( ) ? ; Ok ( result ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DescribeBrokerInstanceOptionsError :: from_response ( response ) ) } ) ) } } ) }
<p>Describe available broker instance options.</p>
<p > Describe available broker instance options . < / p >
&self
input
DescribeBrokerInstanceOptionsRequest