static String resolveFullConditionKey(ServiceShape service, String conditionKey) {
        // If no colon is present, we infer that this condition key is for the
        // current service and apply its ARN namespace.
        if (conditionKey.contains(":")) {
            return conditionKey;
        }
        return service.expectTrait(ServiceTrait.class).getArnNamespace() + ":" + conditionKey;
    }
Provides an index of condition keys for a service, including any condition
keys inferred from resource identifiers.
smithy-aws-iam-traits/src/main/java/software/amazon/smithy/aws/iam/traits/ConditionKeysIndex.java