@SdkInternalApi
    final BatchDeleteImportDataResult executeBatchDeleteImportData(BatchDeleteImportDataRequest batchDeleteImportDataRequest) {

        ExecutionContext executionContext = createExecutionContext(batchDeleteImportDataRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<BatchDeleteImportDataRequest> request = null;
        Response<BatchDeleteImportDataResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new BatchDeleteImportDataRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(batchDeleteImportDataRequest));
                // 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, "Application Discovery Service");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "BatchDeleteImportData");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records
that can identify servers or applications.
</p>
<p>
Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered
servers match existing entries that you've previously discovered, the information for the already-existing
discovered server is updated. When you delete an import task that contains records that were used to match, the
information in those matched records that comes from the deleted records will also be deleted.
</p>

@param batchDeleteImportDataRequest
@return Result of the BatchDeleteImportData operation returned by the service.
@throws AuthorizationErrorException
        The user does not have permission to perform the action. Check the IAM policy associated with this user.
@throws InvalidParameterException
        One or more parameters are not valid. Verify the parameters and try again.
@throws InvalidParameterValueException
        The value of one or more parameters are either invalid or out of range. Verify the parameter values and
        try again.
@throws ServerInternalErrorException
        The server experienced an internal error. Try again.
@throws HomeRegionNotSetException
        The home Region is not set. Set the home Region to continue.
@sample AWSApplicationDiscovery.BatchDeleteImportData
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/AWSApplicationDiscoveryClient.java