Class: Aws::Context::Types::GetOntologyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::GetOntologyResponse
- 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
-
#arn ⇒ String
The ARN of the ontology.
-
#created_at ⇒ Time
When this version was created.
-
#derivation_version ⇒ String
Identifies the derivation rules that produced this template.
-
#description ⇒ String
The ontology's description.
-
#id ⇒ String
The ID of the ontology, assigned by AWS Context.
-
#name ⇒ String
The ontology's current display name.
-
#ontology_induction_id ⇒ String
The induction that made the ontology.
-
#published_at ⇒ Time
Publish time of the DEFAULT version.
-
#revision_id ⇒ String
The revision of the draft.
-
#source ⇒ String
The source document of the returned version, or the draft of a
DRAFTontology, with or withoutversion. -
#source_format ⇒ String
The format of the version's source document.
-
#status ⇒ String
The ontology's status.
-
#template ⇒ String
The serialized template JSON for this version (see OntologyTemplate).
-
#updated_at ⇒ Time
When the ontology itself last changed.
-
#validation_issues ⇒ Array<Types::OntologyValidationIssue>
Non-fatal warnings raised while deriving the returned version.
-
#version ⇒ String
The version of the ontology, in MAJOR.MINOR.PATCH form, for example
1.0.0.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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).
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.
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.
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.
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 |