Class: Aws::Context::Types::TaskInputConfiguration

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

Overview

Note:

TaskInputConfiguration is a union - when making an API calls you must set exactly one of the members.

What a task does and what it reads: exactly one member, which sets the task's type.

Defined Under Namespace

Classes: ImportDataDictionary, ImportOntology, ImportVerifiedQueries, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#import_data_dictionary ⇒ Types::ImportDataDictionaryTaskConfiguration

Imports a data dictionary into the agent context from documents of type CSV, JSON, YAML, or MARKDOWN. The task's type is IMPORT_DATA_DICTIONARY.



7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7052

class TaskInputConfiguration < Struct.new(
  :import_data_dictionary,
  :import_verified_queries,
  :import_ontology,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ImportDataDictionary < TaskInputConfiguration; end
  class ImportVerifiedQueries < TaskInputConfiguration; end
  class ImportOntology < TaskInputConfiguration; end
  class Unknown < TaskInputConfiguration; end
end

#import_ontology ⇒ Types::ImportOntologyTaskConfiguration

Imports one or more ontologies into the agent context. The task's type is IMPORT_ONTOLOGY.



7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7052

class TaskInputConfiguration < Struct.new(
  :import_data_dictionary,
  :import_verified_queries,
  :import_ontology,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ImportDataDictionary < TaskInputConfiguration; end
  class ImportVerifiedQueries < TaskInputConfiguration; end
  class ImportOntology < TaskInputConfiguration; end
  class Unknown < TaskInputConfiguration; end
end

#import_verified_queries ⇒ Types::ImportVerifiedQueriesTaskConfiguration

Imports verified queries into the agent context from documents of type SQL, CSV, JSON, or TXT. The task's type is IMPORT_VERIFIED_QUERIES.



7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7052

class TaskInputConfiguration < Struct.new(
  :import_data_dictionary,
  :import_verified_queries,
  :import_ontology,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ImportDataDictionary < TaskInputConfiguration; end
  class ImportVerifiedQueries < TaskInputConfiguration; end
  class ImportOntology < TaskInputConfiguration; end
  class Unknown < TaskInputConfiguration; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



7052
7053
7054
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7052

def unknown
  @unknown
end