private static Optional<String> endsWithForbiddenWord(String value) {
        String lowercase = value.toLowerCase(Locale.US);

        return DISALLOWED_ENDINGS.stream()
                .filter(lowercase::endsWith)
                .findFirst();
    }
Validates a service ID value.

@param serviceId Service ID to validate.
@throws IllegalArgumentException if the service ID is invalid.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/SdkServiceIdValidator.java