mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
refactor(bedrock): reuse guardrail profile resource prefix (#7902)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user