@SdkInternalApi
    final BatchImportEvidenceToAssessmentControlResult executeBatchImportEvidenceToAssessmentControl(
            BatchImportEvidenceToAssessmentControlRequest batchImportEvidenceToAssessmentControlRequest) {

        ExecutionContext executionContext = createExecutionContext(batchImportEvidenceToAssessmentControlRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<BatchImportEvidenceToAssessmentControlRequest> request = null;
        Response<BatchImportEvidenceToAssessmentControlResult> response = null;

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

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Adds one or more pieces of evidence to a control in an Audit Manager assessment.
</p>
<p>
You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a
file from your browser, or enter plain text in response to a risk assessment question.
</p>
<p>
The following restrictions apply to this action:
</p>
<ul>
<li>
<p>
<code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
<code>s3ResourcePath</code>, or <code>textResponse</code>
</p>
</li>
<li>
<p>
Maximum size of an individual evidence file: 100 MB
</p>
</li>
<li>
<p>
Number of daily manual evidence uploads per control: 100
</p>
</li>
<li>
<p>
Supported file formats: See <a href=
"https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files"
>Supported file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
</p>
</li>
</ul>
<p>
For more information about Audit Manager service restrictions, see <a
href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas and restrictions for
Audit Manager</a>.
</p>

@param batchImportEvidenceToAssessmentControlRequest
@return Result of the BatchImportEvidenceToAssessmentControl operation returned by the service.
@throws ResourceNotFoundException
        The resource that's specified in the request can't be found.
@throws AccessDeniedException
        Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit
        Manager settings page, and try again.
@throws ValidationException
        The request has invalid or missing parameters.
@throws InternalServerException
        An internal service error occurred during the processing of your request. Try again later.
@throws ThrottlingException
        The request was denied due to request throttling.
@sample AWSAuditManager.BatchImportEvidenceToAssessmentControl
@see <a
     href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl"
     target="_top">AWS API Documentation</a>
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/AWSAuditManagerClient.java