private String buildDefaultDocId(ServiceShape serviceShape) {
        if (!serviceShape.expectTrait(ServiceTrait.class).equals(this)) {
            throw new ExpectationNotMetException(String.format(
                    "Provided service shape `%s` is not the target of this trait.",
                    serviceShape.getId()), this);
        }

        return sdkId.replace(" ", "-").toLowerCase(Locale.US) + "-" + serviceShape.getVersion();
    }
Resolves the doc id value for the service.

<p> When value on trait is not set, this method defaults to the lower
cased value of the sdkId followed by the service version, separated by
dashes.

@param serviceShape the shape which this trait targets
@return Returns the documentation identifier value for the service name.
@throws ExpectationNotMetException if the shape is not the target of this trait.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/ServiceTrait.java