/// <p>Permanently delete a queue you have created.</p>
Permanently delete a queue you have created.
Permanently delete a queue you have created .
fn delete_queue(
        &self,
        input: DeleteQueueRequest,
    ) -> RusotoFuture<DeleteQueueResponse, DeleteQueueError> {
        let request_uri = format!("/2017-08-29/queues/{name}", name = input.name);
        let mut request = SignedRequest::new("DELETE", "mediaconvert", &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() == 202 {
                Box::new(response.buffer().from_err().and_then(|response| {
                    let result = proto::json::ResponsePayload::new(&response)
                        .deserialize::<DeleteQueueResponse, _>()?;
                    Ok(result)
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(DeleteQueueError::from_response(response))),
                )
            }
        })
    }
fn delete_queue ( & self , input : DeleteQueueRequest , ) -> RusotoFuture < DeleteQueueResponse , DeleteQueueError > { let request_uri = format ! ( " " name input name ) ; 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 ( ) == 202 { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { let result = proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < DeleteQueueResponse , _ > ( ) ? ; Ok ( result ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( DeleteQueueError :: from_response ( response ) ) ) , ) } } ) }
<p>Permanently delete a queue you have created.</p>
<p > Permanently delete a queue you have created . < / p >
&self
input
DeleteQueueRequest