Class: Aws::BedrockAgentCore::Types::MetadataValue

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

Overview

Note:

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

Note:

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

Value associated with the eventMetadata key.

Direct Known Subclasses

StringValue, Unknown

Defined Under Namespace

Classes: StringValue, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#string_valueString

Value associated with the eventMetadata key.

Returns:

  • (String)


2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2137

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

  class StringValue < MetadataValue; end
  class Unknown < MetadataValue; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2137
2138
2139
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2137

def unknown
  @unknown
end