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.

ResendConfirmationCodeInput

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

type ResendConfirmationCodeInput struct { AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` SecretHash *string `min:"1" type:"string" sensitive:"true"` UserContextData *UserContextDataType `type:"structure"` Username *string `min:"1" type:"string" required:"true" sensitive:"true"` }

Represents the request to resend the confirmation code.

AnalyticsMetadata

An Amazon Pinpoint analytics endpoint.

An endpoint uniquely identifies a mobile device, email address, or phone number that can receive messages from Amazon Pinpoint analytics.

ClientId

Type: *string

The ID of the client associated with the user pool.

ClientId is a required field

SecretHash

Type: *string

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

UserContextData

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

Username

Type: *string

The user name of the user to whom you wish to resend a confirmation code.

Username is a required field

Method

GoString

func (s ResendConfirmationCodeInput) GoString() string

GoString returns the string representation

SetAnalyticsMetadata

func (s *ResendConfirmationCodeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ResendConfirmationCodeInput

SetAnalyticsMetadata sets the AnalyticsMetadata field's value.

SetClientId

func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput

SetClientId sets the ClientId field's value.

SetSecretHash

func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput

SetSecretHash sets the SecretHash field's value.

SetUserContextData

func (s *ResendConfirmationCodeInput) SetUserContextData(v *UserContextDataType) *ResendConfirmationCodeInput

SetUserContextData sets the UserContextData field's value.

SetUsername

func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput

SetUsername sets the Username field's value.

String

func (s ResendConfirmationCodeInput) String() string

String returns the string representation

Validate

func (s *ResendConfirmationCodeInput) Validate() error

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

On this page: