UpdateAgentRequest
¶
Source code in docs_src/capo_bedrock_agent/types/update_agent_request.py
agent_collaboration
instance-attribute
¶
agent_collaboration: NotRequired[AgentCollaboration]
The agent's collaboration role.
agent_resource_role_arn
instance-attribute
¶
agent_resource_role_arn: AgentRoleArn
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
custom_orchestration
instance-attribute
¶
custom_orchestration: NotRequired[CustomOrchestration]
Contains details of the custom orchestration configured for the agent.
customer_encryption_key_arn
instance-attribute
¶
customer_encryption_key_arn: NotRequired[KmsKeyArn]
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
description
instance-attribute
¶
description: NotRequired[Description]
Specifies a new description of the agent.
foundation_model
instance-attribute
¶
foundation_model: NotRequired[ModelIdentifier]
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:
-
If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see Amazon Bedrock base model IDs (on-demand throughput) in the Amazon Bedrock User Guide.
-
If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see Supported Regions and models for cross-region inference in the Amazon Bedrock User Guide.
-
If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see Run inference using a Provisioned Throughput in the Amazon Bedrock User Guide.
-
If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see Use a custom model in Amazon Bedrock in the Amazon Bedrock User Guide.
-
If you use an imported model, specify the ARN of the imported model. You can get the model ARN from a successful call to CreateModelImportJob or from the Imported models page in the Amazon Bedrock console.
guardrail_configuration
instance-attribute
¶
guardrail_configuration: NotRequired[GuardrailConfiguration]
The unique Guardrail configuration assigned to the agent when it is updated.
idle_session_ttl_in_seconds
instance-attribute
¶
idle_session_ttl_in_seconds: NotRequired[SessionTTL]
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.
instruction
instance-attribute
¶
instruction: NotRequired[Instruction]
Specifies new instructions that tell the agent what it should do and how it should interact with users.
memory_configuration
instance-attribute
¶
memory_configuration: NotRequired[MemoryConfiguration]
Specifies the new memory configuration for the agent.
orchestration_type
instance-attribute
¶
orchestration_type: NotRequired[OrchestrationType]
Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.
prompt_override_configuration
instance-attribute
¶
prompt_override_configuration: NotRequired[PromptOverrideConfiguration]
Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.