cognito temporary password expiration time code example
Example: Temporary password has expired and must be reset by an administrator
aws cognito-idp admin-create-user --region us-east-1 --user-pool-id us-east-1_youruserpoolid --username theusername --message-action RESEND