Class: Aws::Context::Types::GetOntologyRequest

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

Overview

Identifies the ontology to return and, optionally, the version.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ontology_id ⇒ String

The ontology to return, by its ID or ARN (see OntologyIdentifier).

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3958

class GetOntologyRequest < Struct.new(
  :ontology_id,
  :version,
  :source_format)
  SENSITIVE = []
  include Aws::Structure
end

#source_format ⇒ String

Return the version's source document in source, in this format, in place of the template. The response then has no template. The format must be the version's sourceFormat. On a DRAFT ontology, GetOntology returns the draft, with or without version (its only version is 1.0.0). If the ontology is AWS managed, whose source is never returned, or the version has no source document, the request fails with ValidationException. If you omit it, the response has the template and no source.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3958

class GetOntologyRequest < Struct.new(
  :ontology_id,
  :version,
  :source_format)
  SENSITIVE = []
  include Aws::Structure
end

#version ⇒ String

The version to return, in MAJOR.MINOR.PATCH form, for example 1.0.0. If you omit it, GetOntology returns the current default version.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3958

class GetOntologyRequest < Struct.new(
  :ontology_id,
  :version,
  :source_format)
  SENSITIVE = []
  include Aws::Structure
end