/// <summary> /// <para> Deletes the draft configuration associated with the running environment. </para> <para> Updating a running environment with any /// configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the /// update is in progress or if the update fails. The <c>DeploymentStatus</c> for the draft configuration indicates whether the deployment is in /// process or has failed. The draft configuration remains in existence until it is deleted with this action. </para> /// </summary> /// /// <param name="deleteEnvironmentConfigurationRequest">Container for the necessary parameters to execute the DeleteEnvironmentConfiguration /// service method on AmazonElasticBeanstalk.</param> /// public DeleteEnvironmentConfigurationResponse DeleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest) { IRequest <DeleteEnvironmentConfigurationRequest> request = new DeleteEnvironmentConfigurationRequestMarshaller().Marshall(deleteEnvironmentConfigurationRequest); DeleteEnvironmentConfigurationResponse response = Invoke <DeleteEnvironmentConfigurationRequest, DeleteEnvironmentConfigurationResponse> (request, this.signer, DeleteEnvironmentConfigurationResponseUnmarshaller.GetInstance()); return(response); }
public void DeleteEnvironmentConfigurationMarshallTest() { var operation = service_model.FindOperation("DeleteEnvironmentConfiguration"); var request = InstantiateClassGenerator.Execute <DeleteEnvironmentConfigurationRequest>(); var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
IAsyncResult invokeDeleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DeleteEnvironmentConfigurationRequestMarshaller().Marshall(deleteEnvironmentConfigurationRequest); var unmarshaller = DeleteEnvironmentConfigurationResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the DeleteEnvironmentConfiguration operation. /// <seealso cref="Amazon.ElasticBeanstalk.IAmazonElasticBeanstalk"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironmentConfiguration 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<DeleteEnvironmentConfigurationResponse> DeleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var unmarshaller = DeleteEnvironmentConfigurationResponseUnmarshaller.Instance; return InvokeAsync<DeleteEnvironmentConfigurationRequest,DeleteEnvironmentConfigurationResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal DeleteEnvironmentConfigurationResponse DeleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest request) { var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var unmarshaller = DeleteEnvironmentConfigurationResponseUnmarshaller.Instance; return Invoke<DeleteEnvironmentConfigurationRequest,DeleteEnvironmentConfigurationResponse>(request, marshaller, unmarshaller); }
/// <summary> /// <para> Deletes the draft configuration associated with the running environment. </para> <para> Updating a running environment with any /// configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the /// update is in progress or if the update fails. The <c>DeploymentStatus</c> for the draft configuration indicates whether the deployment is in /// process or has failed. The draft configuration remains in existence until it is deleted with this action. </para> /// </summary> /// /// <param name="deleteEnvironmentConfigurationRequest">Container for the necessary parameters to execute the DeleteEnvironmentConfiguration /// service method on AmazonElasticBeanstalk.</param> /// public DeleteEnvironmentConfigurationResponse DeleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest) { IRequest<DeleteEnvironmentConfigurationRequest> request = new DeleteEnvironmentConfigurationRequestMarshaller().Marshall(deleteEnvironmentConfigurationRequest); DeleteEnvironmentConfigurationResponse response = Invoke<DeleteEnvironmentConfigurationRequest, DeleteEnvironmentConfigurationResponse> (request, this.signer, DeleteEnvironmentConfigurationResponseUnmarshaller.GetInstance()); return response; }
public void DeleteEnvironmentConfigurationMarshallTest() { var operation = service_model.FindOperation("DeleteEnvironmentConfiguration"); var request = InstantiateClassGenerator.Execute<DeleteEnvironmentConfigurationRequest>(); var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
/// <summary> /// <para> Deletes the draft configuration associated with the running environment. </para> <para> Updating a running environment with any /// configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the /// update is in progress or if the update fails. The <c>DeploymentStatus</c> for the draft configuration indicates whether the deployment is in /// process or has failed. The draft configuration remains in existence until it is deleted with this action. </para> /// </summary> /// /// <param name="deleteEnvironmentConfigurationRequest">Container for the necessary parameters to execute the DeleteEnvironmentConfiguration /// service method on AmazonElasticBeanstalk.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task<DeleteEnvironmentConfigurationResponse> DeleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var unmarshaller = DeleteEnvironmentConfigurationResponseUnmarshaller.GetInstance(); return Invoke<IRequest, DeleteEnvironmentConfigurationRequest, DeleteEnvironmentConfigurationResponse>(deleteEnvironmentConfigurationRequest, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Initiates the asynchronous execution of the DeleteEnvironmentConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironmentConfiguration 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 EndDeleteEnvironmentConfiguration /// operation.</returns> public IAsyncResult BeginDeleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest request, AsyncCallback callback, object state) { var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var unmarshaller = DeleteEnvironmentConfigurationResponseUnmarshaller.Instance; return BeginInvoke<DeleteEnvironmentConfigurationRequest>(request, marshaller, unmarshaller, callback, state); }
IAsyncResult invokeDeleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest request, AsyncCallback callback, object state, bool synchronized) { var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var unmarshaller = DeleteEnvironmentConfigurationResponseUnmarshaller.Instance; return Invoke(request, callback, state, synchronized, marshaller, unmarshaller, signer); }
/// <summary> /// <para> Deletes the draft configuration associated with the running environment. </para> <para> Updating a running environment with any /// configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the /// update is in progress or if the update fails. The <c>DeploymentStatus</c> for the draft configuration indicates whether the deployment is in /// process or has failed. The draft configuration remains in existence until it is deleted with this action. </para> /// </summary> /// /// <param name="deleteEnvironmentConfigurationRequest">Container for the necessary parameters to execute the DeleteEnvironmentConfiguration /// service method on AmazonElasticBeanstalk.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public async Task<DeleteEnvironmentConfigurationResponse> DeleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteEnvironmentConfigurationRequestMarshaller(); var unmarshaller = DeleteEnvironmentConfigurationResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, DeleteEnvironmentConfigurationRequest, DeleteEnvironmentConfigurationResponse>(deleteEnvironmentConfigurationRequest, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }