@Override
    public DeleteServiceTemplateVersionResult deleteServiceTemplateVersion(DeleteServiceTemplateVersionRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteServiceTemplateVersion(request);
    }
<p>
If no other minor versions of a service template exist, delete a major version of the service template if it's
not the <code>Recommended</code> version. Delete the <code>Recommended</code> version of the service template if
no other major versions or minor versions of the service template exist. A major version of a service template is
a version that <i>isn't</i> backwards compatible.
</p>
<p>
Delete a minor version of a service template if it's not the <code>Recommended</code> version. Delete a
<code>Recommended</code> minor version of the service template if no other minor versions of the service template
exist. A minor version of a service template is a version that's backwards compatible.
</p>

@param deleteServiceTemplateVersionRequest
@return Result of the DeleteServiceTemplateVersion 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.DeleteServiceTemplateVersion
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceTemplateVersion"
     target="_top">AWS API Documentation</a>
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/AWSProtonClient.java