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)


2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2586

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



2586
2587
2588
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2586

def unknown
  @unknown
end