fn delete_config_rule(
        &self,
        input: DeleteConfigRuleRequest,
    ) -> RusotoFuture<(), DeleteConfigRuleError> {
        let mut request = SignedRequest::new("POST", "config", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "StarlingDoveService.DeleteConfigRule");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(DeleteConfigRuleError::from_response(response))),
                )
            }
        })
    }
/// <p>Deletes the specified AWS Config rule and all of its evaluation results.</p> <p>AWS Config sets the state of a rule to <code>DELETING</code> until the deletion is complete. You cannot update a rule while it is in this state. If you make a <code>PutConfigRule</code> or <code>DeleteConfigRule</code> request for the rule, you will receive a <code>ResourceInUseException</code>.</p> <p>You can check the state of a rule by using the <code>DescribeConfigRules</code> request.</p>
Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request.
Deletes the specified AWS Config rule and all of its evaluation results . AWS Config sets the state of a rule to DELETING until the deletion is complete . You cannot update a rule while it is in this state . If you make a PutConfigRule or DeleteConfigRule request for the rule you will receive a ResourceInUseException . You can check the state of a rule by using the DescribeConfigRules request .
fn delete_config_rule(
        &self,
        input: DeleteConfigRuleRequest,
    ) -> RusotoFuture<(), DeleteConfigRuleError> {
        let mut request = SignedRequest::new("POST", "config", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "StarlingDoveService.DeleteConfigRule");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(DeleteConfigRuleError::from_response(response))),
                )
            }
        })
    }
fn delete_config_rule ( & self , input : DeleteConfigRuleRequest , ) -> RusotoFuture < ( ) , DeleteConfigRuleError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded . into_bytes ( ) ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( future :: ok ( :: std :: mem :: drop ( response ) ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( DeleteConfigRuleError :: from_response ( response ) ) ) , ) } } ) }
<p>Deletes the specified AWS Config rule and all of its evaluation results.</p> <p>AWS Config sets the state of a rule to <code>DELETING</code> until the deletion is complete.
<p > Deletes the specified AWS Config rule and all of its evaluation results . < / p > <p > AWS Config sets the state of a rule to <code > DELETING< / code > until the deletion is complete .
&self
input
DeleteConfigRuleRequest
&self
input
DeleteConfigRuleRequest