This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
import datetime | |
# Amazon Cognito User Pool Configs | |
LIMIT = 60 | |
REGION = 'us-east-1' | |
USER_POOL_ID = 'us-east-1_aaaaaaaaa' | |
# Create boto3 CognitoIdentityProvider client | |
client = boto3.client('cognito-idp', REGION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ aws --region us-east-1 cognito-idp list-users --user-pool-id us-east-1_aaaaaaaaa --limit 60 --pagination-token "AAAAAAAAAAAA......FS8=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"PaginationToken": "AAAAAAAAAAAAAAAAAAAAAAAAAAA/Ah/fAAAAAAAAAAAAPmvm3EtvdXCldvPxeFjLeyJAbiI6IlBhZ2luYXRpb25Db250aW51YXRpb25EVE8iLCJuZXh0S2V5IjoiQUFBQUFBQUFEbWgzQVFFQmlJU3pzVFV5UU1hOXlOemtyMFptalVlMzJPZmoxRU5BbGlkR0Q0YW9JRnhsYm1ZN01EQXdNRFppTldVdE9EZGxZUzAwTm1NMExXRTVNV1V0T1dJeFpXVmxaREJsWldNNE93PT0iLCJwcmV2aW91c1JlcXVlc3RUaW1lIjoxNTg4OTgxNzg4NzM1fRog+pNR1meJaIpnV4VAV6I4eDxha9uibDntnfRlMkThFS8=", | |
"Users": [ | |
{ | |
"Username": "0000aaaa-458b-aaaa-85c6-7a535a813aaa", | |
"Enabled": true, | |
"UserStatus": "CONFIRMED", | |
"UserCreateDate": 1545049623.5, | |
"UserLastModifiedDate": 1545049623.5, | |
"Attributes": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LetterModel { | |
constructor() { | |
this._adj_step = 0.001; | |
this._x = 5; | |
this._y = 5; | |
this._tries = 3000; | |
this._models = []; | |
} | |