SetTaskStatusInput

public struct SetTaskStatusInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let errorId: String?
  • 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.

    Declaration

    Swift

    public let errorMessage: String?
  • 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.

    Declaration

    Swift

    public let errorStackTrace: String?
  • The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.

    Declaration

    Swift

    public let taskId: String
  • If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully. Preconditions use false.

    Declaration

    Swift

    public let taskStatus: TaskStatus
  • Undocumented

    Declaration

    Swift

    public init(errorId: String? = nil, errorMessage: String? = nil, errorStackTrace: String? = nil, taskId: String, taskStatus: TaskStatus)
  • Declaration

    Swift

    public func validate(name: String) throws