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.

ListArtifactsInput

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

type ListArtifactsInput struct { Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` NextToken *string `locationName:"nextToken" min:"4" type:"string"` Type *string `locationName:"type" type:"string" required:"true" enum:"ArtifactCategory"` }

Represents a request to the list artifacts operation.

Arn

Type: *string

The Run, Job, Suite, or Test ARN.

Arn is a required field

NextToken

Type: *string

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Type

Type: *string

The artifacts' type.

Allowed values include:

  • FILE: The artifacts are files.

  • LOG: The artifacts are logs.

  • SCREENSHOT: The artifacts are screenshots.

Type is a required field

Method

GoString

func (s ListArtifactsInput) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetNextToken

func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput

SetNextToken sets the NextToken field's value.

SetType

func (s *ListArtifactsInput) SetType(v string) *ListArtifactsInput

SetType sets the Type field's value.

String

func (s ListArtifactsInput) String() string

String returns the string representation

Validate

func (s *ListArtifactsInput) Validate() error

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

On this page: