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.

UpdateDeviceInstanceInput

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

type UpdateDeviceInstanceInput struct { Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` Labels []*string `locationName:"labels" type:"list"` ProfileArn *string `locationName:"profileArn" min:"32" type:"string"` }

Arn

Type: *string

The Amazon Resource Name (ARN) of the device instance.

Arn is a required field

Labels

Type: []*string

An array of strings that you want to associate with the device instance.

ProfileArn

Type: *string

The Amazon Resource Name (ARN) of the profile that you want to associate with the device instance.

Method

GoString

func (s UpdateDeviceInstanceInput) GoString() string

GoString returns the string representation

SetArn

func (s *UpdateDeviceInstanceInput) SetArn(v string) *UpdateDeviceInstanceInput

SetArn sets the Arn field's value.

SetLabels

func (s *UpdateDeviceInstanceInput) SetLabels(v []*string) *UpdateDeviceInstanceInput

SetLabels sets the Labels field's value.

SetProfileArn

func (s *UpdateDeviceInstanceInput) SetProfileArn(v string) *UpdateDeviceInstanceInput

SetProfileArn sets the ProfileArn field's value.

String

func (s UpdateDeviceInstanceInput) String() string

String returns the string representation

Validate

func (s *UpdateDeviceInstanceInput) Validate() error

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

On this page: