public void ElasticFileSystemPutLifecycleConfiguration()
        {
            #region creates-a-new-lifecycleconfiguration-object-for-a-file-system-1551201594692

            var response = client.PutLifecycleConfiguration(new PutLifecycleConfigurationRequest
            {
                FileSystemId      = "fs-01234567",
                LifecyclePolicies = new List <LifecyclePolicy> {
                    new LifecyclePolicy {
                        TransitionToIA = "AFTER_30_DAYS"
                    }
                }
            });

            List <LifecyclePolicy> lifecyclePolicies = response.LifecyclePolicies;

            #endregion
        }
 private Amazon.ElasticFileSystem.Model.PutLifecycleConfigurationResponse CallAWSServiceOperation(IAmazonElasticFileSystem client, Amazon.ElasticFileSystem.Model.PutLifecycleConfigurationRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Elastic File System", "PutLifecycleConfiguration");
     try
     {
         #if DESKTOP
         return(client.PutLifecycleConfiguration(request));
         #elif CORECLR
         return(client.PutLifecycleConfigurationAsync(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;
     }
 }