View a markdown version of this page

OntologyInductionDocument - AWS Context

OntologyInductionDocument

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.

Contents

content

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.

Type: Base64-encoded binary data object

Length Constraints: Minimum length of 1. Maximum length of 10485760.

Required: Yes

contentType

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

Type: String

Valid Values: PDF | TXT | MARKDOWN | CSV | JSON | YAML | DOC | DOCX | HTML

Required: Yes

name

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: (?!\.\.?$)[^/\\\p{Cc}\p{Cs}]+

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: