title: Alexa Lambda function to get user's full name
body: <p>Using the Alexa Custom skills, and AWS Lambda Functions, I want to be able to just get the user's name from their account. I already set up permissions and account linking and verified that it works. However, there are no resources available for python 3.6 methods for retrieving the actual user info.</p>
  
  <p>There is this page which has the method I need to use (<b>get_profile_name()</b>):
  <a href="https://github.com/alexa/alexa-skills-kit-sdk-for-python/blob/master/docs/en/SERVICE_CLIENTS.rst#upsserviceclient" rel="nofollow noreferrer">https://github.com/alexa/alexa-skills-kit-sdk-for-python/blob/master/docs/en/SERVICE_CLIENTS.rst#upsserviceclient</a></p>
  
  <p>However, it does not give me info on how I can access that method inside a Lambda Function. </p>
  
  <p>My main function runs from:</p>
  
  <pre><code>def lambda_handler(event, context):
  </code></pre>
  
  <p>Event only has the JSON from the user input from the custom Alexa skill, which does not include a name, so I'm stuck on how to access anything that has the get_profile_name()</p>
  
  <p>The only example I can possibly find is from this:
  <a href="https://forums.developer.amazon.com/questions/181267/new-sdk-and-python-36-progressive-response-sample.html" rel="nofollow noreferrer">https://forums.developer.amazon.com/questions/181267/new-sdk-and-python-36-progressive-response-sample.html</a></p>
  
  <p>which uses</p>
  
  <p><code>handler_input.service_client_factory.get_profile_name()</code></p>
  
  <p>But I cannot figure out how the handler_input is different from my "event" </p>
  
  <p>I figured it would be simple to just get a name, but this is pretty complex. Has anyone done this before?</p>