Class: Aws::BedrockAgent::Types::CreateAgentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::CreateAgentRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockagent/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:instruction, :prompt_override_configuration]
Instance Attribute Summary collapse
-
#agent_name ⇒ String
A name for the agent that you create.
-
#agent_resource_role_arn ⇒ String
The ARN of the IAM role with permissions to create the agent.
-
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
-
#customer_encryption_key_arn ⇒ String
The ARN of the KMS key with which to encrypt the agent.
-
#description ⇒ String
A description of the agent.
-
#foundation_model ⇒ String
The foundation model to be used for orchestration by the agent you create.
-
#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
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.
-
#tags ⇒ Hash<String,String>
Any tags that you want to attach to the agent.
Instance Attribute Details
#agent_name ⇒ String
A name for the agent that you create.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#agent_resource_role_arn ⇒ String
The ARN of the IAM role with permissions to create the agent. The ARN must begin with ‘AmazonBedrockExecutionRoleForAgents_`.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#client_token ⇒ String
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].
**A suitable default value is auto-generated.** You should normally not need to pass this option.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#customer_encryption_key_arn ⇒ String
The ARN of the KMS key with which to encrypt the agent.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#description ⇒ String
A description of the agent.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#foundation_model ⇒ String
The foundation model to be used for orchestration by the agent you create.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) 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.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#instruction ⇒ String
Instructions that tell the agent what it should do and how it should interact with users.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) 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
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Any tags that you want to attach to the agent.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1146 class CreateAgentRequest < Struct.new( :agent_name, :agent_resource_role_arn, :client_token, :customer_encryption_key_arn, :description, :foundation_model, :idle_session_ttl_in_seconds, :instruction, :prompt_override_configuration, :tags) SENSITIVE = [:instruction, :prompt_override_configuration] include Aws::Structure end |