2
Someone has already implemented SNS in AWS with C#?
I implemented the code below in an attempt by sending by topic created by the console, but need to do everything by our ADM on . net.
Follow the code I am trying to send by topic. No error, but for some reason also not sending. Would anyone know what’s missing from it?
        RegionEndpoint regionEndPoint = RegionEndpoint.USEast1;
        IAmazonSimpleNotificationService snsClient = 
            AWSClientFactory.CreateAmazonSimpleNotificationServiceClient("#####","#######", regionEndPoint);
        PublishRequest publishRequest = new PublishRequest()
        {
            Subject = "teste",
            Message = "{\n\"APNS_SANDBOX\":\"{\\\"aps\\\":{\\\"alert\\\":\\\"'sdfsdfsdfd'\\\"}}\"\n}",
            TopicArn = "arn:aws:sns:us-east-1:###############",
        };
        snsClient.Publish(publishRequest);
I decided I had to subscribe to Vices...
– thiago.adriano26