/// <summary> /// <para> Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution /// stack defines. The description includes the values the options, their default values, and an indication of the required action on a running /// environment if an option value is changed. </para> /// </summary> /// /// <param name="describeConfigurationOptionsRequest">Container for the necessary parameters to execute the DescribeConfigurationOptions service /// method on AmazonElasticBeanstalk.</param> /// /// <returns>The response from the DescribeConfigurationOptions service method, as returned by AmazonElasticBeanstalk.</returns> /// public DescribeConfigurationOptionsResponse DescribeConfigurationOptions(DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest) { IRequest <DescribeConfigurationOptionsRequest> request = new DescribeConfigurationOptionsRequestMarshaller().Marshall(describeConfigurationOptionsRequest); DescribeConfigurationOptionsResponse response = Invoke <DescribeConfigurationOptionsRequest, DescribeConfigurationOptionsResponse> (request, this.signer, DescribeConfigurationOptionsResponseUnmarshaller.GetInstance()); return(response); }
public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems) { AmazonElasticBeanstalkConfig config = new AmazonElasticBeanstalkConfig(); config.RegionEndpoint = region; ConfigureClient(config); AmazonElasticBeanstalkClient client = new AmazonElasticBeanstalkClient(creds, config); DescribeConfigurationOptionsResponse resp = new DescribeConfigurationOptionsResponse(); DescribeConfigurationOptionsRequest req = new DescribeConfigurationOptionsRequest { }; resp = client.DescribeConfigurationOptions(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.Options) { AddObject(obj); } }