/// <summary> /// <para>Deletes the specified email address from the list of verified /// addresses.</para> /// </summary> /// /// <param name="deleteVerifiedEmailAddressRequest">Container for the /// necessary parameters to execute the DeleteVerifiedEmailAddress service /// method on AmazonSimpleEmailService.</param> /// public DeleteVerifiedEmailAddressResponse DeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest) { IRequest <DeleteVerifiedEmailAddressRequest> request = new DeleteVerifiedEmailAddressRequestMarshaller().Marshall(deleteVerifiedEmailAddressRequest); DeleteVerifiedEmailAddressResponse response = Invoke <DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse> (request, this.signer, DeleteVerifiedEmailAddressResponseUnmarshaller.GetInstance()); return(response); }
/// <summary> /// <para>Deletes the specified email address from the list of verified addresses.</para> <para><b>IMPORTANT:</b>The DeleteVerifiedEmailAddress /// action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.</para> <para>This /// action is throttled at one request per second.</para> /// </summary> /// /// <param name="deleteVerifiedEmailAddressRequest">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress service /// method on AmazonSimpleEmailService.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task <DeleteVerifiedEmailAddressResponse> DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.GetInstance(); return(Invoke <IRequest, DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse>(deleteVerifiedEmailAddressRequest, marshaller, unmarshaller, signer, cancellationToken)); }
internal DeleteVerifiedEmailAddressResponse DeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest request) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return(Invoke <DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress 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 <DeleteVerifiedEmailAddressResponse> DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return(InvokeAsync <DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse>(request, marshaller, unmarshaller, cancellationToken)); }
IAsyncResult invokeDeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DeleteVerifiedEmailAddressRequestMarshaller().Marshall(deleteVerifiedEmailAddressRequest); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return(result); }
public void DeleteVerifiedEmailAddressMarshallTest() { var operation = service_model.FindOperation("DeleteVerifiedEmailAddress"); var request = InstantiateClassGenerator.Execute <DeleteVerifiedEmailAddressRequest>(); var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
public void DeleteVerifiedEmailAddressMarshallTest() { var operation = service_model.FindOperation("DeleteVerifiedEmailAddress"); var request = InstantiateClassGenerator.Execute<DeleteVerifiedEmailAddressRequest>(); var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation. /// <seealso cref="Amazon.SimpleEmail.IAmazonSimpleEmailService.DeleteVerifiedEmailAddress"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress 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<DeleteVerifiedEmailAddressResponse> DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.GetInstance(); return Invoke<IRequest, DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse>(request, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Deletes the specified email address from the list of verified addresses. /// /// <important> /// <para> /// The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release /// of Domain Verification. The DeleteIdentity action is now preferred. /// </para> /// </important> /// <para> /// This action is throttled at one request per second. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress service method.</param> /// /// <returns>The response from the DeleteVerifiedEmailAddress service method, as returned by SimpleEmailService.</returns> public DeleteVerifiedEmailAddressResponse DeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest request) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return Invoke<DeleteVerifiedEmailAddressRequest,DeleteVerifiedEmailAddressResponse>(request, marshaller, unmarshaller); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress 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<DeleteVerifiedEmailAddressResponse> DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return InvokeAsync<DeleteVerifiedEmailAddressRequest,DeleteVerifiedEmailAddressResponse>(request, marshaller, unmarshaller, cancellationToken); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress operation on AmazonSimpleEmailServiceClient.</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 EndDeleteVerifiedEmailAddress /// operation.</returns> public IAsyncResult BeginDeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest request, AsyncCallback callback, object state) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return BeginInvoke<DeleteVerifiedEmailAddressRequest>(request, marshaller, unmarshaller, callback, state); }
IAsyncResult invokeDeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DeleteVerifiedEmailAddressRequestMarshaller().Marshall(deleteVerifiedEmailAddressRequest); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
IAsyncResult invokeDeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest request, AsyncCallback callback, object state, bool synchronized) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; return Invoke(request, callback, state, synchronized, marshaller, unmarshaller, signer); }
/// <summary> /// Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation. /// <seealso cref="Amazon.SimpleEmail.IAmazonSimpleEmailService.DeleteVerifiedEmailAddress"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress 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<DeleteVerifiedEmailAddressResponse> DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse>(request, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }
/// <summary> /// <para>Deletes the specified email address from the list of verified /// addresses.</para> /// </summary> /// /// <param name="deleteVerifiedEmailAddressRequest">Container for the /// necessary parameters to execute the DeleteVerifiedEmailAddress service /// method on AmazonSimpleEmailService.</param> /// public DeleteVerifiedEmailAddressResponse DeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest) { IRequest<DeleteVerifiedEmailAddressRequest> request = new DeleteVerifiedEmailAddressRequestMarshaller().Marshall(deleteVerifiedEmailAddressRequest); DeleteVerifiedEmailAddressResponse response = Invoke<DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse> (request, this.signer, DeleteVerifiedEmailAddressResponseUnmarshaller.GetInstance()); return response; }
/// <summary> /// Initiates the asynchronous execution of the DeleteVerifiedEmailAddress operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVerifiedEmailAddress operation on AmazonSimpleEmailServiceClient.</param> /// <param name="callback">An Action delegate that is invoked when the operation completes.</param> /// <param name="options">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> public void DeleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, AmazonServiceCallback<DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResponse> callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var marshaller = new DeleteVerifiedEmailAddressRequestMarshaller(); var unmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance; Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult<DeleteVerifiedEmailAddressRequest,DeleteVerifiedEmailAddressResponse> responseObject = new AmazonServiceResult<DeleteVerifiedEmailAddressRequest,DeleteVerifiedEmailAddressResponse>((DeleteVerifiedEmailAddressRequest)req, (DeleteVerifiedEmailAddressResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke<DeleteVerifiedEmailAddressRequest>(request, marshaller, unmarshaller, options, callbackHelper); }