@SdkInternalApi
    final DeleteRemediationConfigurationResult executeDeleteRemediationConfiguration(DeleteRemediationConfigurationRequest deleteRemediationConfigurationRequest) {

        ExecutionContext executionContext = createExecutionContext(deleteRemediationConfigurationRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DeleteRemediationConfigurationRequest> request = null;
        Response<DeleteRemediationConfigurationResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new DeleteRemediationConfigurationRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(deleteRemediationConfigurationRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Config Service");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteRemediationConfiguration");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<DeleteRemediationConfigurationResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new DeleteRemediationConfigurationResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Deletes the remediation configuration.
</p>

@param deleteRemediationConfigurationRequest
@return Result of the DeleteRemediationConfiguration operation returned by the service.
@throws NoSuchRemediationConfigurationException
        You specified an Config rule without a remediation configuration.
@throws RemediationInProgressException
        Remediation action is in progress. You can either cancel execution in Amazon Web Services Systems Manager
        or wait and try again later.
@throws InsufficientPermissionsException
        Indicates one of the following errors:</p>
        <ul>
        <li>
        <p>
        For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions
        to perform the config:Put* action.
        </p>
        </li>
        <li>
        <p>
        For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the
        function's permissions.
        </p>
        </li>
        <li>
        <p>
        For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have
        permissions to call IAM <code>GetRole</code> action or create a service-linked role.
        </p>
        </li>
        <li>
        <p>
        For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because
        you do not have the following permissions:
        </p>
        <ul>
        <li>
        <p>
        You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.
        </p>
        </li>
        <li>
        <p>
        You do not have permission to read Amazon S3 bucket or call SSM:GetDocument.
        </p>
        </li>
        </ul>
        </li>
@throws InvalidParameterValueException
        One or more of the specified parameters are not valid. Verify that your parameters are valid and try
        again.
@sample AmazonConfig.DeleteRemediationConfiguration
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRemediationConfiguration"
     target="_top">AWS API Documentation</a>
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/AmazonConfigClient.java