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.

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)


3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 3517

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



3517
3518
3519
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 3517

def unknown
  @unknown
end