public void PollyDeleteLexicon()
        {
            #region to-delete-a-lexicon-1481922498332

            var response = client.DeleteLexicon(new DeleteLexiconRequest
            {
                Name = "example"
            });


            #endregion
        }
 private Amazon.Polly.Model.DeleteLexiconResponse CallAWSServiceOperation(IAmazonPolly client, Amazon.Polly.Model.DeleteLexiconRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Polly", "DeleteLexicon");
     try
     {
         #if DESKTOP
         return(client.DeleteLexicon(request));
         #elif CORECLR
         return(client.DeleteLexiconAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }