Class: Aws::Context::Types::GetOntologyResponse

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

Overview

The resolved ontology version's metadata and template, and the ontology's status. With sourceFormat, the response carries no template, and source carries the version's source document, or the draft on a DRAFT, with or without version. A DRAFT also returns revisionId, and the draft's warnings in validationIssues.

Constant Summary collapse

SENSITIVE =
[:template, :source]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The ARN of the ontology. It has no account for an AWS managed ontology, and includes the account for a customer-owned one. Use it to address the same ontology again.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#created_at ⇒ Time

When this version was created. Absent when the stored version carries no creation time.

Returns:

  • (Time)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#derivation_version ⇒ String

Identifies the derivation rules that produced this template. Node ID formulas don't change after a version is published.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#description ⇒ String

The ontology's description. The same for every version. Absent when the ontology has none.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#id ⇒ String

The ID of the ontology, assigned by AWS Context.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#name ⇒ String

The ontology's current display name. The same for every version. Absent for an AWS managed ontology, which has no name, and for a customer-owned ontology that was created without a name and hasn't been named since.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#ontology_induction_id ⇒ String

The induction that made the ontology. Absent for an ontology CreateOntology made.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#published_at ⇒ Time

Publish time of the DEFAULT version. Absent for non-default versions, and while the ontology is DRAFT: a DRAFT ontology stays a draft until you publish it in the AWS Context console.

Returns:

  • (Time)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#revision_id ⇒ String

The revision of the draft. Set only for a DRAFT ontology.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#source ⇒ String

The source document of the returned version, or the draft of a DRAFT ontology, with or without version. Set only when the request set sourceFormat. Absent otherwise.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#source_format ⇒ String

The format of the version's source document. On a DRAFT, TURTLE, the format of the draft. Set whether or not the request asked for source, and a source in the response is in this format. On an AWS managed ontology, it names the format that its template was derived from, but its source is never returned (see sourceFormat on the request).

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#status ⇒ String

The ontology's status. PUBLISHED for every ontology CreateOntology made. Check it before using the template: a DRAFT ontology stays a draft until you publish it in the AWS Context console, and until then its template is the empty template of version 1.0.0 and GetOntology returns the draft.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#template ⇒ String

The serialized template JSON for this version (see OntologyTemplate).

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#updated_at ⇒ Time

When the ontology itself last changed. Equal to the ontology's creation time until the first update. The top-level createdAt (from the version fields) is the returned version's creation time, not the ontology's.

Returns:

  • (Time)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#validation_issues ⇒ Array<Types::OntologyValidationIssue>

Non-fatal warnings raised while deriving the returned version. On a DRAFT, the warnings from deriving the draft.

Returns:



4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end

#version ⇒ String

The version of the ontology, in MAJOR.MINOR.PATCH form, for example 1.0.0.

Returns:

  • (String)


4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4066

class GetOntologyResponse < Struct.new(
  :arn,
  :version,
  :template,
  :created_at,
  :published_at,
  :name,
  :description,
  :derivation_version,
  :id,
  :status,
  :updated_at,
  :ontology_induction_id,
  :source,
  :source_format,
  :revision_id,
  :validation_issues)
  SENSITIVE = [:template, :source]
  include Aws::Structure
end