Class: Aws::Context::Types::StartTaskResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:description, :status_message]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_context_id ⇒ String

The agent context's ID.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#arn ⇒ String

The Amazon Resource Name (ARN) of the task.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#created_at ⇒ Time

The date and time when the task was created.

Returns:

  • (Time)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#description ⇒ String

The description of the task, as given to StartTask.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#id ⇒ String

The ID of the task. Pass it as taskId to GetTask or CancelTask.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#input_configuration ⇒ Types::TaskInputConfigurationSummary

A summary of the input that the task was started with. Each document is returned as its name, size, and content type, not its content, and each ontology is returned as its ARN and, if set, its version.



6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#outputs ⇒ Array<Types::TaskOutput>

What the task created, in creation order. Set when it finishes.

Returns:



6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#statistics ⇒ Types::TaskStatistics

Counts of the documents that the task analyzed and the change sets that it created. The counts are final once the task is COMPLETED, FAILED, or CANCELLED.



6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#status ⇒ String

The status of the task. A task moves from PENDING to IN_PROGRESS and ends COMPLETED, FAILED, or CANCELLED. After CancelTask, it is CANCELLING until it stops.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#status_message ⇒ String

The reason the task failed. Present only when status is FAILED.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#status_reason_code ⇒ String

The code for why the task failed. Present only when status is FAILED.

Valid values:

  • GRAPH_NOT_ACTIVE - The agent context was deleted, or was not yet available, while the task ran.

  • ONTOLOGY_INVALID - An ontology is missing, has no loadable source, or its source is unsafe or too large.

  • ONTOLOGY_IMPORT_UNAVAILABLE - An ontology couldn't be imported because of a temporary problem. Start a new task.

  • ONTOLOGY_ALREADY_IMPORTED - This ontology version is already imported into the agent context.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#type ⇒ String

The type of the task. It is set by the inputConfiguration member that the task was started with: IMPORT_DATA_DICTIONARY, IMPORT_VERIFIED_QUERIES, or IMPORT_ONTOLOGY.

Returns:

  • (String)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end

#updated_at ⇒ Time

The date and time when the task was last updated, such as when its status changed. Equal to createdAt until the task first changes.

Returns:

  • (Time)


6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6874

class StartTaskResponse < Struct.new(
  :id,
  :arn,
  :agent_context_id,
  :type,
  :status,
  :description,
  :created_at,
  :updated_at,
  :status_reason_code,
  :status_message,
  :statistics,
  :input_configuration,
  :outputs)
  SENSITIVE = [:description, :status_message]
  include Aws::Structure
end