/// <summary> /// <para>Deletes the specified configuration template.</para> <para><b>NOTE:</b>When you launch an environment using a configuration template, /// the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running /// environment.</para> /// </summary> /// /// <param name="deleteConfigurationTemplateRequest">Container for the necessary parameters to execute the DeleteConfigurationTemplate service /// method on AmazonElasticBeanstalk.</param> /// public DeleteConfigurationTemplateResponse DeleteConfigurationTemplate(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest) { IRequest <DeleteConfigurationTemplateRequest> request = new DeleteConfigurationTemplateRequestMarshaller().Marshall(deleteConfigurationTemplateRequest); DeleteConfigurationTemplateResponse response = Invoke <DeleteConfigurationTemplateRequest, DeleteConfigurationTemplateResponse> (request, this.signer, DeleteConfigurationTemplateResponseUnmarshaller.GetInstance()); return(response); }
public void DeleteConfigurationTemplateMarshallTest() { var operation = service_model.FindOperation("DeleteConfigurationTemplate"); var request = InstantiateClassGenerator.Execute <DeleteConfigurationTemplateRequest>(); var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
IAsyncResult invokeDeleteConfigurationTemplate(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DeleteConfigurationTemplateRequestMarshaller().Marshall(deleteConfigurationTemplateRequest); var unmarshaller = DeleteConfigurationTemplateResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the DeleteConfigurationTemplate operation. /// <seealso cref="Amazon.ElasticBeanstalk.IAmazonElasticBeanstalk"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationTemplate 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<DeleteConfigurationTemplateResponse> DeleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var unmarshaller = DeleteConfigurationTemplateResponseUnmarshaller.Instance; return InvokeAsync<DeleteConfigurationTemplateRequest,DeleteConfigurationTemplateResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal DeleteConfigurationTemplateResponse DeleteConfigurationTemplate(DeleteConfigurationTemplateRequest request) { var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var unmarshaller = DeleteConfigurationTemplateResponseUnmarshaller.Instance; return Invoke<DeleteConfigurationTemplateRequest,DeleteConfigurationTemplateResponse>(request, marshaller, unmarshaller); }
/// <summary> /// <para>Deletes the specified configuration template.</para> <para><b>NOTE:</b>When you launch an environment using a configuration template, /// the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running /// environment.</para> /// </summary> /// /// <param name="deleteConfigurationTemplateRequest">Container for the necessary parameters to execute the DeleteConfigurationTemplate service /// method on AmazonElasticBeanstalk.</param> /// public DeleteConfigurationTemplateResponse DeleteConfigurationTemplate(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest) { IRequest<DeleteConfigurationTemplateRequest> request = new DeleteConfigurationTemplateRequestMarshaller().Marshall(deleteConfigurationTemplateRequest); DeleteConfigurationTemplateResponse response = Invoke<DeleteConfigurationTemplateRequest, DeleteConfigurationTemplateResponse> (request, this.signer, DeleteConfigurationTemplateResponseUnmarshaller.GetInstance()); return response; }
public void DeleteConfigurationTemplateMarshallTest() { var operation = service_model.FindOperation("DeleteConfigurationTemplate"); var request = InstantiateClassGenerator.Execute<DeleteConfigurationTemplateRequest>(); var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
/// <summary> /// <para>Deletes the specified configuration template.</para> <para><b>NOTE:</b>When you launch an environment using a configuration template, /// the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running /// environment.</para> /// </summary> /// /// <param name="deleteConfigurationTemplateRequest">Container for the necessary parameters to execute the DeleteConfigurationTemplate service /// method on AmazonElasticBeanstalk.</param> /// /// <exception cref="T:Amazon.ElasticBeanstalk.Model.OperationInProgressException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task<DeleteConfigurationTemplateResponse> DeleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var unmarshaller = DeleteConfigurationTemplateResponseUnmarshaller.GetInstance(); return Invoke<IRequest, DeleteConfigurationTemplateRequest, DeleteConfigurationTemplateResponse>(deleteConfigurationTemplateRequest, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Initiates the asynchronous execution of the DeleteConfigurationTemplate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationTemplate 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 EndDeleteConfigurationTemplate /// operation.</returns> public IAsyncResult BeginDeleteConfigurationTemplate(DeleteConfigurationTemplateRequest request, AsyncCallback callback, object state) { var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var unmarshaller = DeleteConfigurationTemplateResponseUnmarshaller.Instance; return BeginInvoke<DeleteConfigurationTemplateRequest>(request, marshaller, unmarshaller, callback, state); }
IAsyncResult invokeDeleteConfigurationTemplate(DeleteConfigurationTemplateRequest request, AsyncCallback callback, object state, bool synchronized) { var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var unmarshaller = DeleteConfigurationTemplateResponseUnmarshaller.Instance; return Invoke(request, callback, state, synchronized, marshaller, unmarshaller, signer); }
/// <summary> /// <para>Deletes the specified configuration template.</para> <para><b>NOTE:</b>When you launch an environment using a configuration template, /// the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running /// environment.</para> /// </summary> /// /// <param name="deleteConfigurationTemplateRequest">Container for the necessary parameters to execute the DeleteConfigurationTemplate service /// method on AmazonElasticBeanstalk.</param> /// /// <exception cref="T:Amazon.ElasticBeanstalk.Model.OperationInProgressException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public async Task<DeleteConfigurationTemplateResponse> DeleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteConfigurationTemplateRequestMarshaller(); var unmarshaller = DeleteConfigurationTemplateResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, DeleteConfigurationTemplateRequest, DeleteConfigurationTemplateResponse>(deleteConfigurationTemplateRequest, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }