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.

ReportTaskRunnerHeartbeatInput

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

type ReportTaskRunnerHeartbeatInput struct { Hostname *string `locationName:"hostname" min:"1" type:"string"` TaskrunnerId *string `locationName:"taskrunnerId" min:"1" type:"string" required:"true"` WorkerGroup *string `locationName:"workerGroup" type:"string"` }

Contains the parameters for ReportTaskRunnerHeartbeat.

Hostname

Type: *string

The public DNS name of the task runner.

TaskrunnerId

Type: *string

The ID of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

TaskrunnerId is a required field

WorkerGroup

Type: *string

The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match.

Method

GoString

func (s ReportTaskRunnerHeartbeatInput) GoString() string

GoString returns the string representation

SetHostname

func (s *ReportTaskRunnerHeartbeatInput) SetHostname(v string) *ReportTaskRunnerHeartbeatInput

SetHostname sets the Hostname field's value.

SetTaskrunnerId

func (s *ReportTaskRunnerHeartbeatInput) SetTaskrunnerId(v string) *ReportTaskRunnerHeartbeatInput

SetTaskrunnerId sets the TaskrunnerId field's value.

SetWorkerGroup

func (s *ReportTaskRunnerHeartbeatInput) SetWorkerGroup(v string) *ReportTaskRunnerHeartbeatInput

SetWorkerGroup sets the WorkerGroup field's value.

String

func (s ReportTaskRunnerHeartbeatInput) String() string

String returns the string representation

Validate

func (s *ReportTaskRunnerHeartbeatInput) Validate() error

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

On this page: