Class: Aws::Context::Types::OntologyInductionDocument

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

Overview

One input document, uploaded in the request. The documents are the material that the ontology is induced from, not an ontology, so they don't use OntologySourceFormat. Only the seed and the induced result are Turtle.

Constant Summary collapse

SENSITIVE =
[:name, :content]

Instance Attribute Summary collapse

Instance Attribute Details

#content ⇒ String

The content of the document, of the type that contentType specifies. Each document can be up to 10,485,760 bytes (10 MiB), and all the documents in the request together up to 10 MiB.

Returns:

  • (String)


5114
5115
5116
5117
5118
5119
5120
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5114

class OntologyInductionDocument < Struct.new(
  :name,
  :content_type,
  :content)
  SENSITIVE = [:name, :content]
  include Aws::Structure
end

#content_type ⇒ String

The document's type. Its bytes must be a real document of this type. Otherwise the request fails with ValidationException.

Returns:

  • (String)


5114
5115
5116
5117
5118
5119
5120
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5114

class OntologyInductionDocument < Struct.new(
  :name,
  :content_type,
  :content)
  SENSITIVE = [:name, :content]
  include Aws::Structure
end

#name ⇒ String

The name of the document. Each document in the request needs its own name, and the name only labels the document, whose type contentType sets.

Returns:

  • (String)


5114
5115
5116
5117
5118
5119
5120
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5114

class OntologyInductionDocument < Struct.new(
  :name,
  :content_type,
  :content)
  SENSITIVE = [:name, :content]
  include Aws::Structure
end