AWS SDK Version 4 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.

The details on the use of the guardrail.

Inheritance Hierarchy

System.Object
  Amazon.BedrockRuntime.Model.GuardrailUsage

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

Syntax

C#
public class GuardrailUsage

The GuardrailUsage type exposes the following members

Constructors

NameDescription
Public Method GuardrailUsage()

Properties

NameTypeDescription
Public Property AutomatedReasoningPolicies System.Nullable<System.Int32>

Gets and sets the property AutomatedReasoningPolicies.

The number of automated reasoning policies that were processed during the guardrail evaluation.

Public Property AutomatedReasoningPolicyUnits System.Nullable<System.Int32>

Gets and sets the property AutomatedReasoningPolicyUnits.

The number of text units processed by the automated reasoning policy.

Public Property ContentPolicyImageUnits System.Nullable<System.Int32>

Gets and sets the property ContentPolicyImageUnits.

The content policy image units processed by the guardrail.

Public Property ContentPolicyUnits System.Nullable<System.Int32>

Gets and sets the property ContentPolicyUnits.

The content policy units processed by the guardrail.

Public Property ContextualGroundingPolicyUnits System.Nullable<System.Int32>

Gets and sets the property ContextualGroundingPolicyUnits.

The contextual grounding policy units processed by the guardrail.

Public Property SensitiveInformationPolicyFreeUnits System.Nullable<System.Int32>

Gets and sets the property SensitiveInformationPolicyFreeUnits.

The sensitive information policy free units processed by the guardrail.

Public Property SensitiveInformationPolicyUnits System.Nullable<System.Int32>

Gets and sets the property SensitiveInformationPolicyUnits.

The sensitive information policy units processed by the guardrail.

Public Property TopicPolicyUnits System.Nullable<System.Int32>

Gets and sets the property TopicPolicyUnits.

The topic policy units processed by the guardrail.

Public Property WordPolicyUnits System.Nullable<System.Int32>

Gets and sets the property WordPolicyUnits.

The word policy units processed by 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.7.2 and newer