Class: Aws::Context::Types::CreateOntologyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:source]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

Client idempotency token. A reused token with an identical request returns the existing ontology with no second write. A reused token with a different request (any member differs, for example name, description, sourceFormat, or source) is a ValidationException naming clientToken, never a ConflictException. The AWS SDKs generate the token automatically. A request that arrives without a token is a ValidationException.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2335

class CreateOntologyRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :source_format,
  :source,
  :tags)
  SENSITIVE = [:source]
  include Aws::Structure
end

#description ⇒ String

Optional description of the ontology. Part of the idempotency comparison on a replay.

Returns:

  • (String)


2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2335

class CreateOntologyRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :source_format,
  :source,
  :tags)
  SENSITIVE = [:source]
  include Aws::Structure
end

#name ⇒ String

Friendly display name for the ontology (for example, "Sales Org"). AWS Context assigns the ontology its opaque ID. This name is a non-unique label. You can rename the ontology in the AWS Context console.

Returns:

  • (String)


2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2335

class CreateOntologyRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :source_format,
  :source,
  :tags)
  SENSITIVE = [:source]
  include Aws::Structure
end

#source ⇒ String

An OWL ontology to derive the template from, in sourceFormat.

Returns:

  • (String)


2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2335

class CreateOntologyRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :source_format,
  :source,
  :tags)
  SENSITIVE = [:source]
  include Aws::Structure
end

#source_format ⇒ String

The format of source. The only supported value is TURTLE.

Returns:

  • (String)


2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2335

class CreateOntologyRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :source_format,
  :source,
  :tags)
  SENSITIVE = [:source]
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

Tags to add to the ontology when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new ontology. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.

Returns:

  • (Hash<String,String>)


2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2335

class CreateOntologyRequest < Struct.new(
  :client_token,
  :name,
  :description,
  :source_format,
  :source,
  :tags)
  SENSITIVE = [:source]
  include Aws::Structure
end