fn delete_organization_config_rule(
        &self,
        input: DeleteOrganizationConfigRuleRequest,
    ) -> RusotoFuture<(), DeleteOrganizationConfigRuleError> {
        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.DeleteOrganizationConfigRule",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        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(DeleteOrganizationConfigRuleError::from_response(response))
                }))
            }
        })
    }
/// <p>Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account can delete an organization config rule.</p> <p>AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.</p>
Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account can delete an organization config rule. AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization . Only a master account can delete an organization config rule . AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete . You cannot update a rule while it is in this state .
fn delete_organization_config_rule(
        &self,
        input: DeleteOrganizationConfigRuleRequest,
    ) -> RusotoFuture<(), DeleteOrganizationConfigRuleError> {
        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.DeleteOrganizationConfigRule",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));
        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(DeleteOrganizationConfigRuleError::from_response(response))
                }))
            }
        })
    }
fn delete_organization_config_rule ( & self , input : DeleteOrganizationConfigRuleRequest , ) -> RusotoFuture < ( ) , DeleteOrganizationConfigRuleError > { 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 ) ) ; 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 ( DeleteOrganizationConfigRuleError :: from_response ( response ) ) } ) ) } } ) }
<p>Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization.
<p > Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization .
&self
input
DeleteOrganizationConfigRuleRequest