Class: Aws::CognitoIdentityProvider::Types::SignUpResponse

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

Overview

The response from the server for a registration request.

Constant Summary collapse

SENSITIVE =
[:session]

Instance Attribute Summary collapse

Instance Attribute Details

#code_delivery_detailsTypes::CodeDeliveryDetailsType

In user pools that automatically verify and confirm new users, Amazon Cognito sends users a message with a code or link that confirms ownership of the phone number or email address that they entered. The ‘CodeDeliveryDetails` object is information about the delivery destination for that link or code.



10130
10131
10132
10133
10134
10135
10136
10137
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10130

class SignUpResponse < Struct.new(
  :user_confirmed,
  :code_delivery_details,
  :user_sub,
  :session)
  SENSITIVE = [:session]
  include Aws::Structure
end

#sessionString

A session Id that you can pass to ‘ConfirmSignUp` when you want to immediately sign in your user with the `USER_AUTH` flow after they complete sign-up.

Returns:

  • (String)


10130
10131
10132
10133
10134
10135
10136
10137
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10130

class SignUpResponse < Struct.new(
  :user_confirmed,
  :code_delivery_details,
  :user_sub,
  :session)
  SENSITIVE = [:session]
  include Aws::Structure
end

#user_confirmedBoolean

Indicates whether the user was automatically confirmed. You can auto-confirm users with a [pre sign-up Lambda trigger].

[1]: docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html

Returns:

  • (Boolean)


10130
10131
10132
10133
10134
10135
10136
10137
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10130

class SignUpResponse < Struct.new(
  :user_confirmed,
  :code_delivery_details,
  :user_sub,
  :session)
  SENSITIVE = [:session]
  include Aws::Structure
end

#user_subString

The unique identifier of the new user, for example ‘a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.

Returns:

  • (String)


10130
10131
10132
10133
10134
10135
10136
10137
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10130

class SignUpResponse < Struct.new(
  :user_confirmed,
  :code_delivery_details,
  :user_sub,
  :session)
  SENSITIVE = [:session]
  include Aws::Structure
end