@@ -195,7 +195,7 @@ def final_user_status(self) -> Optional[str]:
195
195
@final_user_status .setter
196
196
def final_user_status (self , value : str ):
197
197
"""During sign-in, this attribute can be set to CONFIRMED, or not set, to auto-confirm your users and
198
- allow them to sign- in with their previous passwords. This is the simplest experience for the user.
198
+ allow them to sign in with their previous passwords. This is the simplest experience for the user.
199
199
200
200
If this attribute is set to RESET_REQUIRED, the user is required to change his or her password immediately
201
201
after migration at the time of sign-in, and your client app needs to handle the PasswordResetRequiredException
@@ -333,7 +333,7 @@ class CustomMessageTriggerEvent(BaseTriggerEvent):
333
333
verification code automatically to the user. Cannot be used for other attributes.
334
334
- `CustomMessage_VerifyUserAttribute` This trigger sends a verification code to the user when they manually
335
335
request it for a new email or phone number.
336
- - `CustomMessage_Authentication` To send MFA code during authentication.
336
+ - `CustomMessage_Authentication` To send MFA codes during authentication.
337
337
338
338
Documentation:
339
339
--------------
@@ -590,7 +590,7 @@ def user_attributes(self) -> Dict[str, str]:
590
590
@property
591
591
def user_not_found (self ) -> Optional [bool ]:
592
592
"""A Boolean that is populated when PreventUserExistenceErrors is set to ENABLED for your user pool client.
593
- A value of true means that the user id (user name , email address, etc.) did not match any existing users."""
593
+ A value of true means that the user id (username , email address, etc.) did not match any existing users."""
594
594
return self ["request" ].get ("userNotFound" )
595
595
596
596
@property
@@ -601,7 +601,7 @@ def session(self) -> List[ChallengeResult]:
601
601
@property
602
602
def client_metadata (self ) -> Optional [Dict [str , str ]]:
603
603
"""One or more key-value pairs that you can provide as custom input to the Lambda function that you specify
604
- for the define auth challenge trigger."""
604
+ for the defined auth challenge trigger."""
605
605
return self ["request" ].get ("clientMetadata" )
606
606
607
607
@@ -687,7 +687,7 @@ def session(self) -> List[ChallengeResult]:
687
687
@property
688
688
def client_metadata (self ) -> Optional [Dict [str , str ]]:
689
689
"""One or more key-value pairs that you can provide as custom input to the Lambda function that you
690
- specify for the create auth challenge trigger."""
690
+ specify for the creation auth challenge trigger."""
691
691
return self ["request" ].get ("clientMetadata" )
692
692
693
693
@@ -699,7 +699,7 @@ def public_challenge_parameters(self) -> Dict[str, str]:
699
699
@public_challenge_parameters .setter
700
700
def public_challenge_parameters (self , value : Dict [str , str ]):
701
701
"""One or more key-value pairs for the client app to use in the challenge to be presented to the user.
702
- This parameter should contain all of the necessary information to accurately present the challenge to
702
+ This parameter should contain all the necessary information to accurately present the challenge to
703
703
the user."""
704
704
self ["response" ]["publicChallengeParameters" ] = value
705
705
@@ -709,8 +709,8 @@ def private_challenge_parameters(self) -> Dict[str, str]:
709
709
710
710
@private_challenge_parameters .setter
711
711
def private_challenge_parameters (self , value : Dict [str , str ]):
712
- """This parameter is only used by the Verify Auth Challenge Response Lambda trigger.
713
- This parameter should contain all of the information that is required to validate the user's
712
+ """This parameter is only used by the " Verify Auth Challenge" Response Lambda trigger.
713
+ This parameter should contain all the information that is required to validate the user's
714
714
response to the challenge. In other words, the publicChallengeParameters parameter contains the
715
715
question that is presented to the user and privateChallengeParameters contains the valid answers
716
716
for the question."""
@@ -730,7 +730,7 @@ class CreateAuthChallengeTriggerEvent(BaseTriggerEvent):
730
730
"""Create Auth Challenge Lambda Trigger
731
731
732
732
Amazon Cognito invokes this trigger after Define Auth Challenge if a custom challenge has been
733
- specified as part of the Define Auth Challenge trigger.
733
+ specified as part of the " Define Auth Challenge" trigger.
734
734
It creates a custom authentication flow.
735
735
736
736
Notes:
@@ -775,7 +775,7 @@ def challenge_answer(self) -> Any:
775
775
@property
776
776
def client_metadata (self ) -> Optional [Dict [str , str ]]:
777
777
"""One or more key-value pairs that you can provide as custom input to the Lambda function that
778
- you specify for the verify auth challenge trigger."""
778
+ you specify for the "Verify Auth Challenge" trigger."""
779
779
return self ["request" ].get ("clientMetadata" )
780
780
781
781
@property
0 commit comments