title: Does AWS SDK handles session expiry automatically?
body: <p>I am writing a client to get the continuous messages from RabbitMQ and pushing to AWS SQS service. But I'm not sure about the session expiry, If the session expires do we need to recreate the session or AWS SDK handles it automatically?</p>
  <pre><code>log.Printf(&quot;PPU Message Broker: Pushing messages to SQS&quot;)
      sess, err := session.NewSession(&amp;aws.Config{
          Region:      aws.String(&quot;us-east-1&quot;),
          //Credentials: credentials.NewSharedCredentials(&quot;&quot;, &quot;sqs_user&quot;),
      })
      _, err = sess.Config.Credentials.Get()
      if err != nil {
          log.Fatalf(&quot;PPU Message Broker: Credentails Failed&quot;)
      }
      svc := sqs.New(sess)    
      result, err := svc.SendMessage(&amp;sqs.SendMessageInput{
          MessageBody:    aws.String(string(data)),
          MessageGroupId: aws.String(&quot;TestGroup&quot;),
          QueueUrl:       &amp;qURL,
      })
  </code></pre>