@SdkInternalApi
    final CreateTargetAccountConfigurationResult executeCreateTargetAccountConfiguration(
            CreateTargetAccountConfigurationRequest createTargetAccountConfigurationRequest) {

        ExecutionContext executionContext = createExecutionContext(createTargetAccountConfigurationRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<CreateTargetAccountConfigurationRequest> request = null;
        Response<CreateTargetAccountConfigurationResult> response = null;

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

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Creates a target account configuration for the experiment template. A target account configuration is required
when <code>accountTargeting</code> of <code>experimentOptions</code> is set to <code>multi-account</code>. For
more information, see <a
href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-options.html">experiment options</a> in the
<i>Fault Injection Service User Guide</i>.
</p>

@param createTargetAccountConfigurationRequest
@return Result of the CreateTargetAccountConfiguration operation returned by the service.
@throws ValidationException
        The specified input is not valid, or fails to satisfy the constraints for the request.
@throws ConflictException
        The request could not be processed because of a conflict.
@throws ResourceNotFoundException
        The specified resource cannot be found.
@throws ServiceQuotaExceededException
        You have exceeded your service quota.
@sample AWSFIS.CreateTargetAccountConfiguration
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateTargetAccountConfiguration"
     target="_top">AWS API Documentation</a>
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/AWSFISClient.java