Bug: incorrect error message using update-user-pool using aws cli

0

I called aws cognito-idp update-user-pool using the cli with the field TemporaryPasswordValidityDays in the PasswordPolicy and UnusedAccountValidityDays the AdminCreateUserConfig.

The error message was: An error occurred (InvalidParameterException) when calling the UpdateUserPool operation: Please use TemporaryPasswordValidityDays in PasswordPolicy instead of UnusedAccountValidityDays

I believe the actual error message should have been that UnusedAccountValidityDays cannot be set in AdminCreateUserConfig if TemporaryPasswordValidityDays is set in the PasswordPolicy as written here: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminCreateUserConfigType.html

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ