@SdkInternalApi
    final CreateExperimentTemplateResult executeCreateExperimentTemplate(CreateExperimentTemplateRequest createExperimentTemplateRequest) {

        ExecutionContext executionContext = createExecutionContext(createExperimentTemplateRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<CreateExperimentTemplateRequest> request = null;
        Response<CreateExperimentTemplateResult> response = null;

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

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Creates an experiment template.
</p>
<p>
An experiment template includes the following components:
</p>
<ul>
<li>
<p>
<b>Targets</b>: A target can be a specific resource in your Amazon Web Services environment, or one or more
resources that match criteria that you specify, for example, resources that have specific tags.
</p>
</li>
<li>
<p>
<b>Actions</b>: The actions to carry out on the target. You can specify multiple actions, the duration of each
action, and when to start each action during an experiment.
</p>
</li>
<li>
<p>
<b>Stop conditions</b>: If a stop condition is triggered while an experiment is running, the experiment is
automatically stopped. You can define a stop condition as a CloudWatch alarm.
</p>
</li>
</ul>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html">experiment templates</a> in the
<i>Fault Injection Service User Guide</i>.
</p>

@param createExperimentTemplateRequest
@return Result of the CreateExperimentTemplate 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.CreateExperimentTemplate
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate" target="_top">AWS
     API Documentation</a>
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/AWSFISClient.java