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.

ConfirmDeviceInput

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

type ConfirmDeviceInput struct { AccessToken *string `type:"string" required:"true" sensitive:"true"` DeviceKey *string `min:"1" type:"string" required:"true"` DeviceName *string `min:"1" type:"string"` DeviceSecretVerifierConfig *DeviceSecretVerifierConfigType `type:"structure"` }

Confirms the device request.

AccessToken

Type: *string

The access token.

AccessToken is a required field

DeviceKey

Type: *string

The device key.

DeviceKey is a required field

DeviceName

Type: *string

The device name.

DeviceSecretVerifierConfig

The device verifier against which it will be authenticated.

Method

GoString

func (s ConfirmDeviceInput) GoString() string

GoString returns the string representation

SetAccessToken

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

SetAccessToken sets the AccessToken field's value.

SetDeviceKey

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

SetDeviceKey sets the DeviceKey field's value.

SetDeviceName

func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput

SetDeviceName sets the DeviceName field's value.

SetDeviceSecretVerifierConfig

func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput

SetDeviceSecretVerifierConfig sets the DeviceSecretVerifierConfig field's value.

String

func (s ConfirmDeviceInput) String() string

String returns the string representation

Validate

func (s *ConfirmDeviceInput) Validate() error

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

On this page: