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.

AdminRespondToAuthChallengeOutput

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

type AdminRespondToAuthChallengeOutput struct { AuthenticationResult *AuthenticationResultType `type:"structure"` ChallengeName *string `type:"string" enum:"ChallengeNameType"` ChallengeParameters map[string]*string `type:"map"` Session *string `min:"20" type:"string"` }

Responds to the authentication challenge, as an administrator.

AuthenticationResult

The authentication result.

ChallengeName

Type: *string

The name of the challenge. For more information, see .

ChallengeParameters

Type: map[string]*string

The challenge parameters. For more information, see .

Session

Type: *string

The session which should be passed both ways in challenge-response calls to the service. If the or API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call.

Method

GoString

func (s AdminRespondToAuthChallengeOutput) GoString() string

GoString returns the string representation

SetAuthenticationResult

func (s *AdminRespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminRespondToAuthChallengeOutput

SetAuthenticationResult sets the AuthenticationResult field's value.

SetChallengeName

func (s *AdminRespondToAuthChallengeOutput) SetChallengeName(v string) *AdminRespondToAuthChallengeOutput

SetChallengeName sets the ChallengeName field's value.

SetChallengeParameters

func (s *AdminRespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *AdminRespondToAuthChallengeOutput

SetChallengeParameters sets the ChallengeParameters field's value.

SetSession

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

SetSession sets the Session field's value.

String

func (s AdminRespondToAuthChallengeOutput) String() string

String returns the string representation

On this page: