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.

UpdateUploadInput

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

type UpdateUploadInput struct { Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` ContentType *string `locationName:"contentType" type:"string"` EditContent *bool `locationName:"editContent" type:"boolean"` Name *string `locationName:"name" type:"string"` }

Arn

Type: *string

The Amazon Resource Name (ARN) of the uploaded test spec.

Arn is a required field

ContentType

Type: *string

The upload's content type (for example, "application/x-yaml").

EditContent

Type: *bool

Set to true if the YAML file has changed and needs to be updated; otherwise, set to false.

Name

Type: *string

The upload's test spec file name. The name should not contain the '/' character. The test spec file name must end with the .yaml or .yml file extension.

Method

GoString

func (s UpdateUploadInput) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetContentType

func (s *UpdateUploadInput) SetContentType(v string) *UpdateUploadInput

SetContentType sets the ContentType field's value.

SetEditContent

func (s *UpdateUploadInput) SetEditContent(v bool) *UpdateUploadInput

SetEditContent sets the EditContent field's value.

SetName

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

SetName sets the Name field's value.

String

func (s UpdateUploadInput) String() string

String returns the string representation

Validate

func (s *UpdateUploadInput) Validate() error

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

On this page: