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

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

Overview

Constant Summary collapse

SENSITIVE =
[:instruction, :prompt_override_configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idString

The unique identifier of the agent.

Returns:

  • (String)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#agent_nameString

Specifies a new name for the agent.

Returns:

  • (String)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#agent_resource_role_arnString

The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.

Returns:

  • (String)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#customer_encryption_key_arnString

The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.

Returns:

  • (String)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#descriptionString

Specifies a new description of the agent.

Returns:

  • (String)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#foundation_modelString

Specifies a new foundation model to be used for orchestration by the agent.

Returns:

  • (String)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#idle_session_ttl_in_secondsInteger

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.

Returns:

  • (Integer)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#instructionString

Specifies new instructions that tell the agent what it should do and how it should interact with users.

Returns:

  • (String)


3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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

#prompt_override_configurationTypes::PromptOverrideConfiguration

Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.



3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3993

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