bedrock_update_guardrail: Updates a guardrail with the values you specify

View source: R/bedrock_operations.R

bedrock_update_guardrailR Documentation

Updates a guardrail with the values you specify

Description

Updates a guardrail with the values you specify.

See https://www.paws-r-sdk.com/docs/bedrock_update_guardrail/ for full documentation.

Usage

bedrock_update_guardrail(
  guardrailIdentifier,
  name,
  description = NULL,
  topicPolicyConfig = NULL,
  contentPolicyConfig = NULL,
  wordPolicyConfig = NULL,
  sensitiveInformationPolicyConfig = NULL,
  blockedInputMessaging,
  blockedOutputsMessaging,
  kmsKeyId = NULL
)

Arguments

guardrailIdentifier

[required] The unique identifier of the guardrail

name

[required] A name for the guardrail.

description

A description of the guardrail.

topicPolicyConfig

The topic policy to configure for the guardrail.

contentPolicyConfig

The content policy to configure for the guardrail.

wordPolicyConfig

The word policy to configure for the guardrail.

sensitiveInformationPolicyConfig

The sensitive information policy to configure for the guardrail.

blockedInputMessaging

[required] The message to return when the guardrail blocks a prompt.

blockedOutputsMessaging

[required] The message to return when the guardrail blocks a model response.

kmsKeyId

The ARN of the KMS key with which to encrypt the guardrail.


paws.machine.learning documentation built on May 29, 2024, 9:43 a.m.