code: @Override
      public ValidateTemplateResult validateTemplate(ValidateTemplateRequest request) {
          request = beforeClientExecution(request);
          return executeValidateTemplate(request);
      }
docs: <p>
  Validates a specified template. AWS CloudFormation first checks if the template is valid JSON. If it isn't, AWS
  CloudFormation checks if the template is valid YAML. If both these checks fail, AWS CloudFormation returns a
  template validation error.
  </p>
  
  @param validateTemplateRequest
  The input for <a>ValidateTemplate</a> action.
  @return Result of the ValidateTemplate operation returned by the service.
  @sample AmazonCloudFormation.ValidateTemplate
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate"
  target="_top">AWS API Documentation</a>