Class: Aws::BedrockAgent::Types::AgentVersion

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

Overview

Contains the information of an agent version.

Constant Summary collapse

SENSITIVE =
[:instruction, :prompt_override_configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_arnString

Arn representation of the Agent.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_idString

Identifier for a resource.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_nameString

Name for a resource.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_resource_role_arnString

ARN of a IAM role.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#agent_statusString

Schema Type for Action APIs.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#created_atTime

Time Stamp.

Returns:

  • (Time)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#customer_encryption_key_arnString

A KMS key ARN

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#descriptionString

Description of the Resource.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#failure_reasonsArray<String>

Failure Reasons for Error.

Returns:

  • (Array<String>)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#foundation_modelString

ARN or name of a Bedrock model.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#idle_session_ttl_in_secondsInteger

Max Session Time.

Returns:

  • (Integer)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#instructionString

Instruction for the agent.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#prompt_override_configurationTypes::PromptOverrideConfiguration

Configuration for prompt override.



610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

The recommended actions users can take to resolve an error in failureReasons.

Returns:

  • (Array<String>)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#updated_atTime

Time Stamp.

Returns:

  • (Time)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end

#versionString

Numerical Agent Version.

Returns:

  • (String)


610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/aws-sdk-bedrockagent/types.rb', line 610

class AgentVersion < Struct.new(
  :agent_id,
  :agent_name,
  :agent_arn,
  :version,
  :instruction,
  :agent_status,
  :foundation_model,
  :description,
  :idle_session_ttl_in_seconds,
  :agent_resource_role_arn,
  :customer_encryption_key_arn,
  :created_at,
  :updated_at,
  :failure_reasons,
  :recommended_actions,
  :prompt_override_configuration)
  SENSITIVE = [:instruction, :prompt_override_configuration]
  include Aws::Structure
end