title: How to get accountId where Lambda deployed to programmatically?
body: <p>I would like get accountId of AWS account where Lambda is deployed to.</p>
  
  <p>Will <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html" rel="nofollow noreferrer">boto3.client('sts').get_caller_identity()['Account']</a> return lambda's account of deployment itself, or account of lambda caller?</p>
  
  <p>What is the correct way of getting Lambda AWS accountId inside its own code? </p>