@Override
    public DeleteEnvironmentTemplateVersionResult deleteEnvironmentTemplateVersion(DeleteEnvironmentTemplateVersionRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteEnvironmentTemplateVersion(request);
    }
<p>
If no other minor versions of an environment template exist, delete a major version of the environment template
if it's not the <code>Recommended</code> version. Delete the <code>Recommended</code> version of the environment
template if no other major versions or minor versions of the environment template exist. A major version of an
environment template is a version that's not backward compatible.
</p>
<p>
Delete a minor version of an environment template if it <i>isn't</i> the <code>Recommended</code> version. Delete
a <code>Recommended</code> minor version of the environment template if no other minor versions of the
environment template exist. A minor version of an environment template is a version that's backward compatible.
</p>

@param deleteEnvironmentTemplateVersionRequest
@return Result of the DeleteEnvironmentTemplateVersion operation returned by the service.
@throws ValidationException
        The input is invalid or an out-of-range value was supplied for the input parameter.
@throws AccessDeniedException
        There <i>isn't</i> sufficient access for performing this action.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws ConflictException
        The request <i>couldn't</i> be made due to a conflicting operation or resource.
@throws ResourceNotFoundException
        The requested resource <i>wasn't</i> found.
@throws InternalServerException
        The request failed to register with the service.
@sample AWSProton.DeleteEnvironmentTemplateVersion
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironmentTemplateVersion"
     target="_top">AWS API Documentation</a>
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/AWSProtonClient.java