com.amazonaws.services.sqs.model.RemovePermissionRequest Java Examples
The following examples show how to use
com.amazonaws.services.sqs.model.RemovePermissionRequest.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractAmazonSQSClientWrapper.java From amazon-sqs-java-temporary-queues-client with Apache License 2.0 | 4 votes |
@Override public RemovePermissionResult removePermission(RemovePermissionRequest request) { request.getRequestClientOptions().appendUserAgent(userAgent); return amazonSqsToBeExtended.removePermission(request); }
Example #2
Source File: AbstractAmazonSQSClientWrapperTest.java From amazon-sqs-java-temporary-queues-client with Apache License 2.0 | 4 votes |
@Test public void removePermission() { assertWrappedMethod(AmazonSQS::removePermission, new RemovePermissionRequest()); }
Example #3
Source File: QueueImpl.java From aws-sdk-java-resources with Apache License 2.0 | 4 votes |
@Override public void removePermission(RemovePermissionRequest request) { removePermission(request, null); }
Example #4
Source File: QueueImpl.java From aws-sdk-java-resources with Apache License 2.0 | 4 votes |
@Override public void removePermission(RemovePermissionRequest request, ResultCapture<Void> extractor) { resource.performAction("RemovePermission", request, extractor); }
Example #5
Source File: QueueImpl.java From aws-sdk-java-resources with Apache License 2.0 | 4 votes |
@Override public void removePermission(String label, ResultCapture<Void> extractor) { RemovePermissionRequest request = new RemovePermissionRequest() .withLabel(label); removePermission(request, extractor); }
Example #6
Source File: AmazonSQSExtendedClientBase.java From amazon-sqs-java-extended-client-lib with Apache License 2.0 | 2 votes |
/** * <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); }
Example #7
Source File: Queue.java From aws-sdk-java-resources with Apache License 2.0 | 2 votes |
/** * 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);
Example #8
Source File: Queue.java From aws-sdk-java-resources with Apache License 2.0 | 2 votes |
/** * 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);