Class: Aws::BedrockAgentCore::Types::Content

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

Overview

Note:

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

Note:

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

Contains the content of a memory item.

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#text ⇒ String

The text content of the memory item.

Returns:

  • (String)


1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1368

class Content < Struct.new(
  :text,
  :unknown)
  SENSITIVE = [:text]
  include Aws::Structure
  include Aws::Structure::Union

  class Text < Content; end
  class Unknown < Content; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1368
1369
1370
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1368

def unknown
  @unknown
end