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.

AssociateSoftwareTokenInput

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

type AssociateSoftwareTokenInput struct { AccessToken *string `type:"string" sensitive:"true"` Session *string `min:"20" type:"string"` }

AccessToken

Type: *string

The access token.

Session

Type: *string

The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.

Method

GoString

func (s AssociateSoftwareTokenInput) GoString() string

GoString returns the string representation

SetAccessToken

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

SetAccessToken sets the AccessToken field's value.

SetSession

func (s *AssociateSoftwareTokenInput) SetSession(v string) *AssociateSoftwareTokenInput

SetSession sets the Session field's value.

String

func (s AssociateSoftwareTokenInput) String() string

String returns the string representation

Validate

func (s *AssociateSoftwareTokenInput) Validate() error

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

On this page: