This file contains hidden or 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
name | given_name | family_name | middle_name | nickname | preferred_username | profile | picture | website | email_verified | gender | birthdate | zoneinfo | locale | phone_number | phone_number_verified | address | updated_at | custom:joinedOn | cognito:mfa_enabled | cognito:username | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
probko | [email protected] | TRUE | FALSE | FALSE | probko.testov |
This file contains hidden or 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
cloudshell-user@ip-10-0-93-38 ~]$ aws cognito-idp get-csv-header --user-pool-id "eu-west-1_XXXXXXX" | |
{ | |
"UserPoolId": "eu-west-1_XXXXXXX", | |
"CSVHeader": [ | |
"name", | |
"given_name", | |
"family_name", | |
"middle_name", | |
"nickname", | |
"preferred_username", |
This file contains hidden or 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 os | |
import time | |
import sys | |
import boto3 | |
REGION = "eu-central-1" | |
S3_CLIENT = boto3.client("s3", REGION) | |
COGNITO_CLIENT = boto3.client("cognito-idp", REGION) | |
USER_POOL_ID = os.environ['USER_POOL_ID'] | |
EXPORTED_RECORDS_COUNT = 0 |
This file contains hidden or 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 os | |
import datetime | |
""" | |
This portion will obtain the Environment variables from AWS Lambda. | |
""" | |
GROUP_NAME = os.environ['GROUP_NAME'] |
NewerOlder