Creates a guardrail to block topics and to implement safeguards for your generative AI applications.
See https://www.paws-r-sdk.com/docs/bedrock_create_guardrail/ for full documentation.
bedrock_create_guardrail(
name,
description = NULL,
topicPolicyConfig = NULL,
contentPolicyConfig = NULL,
wordPolicyConfig = NULL,
sensitiveInformationPolicyConfig = NULL,
contextualGroundingPolicyConfig = NULL,
blockedInputMessaging,
blockedOutputsMessaging,
kmsKeyId = NULL,
tags = NULL,
clientRequestToken = NULL
)
[required] The name to give the guardrail.
A description of the guardrail.
The topic policies to configure for the guardrail.
The content filter policies to configure for the guardrail.
The word policy you configure for the guardrail.
The sensitive information policy to configure for the guardrail.
The contextual grounding policy configuration used to create a guardrail.
[required] The message to return when the guardrail blocks a prompt.
[required] The message to return when the guardrail blocks a model response.
The ARN of the KMS key that you use to encrypt the guardrail.
The tags that you want to attach to the guardrail.
A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide.