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.

UpdateDeviceStatusInput

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

type UpdateDeviceStatusInput struct { AccessToken *string `type:"string" required:"true" sensitive:"true"` DeviceKey *string `min:"1" type:"string" required:"true"` DeviceRememberedStatus *string `type:"string" enum:"DeviceRememberedStatusType"` }

Represents the request to update the device status.

AccessToken

Type: *string

The access token.

AccessToken is a required field

DeviceKey

Type: *string

The device key.

DeviceKey is a required field

DeviceRememberedStatus

Type: *string

The status of whether a device is remembered.

Method

GoString

func (s UpdateDeviceStatusInput) GoString() string

GoString returns the string representation

SetAccessToken

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

SetAccessToken sets the AccessToken field's value.

SetDeviceKey

func (s *UpdateDeviceStatusInput) SetDeviceKey(v string) *UpdateDeviceStatusInput

SetDeviceKey sets the DeviceKey field's value.

SetDeviceRememberedStatus

func (s *UpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *UpdateDeviceStatusInput

SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value.

String

func (s UpdateDeviceStatusInput) String() string

String returns the string representation

Validate

func (s *UpdateDeviceStatusInput) Validate() error

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

On this page: