The following list shows the characters (in Unicode) that are allowed in your message, according to the W3C XML specification:
#x9
#xA
#xD
#x20 to #xD7FF
#x20
#xD7FF
#xE000 to #xFFFD
#xE000
#xFFFD
#x10000 to #x10FFFF
#x10000
#x10FFFF
For more information, see RFC1321. If you send any characters that aren't included in this list, your request is rejected.
public SendMessageResponse SendMessage(SendMessageRequest request) { var marshaller = new SendMessageRequestMarshaller(); var unmarshaller = SendMessageResponseUnmarshaller.Instance; return Invoke<SendMessageRequest,SendMessageResponse>(request, marshaller, unmarshaller); }
static void WriteToQueue(AWSCredentials credentials) { AmazonSQSClient client = new AmazonSQSClient(credentials, RegionEndpoint.USEast1); string message = "my message"; string queueUrl = "https://sqs.us-east-1.amazonaws.com/025631894481/aws-talk"; SendMessageResponse sendMessageResponse = client.SendMessage(queueUrl, message); }