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.

ListDevicesInput

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

type ListDevicesInput struct { AccessToken *string `type:"string" required:"true" sensitive:"true"` Limit *int64 `type:"integer"` PaginationToken *string `min:"1" type:"string"` }

Represents the request to list the devices.

AccessToken

Type: *string

The access tokens for the request to list devices.

AccessToken is a required field

Limit

Type: *int64

The limit of the device request.

PaginationToken

Type: *string

The pagination token for the list request.

Method

GoString

func (s ListDevicesInput) GoString() string

GoString returns the string representation

SetAccessToken

func (s *ListDevicesInput) SetAccessToken(v string) *ListDevicesInput

SetAccessToken sets the AccessToken field's value.

SetLimit

func (s *ListDevicesInput) SetLimit(v int64) *ListDevicesInput

SetLimit sets the Limit field's value.

SetPaginationToken

func (s *ListDevicesInput) SetPaginationToken(v string) *ListDevicesInput

SetPaginationToken sets the PaginationToken field's value.

String

func (s ListDevicesInput) String() string

String returns the string representation

Validate

func (s *ListDevicesInput) Validate() error

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

On this page: