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.

TaskObject

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

type TaskObject struct { AttemptId *string `locationName:"attemptId" min:"1" type:"string"` Objects map[string]*PipelineObject `locationName:"objects" type:"map"` PipelineId *string `locationName:"pipelineId" min:"1" type:"string"` TaskId *string `locationName:"taskId" min:"1" type:"string"` }

Contains information about a pipeline task that is assigned to a task runner.

AttemptId

Type: *string

The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

Objects

Type: map[string]*PipelineObject

Connection information for the location where the task runner will publish the output of the task.

PipelineId

Type: *string

The ID of the pipeline that provided the task.

TaskId

Type: *string

An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

Method

GoString

func (s TaskObject) GoString() string

GoString returns the string representation

SetAttemptId

func (s *TaskObject) SetAttemptId(v string) *TaskObject

SetAttemptId sets the AttemptId field's value.

SetObjects

func (s *TaskObject) SetObjects(v map[string]*PipelineObject) *TaskObject

SetObjects sets the Objects field's value.

SetPipelineId

func (s *TaskObject) SetPipelineId(v string) *TaskObject

SetPipelineId sets the PipelineId field's value.

SetTaskId

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

SetTaskId sets the TaskId field's value.

String

func (s TaskObject) String() string

String returns the string representation

On this page: