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 UpdateAgent operation. Updates the configuration of an agent.

Inheritance Hierarchy

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

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

Syntax

C#
public class UpdateAgentRequest : AmazonBedrockAgentRequest
         IAmazonWebServiceRequest

The UpdateAgentRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateAgentRequest()

Properties

NameTypeDescription
Public Property AgentCollaboration Amazon.BedrockAgent.AgentCollaboration

Gets and sets the property AgentCollaboration.

The agent's collaboration role.

Public Property AgentId System.String

Gets and sets the property AgentId.

The unique identifier of the agent.

Public Property AgentName System.String

Gets and sets the property AgentName.

Specifies a new name for the agent.

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 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 CustomOrchestration Amazon.BedrockAgent.Model.CustomOrchestration

Gets and sets the property CustomOrchestration.

Contains details of the custom orchestration configured for the agent.

Public Property Description System.String

Gets and sets the property Description.

Specifies a new description of the agent.

Public Property FoundationModel System.String

Gets and sets the property FoundationModel.

The identifier for the model that you want to be used for orchestration by the agent you create.

The modelId to provide depends on the type of model or throughput that you use:

Public Property GuardrailConfiguration Amazon.BedrockAgent.Model.GuardrailConfiguration

Gets and sets the property GuardrailConfiguration.

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

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.

Specifies new 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.

Specifies the new memory configuration for the agent.

Public Property OrchestrationType Amazon.BedrockAgent.OrchestrationType

Gets and sets the property OrchestrationType.

Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.

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.

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