You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format for a Cognito UserPool Id produced by the the cognito-idp mock does not produce ids in the expected format for a Cognito UserPool - The ids produced are uuids. The format for the Id field of a UserPool is documented as
Id
The ID of the user pool.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 55.
Pattern: [\w-]+_[0-9a-zA-Z]+
Required: No
The general expectation is that the pool_id is in the format "{region}_{id}". I usually use the region part when attempting to determine, from a pool id, the region that pool is available in.
I'm using the package installed via pip and python mocks.
moto==1.3.4
botocore==1.10.52
boto3==1.7.3
The text was updated successfully, but these errors were encountered:
The format for a Cognito UserPool Id produced by the the cognito-idp mock does not produce ids in the expected format for a Cognito UserPool - The ids produced are uuids. The format for the Id field of a UserPool is documented as
https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UserPoolType.html
So a uuid isn't a valid representation of an Id
This can be reproduced by
Produces:
The general expectation is that the pool_id is in the format "{region}_{id}". I usually use the region part when attempting to determine, from a pool id, the region that pool is available in.
I'm using the package installed via pip and python mocks.
The text was updated successfully, but these errors were encountered: