Example #1
0
        public void ElasticFileSystemDeleteTags()
        {
            #region to-delete-tags-for-an-efs-file-system-1481848189061

            var response = client.DeleteTags(new DeleteTagsRequest
            {
                FileSystemId = "fs-01234567",
                TagKeys      = new List <string> {
                    "Name"
                }
            });


            #endregion
        }
Example #2
0
 private Amazon.ElasticFileSystem.Model.DeleteTagsResponse CallAWSServiceOperation(IAmazonElasticFileSystem client, Amazon.ElasticFileSystem.Model.DeleteTagsRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Elastic File System", "DeleteTags");
     try
     {
         #if DESKTOP
         return(client.DeleteTags(request));
         #elif CORECLR
         return(client.DeleteTagsAsync(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;
     }
 }