@@ -195,7 +195,7 @@ def final_user_status(self) -> Optional[str]:
195195 @final_user_status .setter
196196 def final_user_status (self , value : str ):
197197 """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.
199199
200200 If this attribute is set to RESET_REQUIRED, the user is required to change his or her password immediately
201201 after migration at the time of sign-in, and your client app needs to handle the PasswordResetRequiredException
@@ -333,7 +333,7 @@ class CustomMessageTriggerEvent(BaseTriggerEvent):
333333 verification code automatically to the user. Cannot be used for other attributes.
334334 - `CustomMessage_VerifyUserAttribute` This trigger sends a verification code to the user when they manually
335335 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.
337337
338338 Documentation:
339339 --------------
@@ -590,7 +590,7 @@ def user_attributes(self) -> Dict[str, str]:
590590 @property
591591 def user_not_found (self ) -> Optional [bool ]:
592592 """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."""
594594 return self ["request" ].get ("userNotFound" )
595595
596596 @property
@@ -601,7 +601,7 @@ def session(self) -> List[ChallengeResult]:
601601 @property
602602 def client_metadata (self ) -> Optional [Dict [str , str ]]:
603603 """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."""
605605 return self ["request" ].get ("clientMetadata" )
606606
607607
@@ -687,7 +687,7 @@ def session(self) -> List[ChallengeResult]:
687687 @property
688688 def client_metadata (self ) -> Optional [Dict [str , str ]]:
689689 """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."""
691691 return self ["request" ].get ("clientMetadata" )
692692
693693
@@ -699,7 +699,7 @@ def public_challenge_parameters(self) -> Dict[str, str]:
699699 @public_challenge_parameters .setter
700700 def public_challenge_parameters (self , value : Dict [str , str ]):
701701 """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
703703 the user."""
704704 self ["response" ]["publicChallengeParameters" ] = value
705705
@@ -709,8 +709,8 @@ def private_challenge_parameters(self) -> Dict[str, str]:
709709
710710 @private_challenge_parameters .setter
711711 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
714714 response to the challenge. In other words, the publicChallengeParameters parameter contains the
715715 question that is presented to the user and privateChallengeParameters contains the valid answers
716716 for the question."""
@@ -730,7 +730,7 @@ class CreateAuthChallengeTriggerEvent(BaseTriggerEvent):
730730 """Create Auth Challenge Lambda Trigger
731731
732732 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.
734734 It creates a custom authentication flow.
735735
736736 Notes:
@@ -775,7 +775,7 @@ def challenge_answer(self) -> Any:
775775 @property
776776 def client_metadata (self ) -> Optional [Dict [str , str ]]:
777777 """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."""
779779 return self ["request" ].get ("clientMetadata" )
780780
781781 @property
0 commit comments