internal RevokeGrantResponse RevokeGrant(RevokeGrantRequest request) { var marshaller = new RevokeGrantRequestMarshaller(); var unmarshaller = RevokeGrantResponseUnmarshaller.Instance; return(Invoke <RevokeGrantRequest, RevokeGrantResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the RevokeGrant operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RevokeGrant 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 <RevokeGrantResponse> RevokeGrantAsync(RevokeGrantRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new RevokeGrantRequestMarshaller(); var unmarshaller = RevokeGrantResponseUnmarshaller.Instance; return(InvokeAsync <RevokeGrantRequest, RevokeGrantResponse>(request, marshaller, unmarshaller, cancellationToken)); }