Class: Aws::DataPipeline::Types::SetTaskStatusInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datapipeline/types.rb

Overview

Contains the parameters for SetTaskStatus.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_idString

If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string “Service_” which is reserved by the system.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
# File 'lib/aws-sdk-datapipeline/types.rb', line 1108

class SetTaskStatusInput < Struct.new(
  :task_id,
  :task_status,
  :error_id,
  :error_message,
  :error_stack_trace)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
# File 'lib/aws-sdk-datapipeline/types.rb', line 1108

class SetTaskStatusInput < Struct.new(
  :task_id,
  :task_status,
  :error_id,
  :error_message,
  :error_stack_trace)
  SENSITIVE = []
  include Aws::Structure
end

#error_stack_traceString

If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
# File 'lib/aws-sdk-datapipeline/types.rb', line 1108

class SetTaskStatusInput < Struct.new(
  :task_id,
  :task_status,
  :error_id,
  :error_message,
  :error_stack_trace)
  SENSITIVE = []
  include Aws::Structure
end

#task_idString

The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
# File 'lib/aws-sdk-datapipeline/types.rb', line 1108

class SetTaskStatusInput < Struct.new(
  :task_id,
  :task_status,
  :error_id,
  :error_message,
  :error_stack_trace)
  SENSITIVE = []
  include Aws::Structure
end

#task_statusString

If ‘FINISHED`, the task successfully completed. If `FAILED`, the task ended unsuccessfully. Preconditions use false.

Returns:

  • (String)


1108
1109
1110
1111
1112
1113
1114
1115
1116
# File 'lib/aws-sdk-datapipeline/types.rb', line 1108

class SetTaskStatusInput < Struct.new(
  :task_id,
  :task_status,
  :error_id,
  :error_message,
  :error_stack_trace)
  SENSITIVE = []
  include Aws::Structure
end