Class: Aws::Context::Types::OntologyValidationIssue

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

Overview

One reason an uploaded ontology was rejected, or a non-fatal warning about a construct that could not be fully represented in the derived template, also in the draft of an induced ontology.

Constant Summary collapse

SENSITIVE =
[:message, :subject]

Instance Attribute Summary collapse

Instance Attribute Details

#code ⇒ String

A code that identifies the issue, such as RDF_PARSE_ERROR or UNMAPPABLE_CLASS. New codes can be added, so handle a code that you don't recognize.

Returns:

  • (String)


5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5486

class OntologyValidationIssue < Struct.new(
  :code,
  :message,
  :line,
  :subject)
  SENSITIVE = [:message, :subject]
  include Aws::Structure
end

#line ⇒ Integer

1-based line in the uploaded source, when the failure is attributable to a specific triple.

Returns:

  • (Integer)


5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5486

class OntologyValidationIssue < Struct.new(
  :code,
  :message,
  :line,
  :subject)
  SENSITIVE = [:message, :subject]
  include Aws::Structure
end

#message ⇒ String

A human-readable description of the issue.

Returns:

  • (String)


5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5486

class OntologyValidationIssue < Struct.new(
  :code,
  :message,
  :line,
  :subject)
  SENSITIVE = [:message, :subject]
  include Aws::Structure
end

#subject ⇒ String

What the issue is about, when attributable. From an ontology operation, such as GetOntology: the offending subject/predicate IRI. In the draft of an induced ontology, the IRI of a term.

Returns:

  • (String)


5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5486

class OntologyValidationIssue < Struct.new(
  :code,
  :message,
  :line,
  :subject)
  SENSITIVE = [:message, :subject]
  include Aws::Structure
end