public void AutoScalingDescribeAutoScalingNotificationTypes()
        {
            #region autoscaling-describe-auto-scaling-notification-types-1

            var response = client.DescribeAutoScalingNotificationTypes(new DescribeAutoScalingNotificationTypesRequest
            {
            });

            List <string> autoScalingNotificationTypes = response.AutoScalingNotificationTypes;

            #endregion
        }
Example #2
0
 private Amazon.AutoScaling.Model.DescribeAutoScalingNotificationTypesResponse CallAWSServiceOperation(IAmazonAutoScaling client, Amazon.AutoScaling.Model.DescribeAutoScalingNotificationTypesRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Auto Scaling", "DescribeAutoScalingNotificationTypes");
     try
     {
         #if DESKTOP
         return(client.DescribeAutoScalingNotificationTypes(request));
         #elif CORECLR
         return(client.DescribeAutoScalingNotificationTypesAsync(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;
     }
 }