Class: Aws::BedrockAgentCore::Types::ToolDescriptionSource

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

Overview

Note:

ToolDescriptionSource is a union - when making an API calls you must set exactly one of the members.

Note:

ToolDescriptionSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ToolDescriptionSource corresponding to the set member.

The source of tool descriptions, either inline text or from a configuration bundle.

Defined Under Namespace

Classes: ConfigurationBundle, ToolDescriptionText, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_bundle ⇒ Types::ToolDescriptionConfigurationBundle

Tool descriptions sourced from a configuration bundle version.



11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11032

class ToolDescriptionSource < Struct.new(
  :tool_description_text,
  :configuration_bundle,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ToolDescriptionText < ToolDescriptionSource; end
  class ConfigurationBundle < ToolDescriptionSource; end
  class Unknown < ToolDescriptionSource; end
end

#tool_description_text ⇒ Types::ToolDescriptionTextInput

Tool descriptions provided as inline text.



11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11032

class ToolDescriptionSource < Struct.new(
  :tool_description_text,
  :configuration_bundle,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ToolDescriptionText < ToolDescriptionSource; end
  class ConfigurationBundle < ToolDescriptionSource; end
  class Unknown < ToolDescriptionSource; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



11032
11033
11034
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 11032

def unknown
  @unknown
end