public void ElasticBeanstalkDescribeApplications()
        {
            #region to-view-a-list-of-applications-1456270027373

            var response = client.DescribeApplications(new DescribeApplicationsRequest
            {
            });

            List <ApplicationDescription> applications = response.Applications;

            #endregion
        }
Exemplo n.º 2
0
 private Amazon.ElasticBeanstalk.Model.DescribeApplicationsResponse CallAWSServiceOperation(IAmazonElasticBeanstalk client, Amazon.ElasticBeanstalk.Model.DescribeApplicationsRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Elastic Beanstalk", "DescribeApplications");
     try
     {
         #if DESKTOP
         return(client.DescribeApplications(request));
         #elif CORECLR
         return(client.DescribeApplicationsAsync(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;
     }
 }