fn delete_event_subscription(
        &self,
        input: DeleteEventSubscriptionMessage,
    ) -> RusotoFuture<(), DeleteEventSubscriptionError> {
        let mut request = SignedRequest::new("POST", "redshift", &self.region, "/");
        let mut params = Params::new();

        params.put("Action", "DeleteEventSubscription");
        params.put("Version", "2012-12-01");
        DeleteEventSubscriptionMessageSerializer::serialize(&mut params, "", &input);
        request.set_payload(Some(serde_urlencoded::to_string(&params).unwrap()));
        request.set_content_type("application/x-www-form-urlencoded".to_owned());

        self.client.sign_and_dispatch(request, |response| {
            if !response.status.is_success() {
                return Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DeleteEventSubscriptionError::from_response(response))
                }));
            }

            Box::new(future::ok(::std::mem::drop(response)))
        })
    }
/// <p>Deletes an Amazon Redshift event notification subscription.</p>
Deletes an Amazon Redshift event notification subscription.
Deletes an Amazon Redshift event notification subscription .
fn delete_event_subscription(
        &self,
        input: DeleteEventSubscriptionMessage,
    ) -> RusotoFuture<(), DeleteEventSubscriptionError> {
        let mut request = SignedRequest::new("POST", "redshift", &self.region, "/");
        let mut params = Params::new();
        params.put("Action", "DeleteEventSubscription");
        params.put("Version", "2012-12-01");
        DeleteEventSubscriptionMessageSerializer::serialize(&mut params, "", &input);
        request.set_payload(Some(serde_urlencoded::to_string(&params).unwrap()));
        request.set_content_type("application/x-www-form-urlencoded".to_owned());
        self.client.sign_and_dispatch(request, |response| {
            if !response.status.is_success() {
                return Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DeleteEventSubscriptionError::from_response(response))
                }));
            }
            Box::new(future::ok(::std::mem::drop(response)))
        })
    }
fn delete_event_subscription ( & self , input : DeleteEventSubscriptionMessage , ) -> RusotoFuture < ( ) , DeleteEventSubscriptionError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; let mut params = Params :: new ( ) ; params . put ( " " , " " ) ; params . put ( " " , " " ) ; DeleteEventSubscriptionMessageSerializer :: serialize ( & mut params , " " , & input ) ; request . set_payload ( Some ( serde_urlencoded :: to_string ( & params ) . unwrap ( ) ) ) ; request . set_content_type ( " " . to_owned ( ) ) ; self . client . sign_and_dispatch ( request , | response | { if ! response . status . is_success ( ) { return Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DeleteEventSubscriptionError :: from_response ( response ) ) } ) ) ; } Box :: new ( future :: ok ( :: std :: mem :: drop ( response ) ) ) } ) }
<p>Deletes an Amazon Redshift event notification subscription.</p>
<p > Deletes an Amazon Redshift event notification subscription . < / p >
&self
input
DeleteEventSubscriptionMessage
&self
input
DeleteEventSubscriptionMessage