internal DeleteVaultResponse DeleteVault(DeleteVaultRequest request) { var marshaller = new DeleteVaultRequestMarshaller(); var unmarshaller = DeleteVaultResponseUnmarshaller.Instance; return(Invoke <DeleteVaultRequest, DeleteVaultResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVault operation. /// <seealso cref="Amazon.Glacier.IAmazonGlacier"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVault 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 <DeleteVaultResponse> DeleteVaultAsync(DeleteVaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVaultRequestMarshaller(); var unmarshaller = DeleteVaultResponseUnmarshaller.Instance; return(InvokeAsync <DeleteVaultRequest, DeleteVaultResponse>(request, marshaller, unmarshaller, cancellationToken)); }
public void DeleteVaultMarshallTest() { var operation = service_model.FindOperation("DeleteVault"); var request = InstantiateClassGenerator.Execute <DeleteVaultRequest>(); var marshaller = new DeleteVaultRequestMarshaller(); var internalRequest = marshaller.Marshall(request); RequestValidator.Validate("DeleteVault", request, internalRequest, service_model); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVault operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVault 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<DeleteVaultResponse> DeleteVaultAsync(DeleteVaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVaultRequestMarshaller(); var unmarshaller = DeleteVaultResponseUnmarshaller.Instance; return InvokeAsync<DeleteVaultRequest,DeleteVaultResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal DeleteVaultResponse DeleteVault(DeleteVaultRequest request) { var marshaller = new DeleteVaultRequestMarshaller(); var unmarshaller = DeleteVaultResponseUnmarshaller.Instance; return Invoke<DeleteVaultRequest,DeleteVaultResponse>(request, marshaller, unmarshaller); }
public void DeleteVaultMarshallTest() { var operation = service_model.FindOperation("DeleteVault"); var request = InstantiateClassGenerator.Execute<DeleteVaultRequest>(); var marshaller = new DeleteVaultRequestMarshaller(); var internalRequest = marshaller.Marshall(request); RequestValidator.Validate("DeleteVault", request, internalRequest, service_model); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVault operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVault operation on AmazonGlacierClient.</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 EndDeleteVault /// operation.</returns> public IAsyncResult BeginDeleteVault(DeleteVaultRequest request, AsyncCallback callback, object state) { var marshaller = new DeleteVaultRequestMarshaller(); var unmarshaller = DeleteVaultResponseUnmarshaller.Instance; return BeginInvoke<DeleteVaultRequest>(request, marshaller, unmarshaller, callback, state); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVault operation. /// <seealso cref="Amazon.Glacier.IAmazonGlacier.DeleteVault"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVault 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<DeleteVaultResponse> DeleteVaultAsync(DeleteVaultRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVaultRequestMarshaller(); var unmarshaller = DeleteVaultResponseUnmarshaller.GetInstance(); return Invoke<IRequest, DeleteVaultRequest, DeleteVaultResponse>(request, marshaller, unmarshaller, signer, cancellationToken); }
IAsyncResult invokeDeleteVault(DeleteVaultRequest deleteVaultRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DeleteVaultRequestMarshaller().Marshall(deleteVaultRequest); var unmarshaller = DeleteVaultResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the DeleteVault operation. /// <seealso cref="Amazon.Glacier.IAmazonGlacier.DeleteVault"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVault 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 async Task<DeleteVaultResponse> DeleteVaultAsync(DeleteVaultRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVaultRequestMarshaller(); var unmarshaller = DeleteVaultResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, DeleteVaultRequest, DeleteVaultResponse>(request, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }