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.

SetStatusInput

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

type SetStatusInput struct { ObjectIds []*string `locationName:"objectIds" type:"list" required:"true"` PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` Status *string `locationName:"status" type:"string" required:"true"` }

Contains the parameters for SetStatus.

ObjectIds

Type: []*string

The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.

ObjectIds is a required field

PipelineId

Type: *string

The ID of the pipeline that contains the objects.

PipelineId is a required field

Status

Type: *string

The status to be set on all the objects specified in objectIds. For components, use PAUSE or RESUME. For instances, use TRY_CANCEL, RERUN, or MARK_FINISHED.

Status is a required field

Method

GoString

func (s SetStatusInput) GoString() string

GoString returns the string representation

SetObjectIds

func (s *SetStatusInput) SetObjectIds(v []*string) *SetStatusInput

SetObjectIds sets the ObjectIds field's value.

SetPipelineId

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

SetPipelineId sets the PipelineId field's value.

SetStatus

func (s *SetStatusInput) SetStatus(v string) *SetStatusInput

SetStatus sets the Status field's value.

String

func (s SetStatusInput) String() string

String returns the string representation

Validate

func (s *SetStatusInput) Validate() error

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

On this page: