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.

GetActivityTaskInput

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

type GetActivityTaskInput struct { ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"` WorkerName *string `locationName:"workerName" min:"1" type:"string"` }

ActivityArn

Type: *string

The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)

ActivityArn is a required field

WorkerName

Type: *string

You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.

Method

GoString

func (s GetActivityTaskInput) GoString() string

GoString returns the string representation

SetActivityArn

func (s *GetActivityTaskInput) SetActivityArn(v string) *GetActivityTaskInput

SetActivityArn sets the ActivityArn field's value.

SetWorkerName

func (s *GetActivityTaskInput) SetWorkerName(v string) *GetActivityTaskInput

SetWorkerName sets the WorkerName field's value.

String

func (s GetActivityTaskInput) String() string

String returns the string representation

Validate

func (s *GetActivityTaskInput) Validate() error

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

On this page: