fn delete_cache_parameter_group(
        &self,
        input: DeleteCacheParameterGroupMessage,
    ) -> RusotoFuture<(), DeleteCacheParameterGroupError> {
        let mut request = SignedRequest::new("POST", "elasticache", &self.region, "/");
        let mut params = Params::new();

        params.put("Action", "DeleteCacheParameterGroup");
        params.put("Version", "2015-02-02");
        DeleteCacheParameterGroupMessageSerializer::serialize(&mut params, "", &input);
        request.set_payload(Some(
            serde_urlencoded::to_string(&params).unwrap().into_bytes(),
        ));
        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(DeleteCacheParameterGroupError::from_response(response))
                }));
            }

            Box::new(future::ok(::std::mem::drop(response)))
        })
    }
/// <p>Deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.</p>
Deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
Deletes the specified cache parameter group . You cannot delete a cache parameter group if it is associated with any cache clusters .
fn delete_cache_parameter_group(
        &self,
        input: DeleteCacheParameterGroupMessage,
    ) -> RusotoFuture<(), DeleteCacheParameterGroupError> {
        let mut request = SignedRequest::new("POST", "elasticache", &self.region, "/");
        let mut params = Params::new();
        params.put("Action", "DeleteCacheParameterGroup");
        params.put("Version", "2015-02-02");
        DeleteCacheParameterGroupMessageSerializer::serialize(&mut params, "", &input);
        request.set_payload(Some(
            serde_urlencoded::to_string(&params).unwrap().into_bytes(),
        ));
        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(DeleteCacheParameterGroupError::from_response(response))
                }));
            }
            Box::new(future::ok(::std::mem::drop(response)))
        })
    }
fn delete_cache_parameter_group ( & self , input : DeleteCacheParameterGroupMessage , ) -> RusotoFuture < ( ) , DeleteCacheParameterGroupError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; let mut params = Params :: new ( ) ; params . put ( " " , " " ) ; params . put ( " " , " " ) ; DeleteCacheParameterGroupMessageSerializer :: serialize ( & mut params , " " , & input ) ; request . set_payload ( Some ( serde_urlencoded :: to_string ( & params ) . unwrap ( ) . into_bytes ( ) , ) ) ; 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 ( DeleteCacheParameterGroupError :: from_response ( response ) ) } ) ) ; } Box :: new ( future :: ok ( :: std :: mem :: drop ( response ) ) ) } ) }
<p>Deletes the specified cache parameter group.
<p > Deletes the specified cache parameter group .
&self
input
DeleteCacheParameterGroupMessage
&self
input
DeleteCacheParameterGroupMessage