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.

CreateInstanceProfileInput

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

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

Description

Type: *string

The description of 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 name of your instance profile.

Name is a required field

PackageCleanup

Type: *bool

When set to true, Device Farm will remove app packages after a test run. The default value is false for private devices.

RebootAfterUse

Type: *bool

When set to true, Device Farm will reboot the instance after a test run. The default value is true.

Method

GoString

func (s CreateInstanceProfileInput) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetExcludeAppPackagesFromCleanup

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

SetExcludeAppPackagesFromCleanup sets the ExcludeAppPackagesFromCleanup field's value.

SetName

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

SetName sets the Name field's value.

SetPackageCleanup

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

SetPackageCleanup sets the PackageCleanup field's value.

SetRebootAfterUse

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

SetRebootAfterUse sets the RebootAfterUse field's value.

String

func (s CreateInstanceProfileInput) String() string

String returns the string representation

Validate

func (s *CreateInstanceProfileInput) Validate() error

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

On this page: