Class: Aws::Context::Types::GetTaskResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::GetTaskResponse
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:description, :status_message]
Instance Attribute Summary collapse
-
#agent_context_id ⇒ String
The agent context's ID.
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the task.
-
#created_at ⇒ Time
The date and time when the task was created.
-
#description ⇒ String
The description of the task, as given to StartTask.
-
#id ⇒ String
The ID of the task.
-
#input_configuration ⇒ Types::TaskInputConfigurationSummary
A summary of the input that the task was started with.
-
#outputs ⇒ Array<Types::TaskOutput>
What the task created, in creation order.
-
#statistics ⇒ Types::TaskStatistics
Counts of the documents that the task analyzed and the change sets that it created.
-
#status ⇒ String
The status of the task.
-
#status_message ⇒ String
The reason the task failed.
-
#status_reason_code ⇒ String
The code for why the task failed.
-
#type ⇒ String
The type of the task.
-
#updated_at ⇒ Time
The date and time when the task was last updated, such as when its status changed.
Instance Attribute Details
#agent_context_id ⇒ String
The agent context's ID.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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.
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4217 class GetTaskResponse < 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 |