Class: Aws::BedrockAgent::Types::UpdateAgentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Update Agent Request

Constant Summary collapse

SENSITIVE =
[:instruction, :prompt_override_configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idString

Id generated at the server side when an Agent is created

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_nameString

Name for a resource.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_resource_role_arnString

ARN of a IAM role.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#customer_encryption_key_arnString

A KMS key ARN

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#descriptionString

Description of the Resource.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#foundation_modelString

ARN or name of a Bedrock model.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#idle_session_ttl_in_secondsInteger

Max Session Time.

Returns:

  • (Integer)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#instructionString

Instruction for the agent.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#prompt_override_configurationTypes::PromptOverrideConfiguration

Configuration for prompt override.



3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/aws-sdk-bedrockagent/types.rb', line 3190

class UpdateAgentRequest < Struct.new(
  :agent_id,
  :agent_name,
  :instruction,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end