Class: Aws::OpenSearchMemory::Types::StructuredDataSource

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

Overview

Note:

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

Note:

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

The source of structured content. Set exactly one member. Currently, the only member is json.

Defined Under Namespace

Classes: Json, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#json ⇒ Hash, ...

The structured content, as a JSON object of at most 1 MiB when serialized as UTF-8, nested at most 10 levels deep.

Returns:

  • (Hash, Array, String, Numeric, Boolean)


1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1894

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

  class Json < StructuredDataSource; end
  class Unknown < StructuredDataSource; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1894
1895
1896
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1894

def unknown
  @unknown
end