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.

This is the response object from the GetGuardrail operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Bedrock.Model.GetGuardrailResponse

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

Syntax

C#
public class GetGuardrailResponse : AmazonWebServiceResponse

The GetGuardrailResponse type exposes the following members

Constructors

NameDescription
Public Method GetGuardrailResponse()

Properties

NameTypeDescription
Public Property AutomatedReasoningPolicy Amazon.Bedrock.Model.GuardrailAutomatedReasoningPolicy

Gets and sets the property AutomatedReasoningPolicy.

The current Automated Reasoning policy configuration for the guardrail, if any is configured.

Public Property BlockedInputMessaging System.String

Gets and sets the property BlockedInputMessaging.

The message that the guardrail returns when it blocks a prompt.

Public Property BlockedOutputsMessaging System.String

Gets and sets the property BlockedOutputsMessaging.

The message that the guardrail returns when it blocks a model response.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ContentPolicy Amazon.Bedrock.Model.GuardrailContentPolicy

Gets and sets the property ContentPolicy.

The content policy that was configured for the guardrail.

Public Property ContextualGroundingPolicy Amazon.Bedrock.Model.GuardrailContextualGroundingPolicy

Gets and sets the property ContextualGroundingPolicy.

The contextual grounding policy used in the guardrail.

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

The date and time at which the guardrail was created.

Public Property CrossRegionDetails Amazon.Bedrock.Model.GuardrailCrossRegionDetails

Gets and sets the property CrossRegionDetails.

Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).

Public Property Description System.String

Gets and sets the property Description.

The description of the guardrail.

Public Property FailureRecommendations System.Collections.Generic.List<System.String>

Gets and sets the property FailureRecommendations.

Appears if the status of the guardrail is FAILED. A list of recommendations to carry out before retrying the request.

Public Property GuardrailArn System.String

Gets and sets the property GuardrailArn.

The ARN of the guardrail.

Public Property GuardrailId System.String

Gets and sets the property GuardrailId.

The unique identifier of the guardrail.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property KmsKeyArn System.String

Gets and sets the property KmsKeyArn.

The ARN of the KMS key that encrypts the guardrail.

Public Property Name System.String

Gets and sets the property Name.

The name of the guardrail.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SensitiveInformationPolicy Amazon.Bedrock.Model.GuardrailSensitiveInformationPolicy

Gets and sets the property SensitiveInformationPolicy.

The sensitive information policy that was configured for the guardrail.

Public Property Status Amazon.Bedrock.GuardrailStatus

Gets and sets the property Status.

The status of the guardrail.

Public Property StatusReasons System.Collections.Generic.List<System.String>

Gets and sets the property StatusReasons.

Appears if the status is FAILED. A list of reasons for why the guardrail failed to be created, updated, versioned, or deleted.

Public Property TopicPolicy Amazon.Bedrock.Model.GuardrailTopicPolicy

Gets and sets the property TopicPolicy.

The topic policy that was configured for the guardrail.

Public Property UpdatedAt System.DateTime

Gets and sets the property UpdatedAt.

The date and time at which the guardrail was updated.

Public Property Version System.String

Gets and sets the property Version.

The version of the guardrail.

Public Property WordPolicy Amazon.Bedrock.Model.GuardrailWordPolicy

Gets and sets the property WordPolicy.

The word policy that was configured 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