title: AWS SNS metadata when pushing to SQS
body: <p>I'm using .net sdk to push messages to SNS which then publishes messages to subscribed SQS Queues, but SNS adds metadata such as message type etc, and i end up with larger JSON payload which i do not want, especially when SQS is limited to 256k per message.</p>
  
  <p>Is it possible to send a command to SNS and tell it not to send that metadata?</p>
  
  <p>Here's the code:</p>
  
  <pre><code>var credentials = new StoredProfileAWSCredentials("dev");
  
  using (var client = new AmazonSimpleNotificationServiceClient(credentials, Amazon.RegionEndpoint.EUWest1))
  {
      var request = new PublishRequest();
      request.Message = message;
      request.TargetArn = "ARN";
  
      var response = client.Publish(request);
      // return response;
  }
  </code></pre>
  
  <p>This is what SNS pushes to SQS:</p>
  
  <pre><code>{  
     "Type":"Notification",
     "MessageId":"3333333",
     "TopicArn":"ARN",
     "Message": {
         "Id":45,
         "MessageId":"a871f8d7-7091-4548-87c5-da3bb4131044",
         "Payload": {
             "Internalid":"a7c50558-fc9c-47a6-b0ed-cb0cf5020f55",
             "MessageId":"a871f8d7-7091-4548-87c5-da3bb4131044",
             "TravelersName":"aaa aaaa",
             "TravelersEmail":"aaa@aa.com",
             "OwnersEmail":null,
             "AccommodationId":1,
             "BookingCode":"a523cd07-5506-48ad-9380-2e94002722e0"
         },
         "EventName":"BookingRecordCreated",
         "CreatedOnUtc":"2016-09-26T15:14:55.437",
         "HandledOnUtc":null
      },
      "Timestamp":"2016-09-26T15:14:50.923Z",
      "SignatureVersion":"1",
      "Signature":"dfgdfg///==",
      "SigningCertURL":"https://sns",
      "UnsubscribeURL":"https://sns."
  }
  </code></pre>
  
  <p>and this is what i publish to SNS</p>
  
  <pre><code>"Message":{
     "Id":45,
     "MessageId":"a871f8d7-7091-4548-87c5-da3bb4131044",
     "Payload": {
         "Internalid":"a7c50558-fc9c-47a6-b0ed-cb0cf5020f55",
         "MessageId":"a871f8d7-7091-4548-87c5-da3bb4131044",
         "TravelersName":"aa aaa",
         "TravelersEmail":"aa@aaa.com",
         "OwnersEmail":null,
         "AccommodationId":1,
         "BookingCode":"a523cd07-5506-48ad-9380-2e94002722e0",
         "EventName":"BookingRecordCreated",
         "CreatedOnUtc":"2016-09-26T15:14:55.437",
         "HandledOnUtc":null
      }
  }
  </code></pre>