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 CreateAgent operation. Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.BedrockAgent.AmazonBedrockAgentRequest
      Amazon.BedrockAgent.Model.CreateAgentRequest

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

Syntax

C#
public class CreateAgentRequest : AmazonBedrockAgentRequest
         IAmazonWebServiceRequest

The CreateAgentRequest type exposes the following members

Constructors

NameDescription
Public Method CreateAgentRequest()

Properties

NameTypeDescription
Public Property AgentName System.String

Gets and sets the property AgentName.

A name for the agent that you create.

Public Property AgentResourceRoleArn System.String

Gets and sets the property AgentResourceRoleArn.

The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

Public Property CustomerEncryptionKeyArn System.String

Gets and sets the property CustomerEncryptionKeyArn.

The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.

Public Property Description System.String

Gets and sets the property Description.

A description of the agent.

Public Property FoundationModel System.String

Gets and sets the property FoundationModel.

The foundation model to be used for orchestration by the agent you create.

Public Property GuardrailConfiguration Amazon.BedrockAgent.Model.GuardrailConfiguration

Gets and sets the property GuardrailConfiguration.

The unique Guardrail configuration assigned to the agent when it is created.

Public Property IdleSessionTTLInSeconds System.Int32

Gets and sets the property IdleSessionTTLInSeconds.

The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.

A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.

Public Property Instruction System.String

Gets and sets the property Instruction.

Instructions that tell the agent what it should do and how it should interact with users.

Public Property MemoryConfiguration Amazon.BedrockAgent.Model.MemoryConfiguration

Gets and sets the property MemoryConfiguration.

Contains the details of the memory configured for the agent.

Public Property PromptOverrideConfiguration Amazon.BedrockAgent.Model.PromptOverrideConfiguration

Gets and sets the property PromptOverrideConfiguration.

Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

Any tags that you want to attach to the agent.

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