Class: Aws::Context::Types::StartOntologyInductionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::StartOntologyInductionRequest
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:prompt]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to make the request idempotent.
-
#input_config ⇒ Types::OntologyInductionInputConfig
The input to induce the ontology from.
-
#ontology_description ⇒ String
Optional.
-
#ontology_name ⇒ String
The new ontology's display name.
-
#ontology_tags ⇒ Hash<String,String>
Tags to add to the ontology the induction creates at DRAFT, with the same limits and rules as
tags. -
#prompt ⇒ String
Optional.
-
#seed_ontology_id ⇒ String
Optional.
-
#tags ⇒ Hash<String,String>
Tags to add to the induction when you create it: up to 200 in the request, of which at most 50 can be user tags.
Instance Attribute Details
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to make the
request idempotent. A retry of the same request with the same token
returns the induction that the first request created, and the same
token used with a different request returns a ValidationException.
If that induction, or the ontology it created, was deleted since, a
retry with the token fails with ConflictException.
A suitable default value is auto-generated. You should normally not need to pass this option.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |
#input_config ⇒ Types::OntologyInductionInputConfig
The input to induce the ontology from. Set exactly one member.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |
#ontology_description ⇒ String
Optional. The new ontology's description. An empty string is the same as none.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |
#ontology_name ⇒ String
The new ontology's display name.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |
#ontology_tags ⇒ Hash<String,String>
Tags to add to the ontology the induction creates at DRAFT, with the
same limits and rules as tags. They are checked here, and
supplying them also requires context:TagResource on the new
ontology. These tags go on the ontology only. tags go on the
induction.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |
#prompt ⇒ String
Optional. Instructions for the induction.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |
#seed_ontology_id ⇒ String
Optional. An existing ontology to start from, by ID or ARN. If you
omit it, AWS Context induces the ontology from the documents alone.
The seed must be an ontology that you own, it must be PUBLISHED,
and its current version must be derived from a Turtle source
document. You also need context:GetOntology permission on the
seed. If the seed doesn't exist, the request fails with
ResourceNotFoundException. If it can't be used, the request fails
with ValidationException. If the seed's source document is
deleted while the induction runs, is larger than 400,000 bytes, or
doesn't parse, the induction fails with SEED_INVALID.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Tags to add to the induction 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 induction. 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. These tags go on the
induction only. ontologyTags go on the ontology.
6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6712 class StartOntologyInductionRequest < Struct.new( :client_token, :ontology_name, :ontology_description, :input_config, :seed_ontology_id, :prompt, :tags, :ontology_tags) SENSITIVE = [:prompt] include Aws::Structure end |