refactor(bedrock): reuse guardrail profile resource prefix (#7902)

This commit is contained in:
galsuchetzky-act authored and GitHub committed 2026-11-10 10:44:21 -04:00
1 parent 2e158f7d1d
commit c2aba45553
1 file changed
+1 -1
@@ -557,7 +557,7 @@ public class BedrockService implements ResourceProvider {
ObjectNode details = objectMapper.createObjectNode();
details.put("guardrailProfileId", profileId);
details.put("guardrailProfileArn",
regionResolver.buildArn("bedrock", region, "guardrail-profile/" + profileId));
regionResolver.buildArn("bedrock", region, GUARDRAIL_PROFILE_RESOURCE_PREFIX + profileId));
return details;
}