Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            // CLI-Command.
            var cmdCli = "\n\naws comprehend detect-sentiment --region \"us-east-1\" " +
                         "--language-code \"en\" --text \"That was a nice trip. The Hotel was amazing!\"\n";

            /*That was a nice trip. The Hotel was amazing!*/

            ExtFunc.Say("Please run following command: " + cmdCli);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            String bucket = ExtFunc.Read("\nAmazon S3 Bucket-Name with a picture:");
            String photo  = ExtFunc.Read("\nPicture Filename in Bucket:");

            // CLI-Command. Example= aws rekognition detect-labels --image "S3Object={Bucket=my-pics,Name=pic1.jpg}"
            var cmdCli = "\n\naws rekognition detect-labels --image \"S3Object={Bucket=" + bucket + ",Name=" + photo + "}\"\n";


            ExtFunc.Say("Please run following command: " + cmdCli);
        }