Jun-03-2019, 02:19 PM
Hi, i am new to python and trying to learn a new language.
I am attempting to filter some output, but can't get my head around the syntax.
Any help, will be appericated.
I am attempting to filter some output, but can't get my head around the syntax.
def filter_user_pools(): listpools = client.list_user_pools.filter( Filters=[{'Id': 'UserPoolId'}]) for list in listpools: print(list.Id)I am trying to output the filter the following output
{'UserPools': [{'Id': 'eu-west-1_asdasdg34', 'Name': 'JenkinsDevelopMarketplace', 'LambdaConfig': {'PreSignUp':...I want the second field - eu-west_1
Any help, will be appericated.