You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::UsernameExistsException

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

Overview

This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The message returned when Amazon Cognito throws a user name exists exception.

Returns:

  • (String)


8578
8579
8580
8581
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8578

class UsernameExistsException < Struct.new(
  :message)
  include Aws::Structure
end