title: AWS SQS boto3 send_message returns 'dict' object has no attribute 'send_message'
body: <ul>
  <li>I am new to python and I am still learning it.</li>
  <li>I am writing a python code to send a message to AWS SQS</li>
  <li><p>Following is the code I have written</p>
  
  <blockquote>
    <p><code>from boto3.session import Session
    session = Session(aws_access_key_id='**', aws_secret_access_key='**',
    region_name='us-west-2') 
    clientz = session.client('sqs') 
    queue = clientz.get_queue_url(QueueName='queue_name') 
    print queue responses = queue.send_message(MessageBody='Test')
    print(response.get('MessageId'))</code></p>
  </blockquote>
  
  <ul>
  <li>On running this code it returns </li>
  </ul>
  
  <blockquote>
    <p>{u'QueueUrl': '<a href="https://us-west-2.queue.amazonaws.com/@@/queue_name" rel="nofollow">https://us-west-2.queue.amazonaws.com/@@/queue_name</a>', '                                                 ResponseMetadata': {'HTTPStatusCode': 200, 'RequestId': '@@'}}</p>
    
    <p>Traceback (most recent call last):
    File "publisher_dropbox.py", line 77, in 
        responses = queue.send_message(MessageBody='Test')</p>
    
    <p>AttributeError: 'dict' object has no attribute 'send_message'</p>
  </blockquote></li>
  <li><p>I am not sure what the 'dict' object is,  since I haven't specified that anywhere.</p></li>
  </ul>