Class: Aws::BedrockAgent::Types::AgentVersion
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::AgentVersion
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockagent/types.rb
Overview
Contains details about a version of an agent.
Constant Summary collapse
- SENSITIVE =
[:instruction, :prompt_override_configuration]
Instance Attribute Summary collapse
-
#agent_arn ⇒ String
The ARN of the agent that the version belongs to.
-
#agent_id ⇒ String
The unique identifier of the agent that the version belongs to.
-
#agent_name ⇒ String
The name of the agent that the version belongs to.
-
#agent_resource_role_arn ⇒ String
The ARN of the IAM role with permissions to invoke API operations on the agent.
-
#agent_status ⇒ String
The status of the agent that the version belongs to.
-
#created_at ⇒ Time
The time at which the version was created.
-
#customer_encryption_key_arn ⇒ String
The ARN of the KMS key that encrypts the agent.
-
#description ⇒ String
The description of the version.
-
#failure_reasons ⇒ Array<String>
A list of reasons that the API operation on the version failed.
-
#foundation_model ⇒ String
The foundation model that the version invokes.
-
#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
The instructions provided to the agent.
-
#prompt_override_configuration ⇒ Types::PromptOverrideConfiguration
Contains configurations to override prompt templates in different parts of an agent sequence.
-
#recommended_actions ⇒ Array<String>
A list of recommended actions to take for the failed API operation on the version to succeed.
-
#updated_at ⇒ Time
The time at which the version was last updated.
-
#version ⇒ String
The version number.
Instance Attribute Details
#agent_arn ⇒ String
The ARN of the agent that the version belongs to.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#agent_id ⇒ String
The unique identifier of the agent that the version belongs to.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#agent_name ⇒ String
The name of the agent that the version belongs to.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#agent_resource_role_arn ⇒ String
The ARN of the IAM role with permissions to invoke API operations on the agent. The ARN must begin with ‘AmazonBedrockExecutionRoleForAgents_`.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#agent_status ⇒ String
The status of the agent that the version belongs to.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#created_at ⇒ Time
The time at which the version was created.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#customer_encryption_key_arn ⇒ String
The ARN of the KMS key that encrypts the agent.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#description ⇒ String
The description of the version.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#failure_reasons ⇒ Array<String>
A list of reasons that the API operation on the version failed.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#foundation_model ⇒ String
The foundation model that the version invokes.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) 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.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#instruction ⇒ String
The instructions provided to the agent.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#prompt_override_configuration ⇒ Types::PromptOverrideConfiguration
Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts].
[1]: docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#recommended_actions ⇒ Array<String>
A list of recommended actions to take for the failed API operation on the version to succeed.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#updated_at ⇒ Time
The time at which the version was last updated.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#version ⇒ String
The version number.
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 760 class AgentVersion < Struct.new( :agent_arn, :agent_id, :agent_name, :agent_resource_role_arn, :agent_status, :created_at, :customer_encryption_key_arn, :description, :failure_reasons, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :recommended_actions, :updated_at, :version) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |