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.

SetUserPoolMfaConfigInput

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

type SetUserPoolMfaConfigInput struct { MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` SmsMfaConfiguration *SmsMfaConfigType `type:"structure"` SoftwareTokenMfaConfiguration *SoftwareTokenMfaConfigType `type:"structure"` UserPoolId *string `min:"1" type:"string" required:"true"` }

MfaConfiguration

Type: *string

The MFA configuration.

SmsMfaConfiguration

The SMS text message multi-factor authentication (MFA) configuration type.

SoftwareTokenMfaConfiguration

The type used for enabling software token MFA at the user pool level.

UserPoolId

Type: *string

The user pool ID.

UserPoolId is a required field

Method

GoString

func (s SetUserPoolMfaConfigInput) GoString() string

GoString returns the string representation

SetMfaConfiguration

func (s *SetUserPoolMfaConfigInput) SetMfaConfiguration(v string) *SetUserPoolMfaConfigInput

SetMfaConfiguration sets the MfaConfiguration field's value.

SetSmsMfaConfiguration

func (s *SetUserPoolMfaConfigInput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigInput

SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value.

SetSoftwareTokenMfaConfiguration

func (s *SetUserPoolMfaConfigInput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigInput

SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value.

SetUserPoolId

func (s *SetUserPoolMfaConfigInput) SetUserPoolId(v string) *SetUserPoolMfaConfigInput

SetUserPoolId sets the UserPoolId field's value.

String

func (s SetUserPoolMfaConfigInput) String() string

String returns the string representation

Validate

func (s *SetUserPoolMfaConfigInput) Validate() error

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

On this page: