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.

PutTelemetryRecordsInput

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

type PutTelemetryRecordsInput struct { EC2InstanceId *string `type:"string"` Hostname *string `type:"string"` ResourceARN *string `type:"string"` TelemetryRecords []*TelemetryRecord `type:"list" required:"true"` }

EC2InstanceId

Type: *string

Hostname

Type: *string

ResourceARN

Type: *string

TelemetryRecords

Method

GoString

func (s PutTelemetryRecordsInput) GoString() string

GoString returns the string representation

SetEC2InstanceId

func (s *PutTelemetryRecordsInput) SetEC2InstanceId(v string) *PutTelemetryRecordsInput

SetEC2InstanceId sets the EC2InstanceId field's value.

SetHostname

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

SetHostname sets the Hostname field's value.

SetResourceARN

func (s *PutTelemetryRecordsInput) SetResourceARN(v string) *PutTelemetryRecordsInput

SetResourceARN sets the ResourceARN field's value.

SetTelemetryRecords

func (s *PutTelemetryRecordsInput) SetTelemetryRecords(v []*TelemetryRecord) *PutTelemetryRecordsInput

SetTelemetryRecords sets the TelemetryRecords field's value.

String

func (s PutTelemetryRecordsInput) String() string

String returns the string representation

Validate

func (s *PutTelemetryRecordsInput) Validate() error

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

On this page: