/// <summary> /// <para> Returns a description of the settings for the specified configuration set, that is, either a configuration template or the /// configuration set associated with a running environment. </para> <para> When describing the settings for the configuration set associated /// with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other /// is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. </para> <para>Related /// Topics</para> /// <ul> /// <li> DeleteEnvironmentConfiguration </li> /// /// </ul> /// </summary> /// /// <param name="describeConfigurationSettingsRequest">Container for the necessary parameters to execute the DescribeConfigurationSettings /// service method on AmazonElasticBeanstalk.</param> /// /// <returns>The response from the DescribeConfigurationSettings service method, as returned by AmazonElasticBeanstalk.</returns> /// public DescribeConfigurationSettingsResponse DescribeConfigurationSettings(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest) { IRequest <DescribeConfigurationSettingsRequest> request = new DescribeConfigurationSettingsRequestMarshaller().Marshall(describeConfigurationSettingsRequest); DescribeConfigurationSettingsResponse response = Invoke <DescribeConfigurationSettingsRequest, DescribeConfigurationSettingsResponse> (request, this.signer, DescribeConfigurationSettingsResponseUnmarshaller.GetInstance()); return(response); }
public void DescribeConfigurationSettingsMarshallTest() { var operation = service_model.FindOperation("DescribeConfigurationSettings"); var request = InstantiateClassGenerator.Execute <DescribeConfigurationSettingsRequest>(); var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = DescribeConfigurationSettingsResponseUnmarshaller.Instance.Unmarshall(context) as DescribeConfigurationSettingsResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
IAsyncResult invokeDescribeConfigurationSettings(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DescribeConfigurationSettingsRequestMarshaller().Marshall(describeConfigurationSettingsRequest); var unmarshaller = DescribeConfigurationSettingsResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the DescribeConfigurationSettings operation. /// <seealso cref="Amazon.ElasticBeanstalk.IAmazonElasticBeanstalk"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeConfigurationSettings operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task<DescribeConfigurationSettingsResponse> DescribeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var unmarshaller = DescribeConfigurationSettingsResponseUnmarshaller.Instance; return InvokeAsync<DescribeConfigurationSettingsRequest,DescribeConfigurationSettingsResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal DescribeConfigurationSettingsResponse DescribeConfigurationSettings(DescribeConfigurationSettingsRequest request) { var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var unmarshaller = DescribeConfigurationSettingsResponseUnmarshaller.Instance; return Invoke<DescribeConfigurationSettingsRequest,DescribeConfigurationSettingsResponse>(request, marshaller, unmarshaller); }
/// <summary> /// <para> Returns a description of the settings for the specified configuration set, that is, either a configuration template or the /// configuration set associated with a running environment. </para> <para> When describing the settings for the configuration set associated /// with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other /// is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. </para> <para>Related /// Topics</para> /// <ul> /// <li> DeleteEnvironmentConfiguration </li> /// /// </ul> /// </summary> /// /// <param name="describeConfigurationSettingsRequest">Container for the necessary parameters to execute the DescribeConfigurationSettings /// service method on AmazonElasticBeanstalk.</param> /// /// <returns>The response from the DescribeConfigurationSettings service method, as returned by AmazonElasticBeanstalk.</returns> /// public DescribeConfigurationSettingsResponse DescribeConfigurationSettings(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest) { IRequest<DescribeConfigurationSettingsRequest> request = new DescribeConfigurationSettingsRequestMarshaller().Marshall(describeConfigurationSettingsRequest); DescribeConfigurationSettingsResponse response = Invoke<DescribeConfigurationSettingsRequest, DescribeConfigurationSettingsResponse> (request, this.signer, DescribeConfigurationSettingsResponseUnmarshaller.GetInstance()); return response; }
public void DescribeConfigurationSettingsMarshallTest() { var operation = service_model.FindOperation("DescribeConfigurationSettings"); var request = InstantiateClassGenerator.Execute<DescribeConfigurationSettingsRequest>(); var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = DescribeConfigurationSettingsResponseUnmarshaller.Instance.Unmarshall(context) as DescribeConfigurationSettingsResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// <para> Returns a description of the settings for the specified configuration set, that is, either a configuration template or the /// configuration set associated with a running environment. </para> <para> When describing the settings for the configuration set associated /// with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other /// is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. </para> <para>Related /// Topics</para> /// <ul> /// <li> DeleteEnvironmentConfiguration </li> /// /// </ul> /// </summary> /// /// <param name="describeConfigurationSettingsRequest">Container for the necessary parameters to execute the DescribeConfigurationSettings /// service method on AmazonElasticBeanstalk.</param> /// /// <returns>The response from the DescribeConfigurationSettings service method, as returned by AmazonElasticBeanstalk.</returns> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task<DescribeConfigurationSettingsResponse> DescribeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var unmarshaller = DescribeConfigurationSettingsResponseUnmarshaller.GetInstance(); return Invoke<IRequest, DescribeConfigurationSettingsRequest, DescribeConfigurationSettingsResponse>(describeConfigurationSettingsRequest, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Initiates the asynchronous execution of the DescribeConfigurationSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeConfigurationSettings operation on AmazonElasticBeanstalkClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeConfigurationSettings /// operation.</returns> public IAsyncResult BeginDescribeConfigurationSettings(DescribeConfigurationSettingsRequest request, AsyncCallback callback, object state) { var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var unmarshaller = DescribeConfigurationSettingsResponseUnmarshaller.Instance; return BeginInvoke<DescribeConfigurationSettingsRequest>(request, marshaller, unmarshaller, callback, state); }
IAsyncResult invokeDescribeConfigurationSettings(DescribeConfigurationSettingsRequest request, AsyncCallback callback, object state, bool synchronized) { var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var unmarshaller = DescribeConfigurationSettingsResponseUnmarshaller.Instance; return Invoke(request, callback, state, synchronized, marshaller, unmarshaller, signer); }
/// <summary> /// <para> Returns a description of the settings for the specified configuration set, that is, either a configuration template or the /// configuration set associated with a running environment. </para> <para> When describing the settings for the configuration set associated /// with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other /// is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. </para> <para>Related /// Topics</para> /// <ul> /// <li> DeleteEnvironmentConfiguration </li> /// /// </ul> /// </summary> /// /// <param name="describeConfigurationSettingsRequest">Container for the necessary parameters to execute the DescribeConfigurationSettings /// service method on AmazonElasticBeanstalk.</param> /// /// <returns>The response from the DescribeConfigurationSettings service method, as returned by AmazonElasticBeanstalk.</returns> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public async Task<DescribeConfigurationSettingsResponse> DescribeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeConfigurationSettingsRequestMarshaller(); var unmarshaller = DescribeConfigurationSettingsResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, DescribeConfigurationSettingsRequest, DescribeConfigurationSettingsResponse>(describeConfigurationSettingsRequest, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }