def get_account_id(iam_client):
    response = iam_client.get_user()
    return get_account_id_from_arn(response['User']['Arn'])
Retrieve the AWS account ID for the authenticated user
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/utils.py/get_account_id