AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateGuardrail operation. Updates a guardrail with the values you specify.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Bedrock.AmazonBedrockRequest
      Amazon.Bedrock.Model.UpdateGuardrailRequest

Namespace: Amazon.Bedrock.Model
Assembly: AWSSDK.Bedrock.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateGuardrailRequest : AmazonBedrockRequest
         IAmazonWebServiceRequest

The UpdateGuardrailRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateGuardrailRequest()

Properties

NameTypeDescription
Public Property AutomatedReasoningPolicyConfig Amazon.Bedrock.Model.GuardrailAutomatedReasoningPolicyConfig

Gets and sets the property AutomatedReasoningPolicyConfig.

Updated configuration for Automated Reasoning policies associated with the guardrail.

Public Property BlockedInputMessaging System.String

Gets and sets the property BlockedInputMessaging.

The message to return when the guardrail blocks a prompt.

Public Property BlockedOutputsMessaging System.String

Gets and sets the property BlockedOutputsMessaging.

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

Public Property ContentPolicyConfig Amazon.Bedrock.Model.GuardrailContentPolicyConfig

Gets and sets the property ContentPolicyConfig.

The content policy to configure for the guardrail.

Public Property ContextualGroundingPolicyConfig Amazon.Bedrock.Model.GuardrailContextualGroundingPolicyConfig

Gets and sets the property ContextualGroundingPolicyConfig.

The contextual grounding policy configuration used to update a guardrail.

Public Property CrossRegionConfig Amazon.Bedrock.Model.GuardrailCrossRegionConfig

Gets and sets the property CrossRegionConfig.

The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed.

For more information, see the Amazon Bedrock User Guide.

Public Property Description System.String

Gets and sets the property Description.

A description of the guardrail.

Public Property GuardrailIdentifier System.String

Gets and sets the property GuardrailIdentifier.

The unique identifier of the guardrail. This can be an ID or the ARN.

Public Property KmsKeyId System.String

Gets and sets the property KmsKeyId.

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

Public Property Name System.String

Gets and sets the property Name.

A name for the guardrail.

Public Property SensitiveInformationPolicyConfig Amazon.Bedrock.Model.GuardrailSensitiveInformationPolicyConfig

Gets and sets the property SensitiveInformationPolicyConfig.

The sensitive information policy to configure for the guardrail.

Public Property TopicPolicyConfig Amazon.Bedrock.Model.GuardrailTopicPolicyConfig

Gets and sets the property TopicPolicyConfig.

The topic policy to configure for the guardrail.

Public Property WordPolicyConfig Amazon.Bedrock.Model.GuardrailWordPolicyConfig

Gets and sets the property WordPolicyConfig.

The word policy to configure for the guardrail.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5