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.

UpdateInstanceProfileInput

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

type UpdateInstanceProfileInput struct { Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` Description *string `locationName:"description" type:"string"` ExcludeAppPackagesFromCleanup []*string `locationName:"excludeAppPackagesFromCleanup" type:"list"` Name *string `locationName:"name" type:"string"` PackageCleanup *bool `locationName:"packageCleanup" type:"boolean"` RebootAfterUse *bool `locationName:"rebootAfterUse" type:"boolean"` }

Arn

Type: *string

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

Arn is a required field

Description

Type: *string

The updated description for your instance profile.

ExcludeAppPackagesFromCleanup

Type: []*string

An array of strings specifying the list of app packages that should not be cleaned up from the device after a test run is over.

The list of packages is only considered if you set packageCleanup to true.

Name

Type: *string

The updated name for your instance profile.

PackageCleanup

Type: *bool

The updated choice for whether you want to specify package cleanup. The default value is false for private devices.

RebootAfterUse

Type: *bool

The updated choice for whether you want to reboot the device after use. The default value is true.

Method

GoString

func (s UpdateInstanceProfileInput) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetDescription

func (s *UpdateInstanceProfileInput) SetDescription(v string) *UpdateInstanceProfileInput

SetDescription sets the Description field's value.

SetExcludeAppPackagesFromCleanup

func (s *UpdateInstanceProfileInput) SetExcludeAppPackagesFromCleanup(v []*string) *UpdateInstanceProfileInput

SetExcludeAppPackagesFromCleanup sets the ExcludeAppPackagesFromCleanup field's value.

SetName

func (s *UpdateInstanceProfileInput) SetName(v string) *UpdateInstanceProfileInput

SetName sets the Name field's value.

SetPackageCleanup

func (s *UpdateInstanceProfileInput) SetPackageCleanup(v bool) *UpdateInstanceProfileInput

SetPackageCleanup sets the PackageCleanup field's value.

SetRebootAfterUse

func (s *UpdateInstanceProfileInput) SetRebootAfterUse(v bool) *UpdateInstanceProfileInput

SetRebootAfterUse sets the RebootAfterUse field's value.

String

func (s UpdateInstanceProfileInput) String() string

String returns the string representation

Validate

func (s *UpdateInstanceProfileInput) Validate() error

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

On this page: