@SdkInternalApi
    final StartRemediationExecutionResult executeStartRemediationExecution(StartRemediationExecutionRequest startRemediationExecutionRequest) {

        ExecutionContext executionContext = createExecutionContext(startRemediationExecutionRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<StartRemediationExecutionRequest> request = null;
        Response<StartRemediationExecutionResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new StartRemediationExecutionRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(startRemediationExecutionRequest));
                // 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, "StartRemediationExecution");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Runs an on-demand remediation for the specified Config rules against the last known remediation configuration. It
runs an execution against the current state of your resources. Remediation execution is asynchronous.
</p>
<p>
You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified
resource keys must complete before you can call the API again.
</p>

@param startRemediationExecutionRequest
@return Result of the StartRemediationExecution operation returned by the service.
@throws InvalidParameterValueException
        One or more of the specified parameters are not valid. Verify that your parameters are valid and try
        again.
@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 NoSuchRemediationConfigurationException
        You specified an Config rule without a remediation configuration.
@sample AmazonConfig.StartRemediationExecution
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartRemediationExecution"
     target="_top">AWS API Documentation</a>
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/AmazonConfigClient.java