Java 类com.amazonaws.services.sqs.model.RemovePermissionRequest 实例源码

项目:reactive-sqs-client    文件:ReactiveSqsClient.java   
public Observable<RemovePermissionResult> removePermissionAsync(RemovePermissionRequest request) {
    return Observable.from(sqsClient.removePermissionAsync(request));
}
项目:aws-sdk-java-resources    文件:QueueImpl.java   
@Override
public void removePermission(RemovePermissionRequest request) {
    removePermission(request, null);
}
项目:aws-sdk-java-resources    文件:QueueImpl.java   
@Override
public void removePermission(RemovePermissionRequest request,
        ResultCapture<Void> extractor) {

    resource.performAction("RemovePermission", request, extractor);
}
项目:aws-sdk-java-resources    文件:QueueImpl.java   
@Override
public void removePermission(String label, ResultCapture<Void> extractor) {
    RemovePermissionRequest request = new RemovePermissionRequest()
        .withLabel(label);
    removePermission(request, extractor);
}
项目:amazon-sqs-java-extended-client-lib    文件:AmazonSQSExtendedClientBase.java   
/**
 * <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);
}
项目:aws-sdk-java-resources    文件:Queue.java   
/**
 * 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);
项目:aws-sdk-java-resources    文件:Queue.java   
/**
 * 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);