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 ListGuardrails operation. Lists details about all the guardrails in an account. To list the DRAFT version of all your guardrails, don't specify the guardrailIdentifier field. To list all versions of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier field.

You can set the maximum number of results to return in a response in the maxResults field. If there are more results than the number you set, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.

Inheritance Hierarchy

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

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

Syntax

C#
public class ListGuardrailsRequest : AmazonBedrockRequest
         IAmazonWebServiceRequest

The ListGuardrailsRequest type exposes the following members

Constructors

NameDescription
Public Method ListGuardrailsRequest()

Properties

NameTypeDescription
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 MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return in the response.

Public Property NextToken System.String

Gets and sets the property NextToken.

If there are more results than were returned in the response, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.

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