public void AutoScalingDeleteLifecycleHook()
        {
            #region autoscaling-delete-lifecycle-hook-1

            var response = client.DeleteLifecycleHook(new DeleteLifecycleHookRequest
            {
                AutoScalingGroupName = "my-auto-scaling-group",
                LifecycleHookName    = "my-lifecycle-hook"
            });


            #endregion
        }
 private Amazon.AutoScaling.Model.DeleteLifecycleHookResponse CallAWSServiceOperation(IAmazonAutoScaling client, Amazon.AutoScaling.Model.DeleteLifecycleHookRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Auto Scaling", "DeleteLifecycleHook");
     try
     {
         #if DESKTOP
         return(client.DeleteLifecycleHook(request));
         #elif CORECLR
         return(client.DeleteLifecycleHookAsync(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;
     }
 }