Class: Aws::CognitoIdentityProvider::Types::AliasExistsException

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

This exception is thrown when a user tries to confirm the account with an email address or phone number that has already been supplied as an alias for a different user profile. This exception indicates that an account with this email address or phone already exists in a user pool that you've configured to use email address or phone number as a sign-in alias.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The message that Amazon Cognito sends to the user when the value of an alias attribute is already linked to another user profile.

Returns:

  • (String)


1980
1981
1982
1983
1984
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1980

class AliasExistsException < Struct.new(
  :message)
  SENSITIVE = []
  include Aws::Structure
end