title: Getting [object Promise] when outputting result of promise
body: <p>I am getting <code>Result is: [object Promise]</code> when I am calling this promise. I want to be able to work with the data that comes out of it. I am expecting the result to be an array of messages from my SQS queue.</p>
  
  <p>I currently have more than 10 messages in the queue so should be fine finding some.</p>
  
  <p>This is my code currently:</p>
  
  <pre><code>let params = {
          QueueUrl: config.aws.serviceQueue,
          VisibilityTimeout: 60, 
          MaxNumberOfMessages: 10
      };
  
    let getMonitors = sqs.receiveMessage(params).promise();
  
    let result = getMonitors.then(function(data) {
      console.log('Success');
      return data;
    }).catch(function(err) {
      console.log(err);
    });
  console.log(`Result is: ${result}`);
  </code></pre>
  
  <p>What am I missing here? I am very new to promises so please bear with me if I don't understand your answer or question.</p>