public void ElasticBeanstalkDescribeConfigurationOptions()
        {
            #region to-view-configuration-options-for-an-environment-1456276763917

            var response = client.DescribeConfigurationOptions(new DescribeConfigurationOptionsRequest
            {
                ApplicationName = "my-app",
                EnvironmentName = "my-env"
            });

            List <ConfigurationOptionDescription> options = response.Options;

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