/// <summary> /// <para>Permanently deletes a search domain and all of its data.</para> /// </summary> /// /// <param name="deleteDomainRequest">Container for the necessary parameters to execute the DeleteDomain service method on /// AmazonCloudSearch.</param> /// /// <returns>The response from the DeleteDomain service method, as returned by AmazonCloudSearch.</returns> /// /// <exception cref="T:Amazon.CloudSearch.Model.BaseException" /> /// <exception cref="T:Amazon.CloudSearch.Model.InternalException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task <DeleteDomainResponse> DeleteDomainAsync(DeleteDomainRequest deleteDomainRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteDomainRequestMarshaller(); var unmarshaller = DeleteDomainResponseUnmarshaller.GetInstance(); return(Invoke <IRequest, DeleteDomainRequest, DeleteDomainResponse>(deleteDomainRequest, marshaller, unmarshaller, signer, cancellationToken)); }
public override DeleteDomainResponse GetResponse(UnmarshallerContext unmarshallerContext) { return(DeleteDomainResponseUnmarshaller.Unmarshall(unmarshallerContext)); }