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.

ListProjectsInput

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

type ListProjectsInput struct { Arn *string `locationName:"arn" min:"32" type:"string"` NextToken *string `locationName:"nextToken" min:"4" type:"string"` }

Represents a request to the list projects operation.

Arn

Type: *string

Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN.

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.

Method

GoString

func (s ListProjectsInput) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListProjectsInput) String() string

String returns the string representation

Validate

func (s *ListProjectsInput) Validate() error

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

On this page: