AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SetTaskStatusInput

import "github.com/aws/aws-sdk-go/service/datapipeline"

type SetTaskStatusInput struct { ErrorId *string `locationName:"errorId" type:"string"` ErrorMessage *string `locationName:"errorMessage" type:"string"` ErrorStackTrace *string `locationName:"errorStackTrace" type:"string"` TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"` TaskStatus *string `locationName:"taskStatus" type:"string" required:"true" enum:"TaskStatus"` }

Contains the parameters for SetTaskStatus.

ErrorId

Type: *string

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.

ErrorMessage

Type: *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.

ErrorStackTrace

Type: *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.

TaskId

Type: *string

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

TaskId is a required field

TaskStatus

Type: *string

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

TaskStatus is a required field

Method

GoString

func (s SetTaskStatusInput) GoString() string

GoString returns the string representation

SetErrorId

func (s *SetTaskStatusInput) SetErrorId(v string) *SetTaskStatusInput

SetErrorId sets the ErrorId field's value.

SetErrorMessage

func (s *SetTaskStatusInput) SetErrorMessage(v string) *SetTaskStatusInput

SetErrorMessage sets the ErrorMessage field's value.

SetErrorStackTrace

func (s *SetTaskStatusInput) SetErrorStackTrace(v string) *SetTaskStatusInput

SetErrorStackTrace sets the ErrorStackTrace field's value.

SetTaskId

func (s *SetTaskStatusInput) SetTaskId(v string) *SetTaskStatusInput

SetTaskId sets the TaskId field's value.

SetTaskStatus

func (s *SetTaskStatusInput) SetTaskStatus(v string) *SetTaskStatusInput

SetTaskStatus sets the TaskStatus field's value.

String

func (s SetTaskStatusInput) String() string

String returns the string representation

Validate

func (s *SetTaskStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: