public Observable<RemovePermissionResult> removePermissionAsync(RemovePermissionRequest request) { return Observable.from(sqsClient.removePermissionAsync(request)); }
@Override public void removePermission(RemovePermissionRequest request) { removePermission(request, null); }
@Override public void removePermission(RemovePermissionRequest request, ResultCapture<Void> extractor) { resource.performAction("RemovePermission", request, extractor); }
@Override public void removePermission(String label, ResultCapture<Void> extractor) { RemovePermissionRequest request = new RemovePermissionRequest() .withLabel(label); removePermission(request, extractor); }
/** * <p> * Revokes any permissions in the queue policy that matches the specified * <code>Label</code> parameter. Only the owner of the queue can remove * permissions. * </p> * * @param removePermissionRequest * Container for the necessary parameters to execute the * RemovePermission service method on AmazonSQS. * * * * @throws AmazonClientException * If any internal errors are encountered inside the client * while attempting to make the request or handle the response. * For example if a network connection is not available. * @throws AmazonServiceException * If an error response is returned by AmazonSQS indicating * either a problem with the data in the request, or a server * side issue. */ public RemovePermissionResult removePermission(RemovePermissionRequest removePermissionRequest) throws AmazonServiceException, AmazonClientException { return amazonSqsToBeExtended.removePermission(removePermissionRequest); }
/** * Performs the <code>RemovePermission</code> action. * * <p> * The following request parameters will be populated from the data of this * <code>Queue</code> resource, and any conflicting parameter value set in * the request will be overridden: * <ul> * <li> * <b><code>QueueUrl</code></b> * - mapped from the <code>Url</code> identifier. * </li> * </ul> * * <p> * * @see RemovePermissionRequest */ void removePermission(RemovePermissionRequest request);
/** * Performs the <code>RemovePermission</code> action and use a ResultCapture * to retrieve the low-level client response. * * <p> * The following request parameters will be populated from the data of this * <code>Queue</code> resource, and any conflicting parameter value set in * the request will be overridden: * <ul> * <li> * <b><code>QueueUrl</code></b> * - mapped from the <code>Url</code> identifier. * </li> * </ul> * * <p> * * @see RemovePermissionRequest */ void removePermission(RemovePermissionRequest request, ResultCapture<Void> extractor);