Class: Aws::BedrockAgent::Types::UpdateAgentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::UpdateAgentRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockagent/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:instruction, :prompt_override_configuration]
Instance Attribute Summary collapse
-
#agent_id ⇒ String
The unique identifier of the agent.
-
#agent_name ⇒ String
Specifies a new name for the agent.
-
#agent_resource_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
-
#customer_encryption_key_arn ⇒ String
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
-
#description ⇒ String
Specifies a new description of the agent.
-
#foundation_model ⇒ String
Specifies a new foundation model to be used for orchestration by the agent.
-
#guardrail_configuration ⇒ Types::GuardrailConfiguration
The unique Guardrail configuration assigned to the agent when it is updated.
-
#idle_session_ttl_in_seconds ⇒ Integer
The number of seconds for which Amazon Bedrock keeps information about a user’s conversation with the agent.
-
#instruction ⇒ String
Specifies new instructions that tell the agent what it should do and how it should interact with users.
-
#prompt_override_configuration ⇒ Types::PromptOverrideConfiguration
Contains configurations to override prompts in different parts of an agent sequence.
Instance Attribute Details
#agent_id ⇒ String
The unique identifier of the agent.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#agent_name ⇒ String
Specifies a new name for the agent.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#agent_resource_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#customer_encryption_key_arn ⇒ String
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#description ⇒ String
Specifies a new description of the agent.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#foundation_model ⇒ String
Specifies a new foundation model to be used for orchestration by the agent.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#guardrail_configuration ⇒ Types::GuardrailConfiguration
The unique Guardrail configuration assigned to the agent when it is updated.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#idle_session_ttl_in_seconds ⇒ Integer
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.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#instruction ⇒ String
Specifies new instructions that tell the agent what it should do and how it should interact with users.
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#prompt_override_configuration ⇒ Types::PromptOverrideConfiguration
Contains configurations to override prompts in different parts of an agent sequence. For more information, see [Advanced prompts].
[1]: docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4081 class UpdateAgentRequest < Struct.new( :agent_id, :agent_name, :agent_resource_role_arn, :customer_encryption_key_arn, :description, :foundation_model, :guardrail_configuration, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |