internal virtual RevokePermissionsResponse RevokePermissions(RevokePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RevokePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokePermissionsResponseUnmarshaller.Instance; return(Invoke <RevokePermissionsResponse>(request, options)); }
/// <summary> /// Revokes permissions to the principal to access metadata in the Data Catalog and data /// organized in underlying data storage such as Amazon S3. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RevokePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RevokePermissions service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions">REST API Reference for RevokePermissions Operation</seealso> public virtual Task <RevokePermissionsResponse> RevokePermissionsAsync(RevokePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RevokePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokePermissionsResponseUnmarshaller.Instance; return(InvokeAsync <RevokePermissionsResponse>(request, options, cancellationToken)); }
public Task RevokePermissions(RevokePermissionsRequest request, CancellationToken cancellationToken = new CancellationToken()) { throw new System.NotImplementedException(); }
public Task RevokePermissions(RevokePermissionsRequest request, CancellationToken cancellationToken = default) { return(_restHttpClient.PostAsJson("permissions/revoke", request, cancellationToken)); }